MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guide de l'utilisateur Page 552

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 986
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 551
12 Classes – Alphabetical List
12-58
A session-unique ID is generated as part of document element creation. You can specify
an ID to replace the generated ID.
StreamName — Numbering stream name
string
Numbering stream name, specified as a string.
Tag — Tag for document element
string
Tag for document element, specified as a string.
A session-unique ID is generated as part of document element creation. The generated
tag has the form CLASS:ID, where CLASS is the class of the element and ID is the value
of the Id property of the object. You can specify a tag to replace the generated tag.
Specify your own tag value, for example, to make it easier to identify where an issue
occurred during document generation.
Examples
Reset Numbering for Chapters and Tables
import mlreportgen.dom.*;
doctype = 'html';
d = Document('test',doctype);
p = Paragraph('Chapter ');
p.Style = {CounterInc('chapter'),CounterReset('table'),...
WhiteSpace('preserve') };
append(p,AutoNumber('chapter'));
append(d,p);
p = Paragraph('Table ');
append(p,AutoNumber('chapter'));
append(p,'.');
append(p,AutoNumber('table'));
p.Style = {CounterInc('table'),WhiteSpace('preserve') };
append(d,p);
p = Paragraph('Chapter ');
Vue de la page 551
1 2 ... 547 548 549 550 551 552 553 554 555 556 557 ... 985 986

Commentaires sur ces manuels

Pas de commentaire