MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guida Utente Pagina 505

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 986
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 504
mlreportgen.dom.AutoNumber class
12-11
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 ');
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);
close(d);
rptview('test',doctype);
“Automatically Number Document Content”
See Also
mlreportgen.dom.CounterInc | mlreportgen.dom.CounterReset
| mlreportgen.dom.Document.createAutoNumberStream |
mlreportgen.dom.Document.getAutoNumberStream
Vedere la pagina 504
1 2 ... 500 501 502 503 504 505 506 507 508 509 510 ... 985 986

Commenti su questo manuale

Nessun commento