MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Guida Utente Pagina 846

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 986
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 845
12 Classes – Alphabetical List
12-352
String specifying the white space type.
String Description
'preserve' Preserves white space and line breaks.
This is the only option that works in Microsoft Word and in
the MATLAB browser.
'normal' Sequences of white spaces collapse into a single white space.
Text wraps when necessary.
This is default.
'nowrap' Sequences of white spaces collapse into a single white space.
Text does not wrap to the next line. The text continues on the
same line until a <br /> tag is encountered.
'pre' White space is preserved by the browser. Text wraps only on
line breaks. Acts like the <pre> tag in HTML.
'pre-line' Sequences of white spaces collapses into a single white space.
Text wraps when necessary and on line breaks.
'pre-wrap' White space is preserved by the browser. Text wraps when
necessary and on line breaks.
Examples
Include White Space Between Titles
import mlreportgen.dom.*;
doctype = 'html';
d = Document('test',doctype);
p = Paragraph('Chapter ');
p.Style = { CounterInc('chapter'),WhiteSpace('preserve') };
append(p, AutoNumber('chapter'));
append(d, p);
p = Paragraph('Chapter ');
p.Style = { CounterInc('chapter'),WhiteSpace('preserve') };
append(p,AutoNumber('chapter'));
append(d,p);
Vedere la pagina 845
1 2 ... 841 842 843 844 845 846 847 848 849 850 851 ... 985 986

Commenti su questo manuale

Nessun commento