User`s guide

12 Classes – Alphabetical List
12-350
mlreportgen.dom.WhiteSpace class
Package: mlreportgen.dom
White space type
Description
Preserves white space and line breaks in text.
Construction
ws = WhiteSpace() collapses white space.
ws = WhiteSpace(option) applies the specified white space option to white space in a
Text object.
Input Arguments
option — White space type
string
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.