User`s guide

mlreportgen.dom.Paragraph class
12-243
To specify how to handle white space, use one of the following strings.
Border String Description Supported Output Types
normal Does not preserve white
space and line breaks
Word and HTML
nowrap Sequences of white space
collapse into a single white
space. Text never wraps to
the next line.
HTML
preserve Preserves white space. Text
wraps only on line breaks.
Acts like the <pre> tag in
HTML.
Word and HTML
See below for details.
pre Preserves white space. Text
wraps only on line breaks.
Acts like the <pre> tag in
HTML.
HTML
pre-line Sequences of white space
collapse into a single white
space. Text wraps.
HTML
pre-wrap Preserves white space. Text
wraps when necessary and
on line breaks
HTML
If you want to view HTML output in the MATLAB browser and you want to preserve
white space and wrap text only on line breaks, use the preserve setting rather than the
pre setting.
Setting the WhiteSpace property adds a corresponding WhiteSpace format object to
Style property. Removing the WhiteSpace property setting removes the WhiteSpace
object.
Methods
Method Purpose
append Append text, images, links, link targets, or
custom elements to paragraph.