Avoiding "Widows and orphans"
In a report that is a sequence of TppDBText and stretchable TppDBMemo
components that produce a section title / paragraph text document style
output, is there a way to prevent what in word processing is called "widows
and orphans"?
That is how can I best control the report layout and page breaks so that
a) TppDBText does not appear on a page without *some* of the TppDBMemo text
beneath it
b) Only the last line of TppDBMemo does not appear on a page without some
more of the text above it.
I know that I could use a region and set keeptogether = true, but this just
leaves potential big gaps in the report as it tries to keep *all* the text
together. What I would like to do is like what the word processor does,
break the page so that "sufficient" text is positioned either side of the
break.
Any suggestions?
Sarah
components that produce a section title / paragraph text document style
output, is there a way to prevent what in word processing is called "widows
and orphans"?
That is how can I best control the report layout and page breaks so that
a) TppDBText does not appear on a page without *some* of the TppDBMemo text
beneath it
b) Only the last line of TppDBMemo does not appear on a page without some
more of the text above it.
I know that I could use a region and set keeptogether = true, but this just
leaves potential big gaps in the report as it tries to keep *all* the text
together. What I would like to do is like what the word processor does,
break the page so that "sufficient" text is positioned either side of the
break.
Any suggestions?
Sarah
This discussion has been closed.
Comments
describing with the exception of using regions and KeepTogether as you
mentioned below.
--
Cheers,
Alexander Kramnik
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
Any way of it finding its way onto a "todo" list??
Sarah
"Alexander Kramnik (Digital Metaphors)" wrote
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com