User`s guide

12 Classes – Alphabetical List
12-354
mlreportgen.dom.WidowOrphanControl class
Package: mlreportgen.dom
Widow and orphan handling
Description
Specifies whether to prevent widows and orphans. This format applies only to Microsoft
Word documents.
Construction
widowOrphanControlObj = WidowOrphanControl() prevents a page break after the
first line of a paragraph (orphan) or before the last line of a paragraph (widow).
widowOrphanControlObj = WidowOrphanControl(tf) prevents orphans and
widows if tf is true.
Input Arguments
tf — Controls orphans and widows
true (default) | false | 1 | 0
A setting of true (or 1) prevents a page break after the first line of a paragraph (orphan)
or before the last line of a paragraph (widow). A setting of false (or 0) allows a page
break after the first line of a paragraph (orphan) or before the last line of a paragraph
(widow).
Data Types: logical
Output Arguments
widowOrphanControlObj — Widow and orphan handling
mlreportgen.dom.WidowOrphanControl object
Widow and orphan handling, represented by an
mlreportgen.dom.WidowOrphanControl object.