User`s guide
12 Classes – Alphabetical List
12-196
mlreportgen.dom.KeepWithNext class
Package: mlreportgen.dom
Keep paragraph on same page as next
Description
Keep paragraph on same page as paragraph that follows it. This format applies only to
Microsoft Word documents.
Construction
obj = KeepWithNext() keeps a paragraph on the same page as the paragraph that
follows it.
obj = KeepWithNext(onoff) keeps a paragraph on the same page as the paragraph
that follows it if onoff is true.
Input Arguments
onoff — Keep paragraph on same page as next
logical
Use one of these values:
• true (default)
• false
• 1
• 0
A setting of true (or 1) keeps a paragraph on the same page as the paragraph that
follows it. A setting of false (or 0) allows a paragraph to be on a different page from the
paragraph that follows it.
Data Types: logical