In WPTools5 all I needed to do was set the option [wpDontSetPageBreak] to prevent a page break on a new section. However, in WPTool9 it seems I have to set both of these options [wpDontSetPageBreak, WPRemovePageBreak] in order to prevent the page eject.
This code in AppendAsSection is suspect since I don't know the full use of these options, but it seems to show that both have to be set to avoid the page break at all:
Code
if not(wpDontSetPageBreak in Options) or not(wpRemovePageBreak in Options)
then
include(npar.prop, paprNewPage)
else if (wpRemovePageBreak in Options) then
exclude(npar.prop, paprNewPage);
Why not this (again, I'm basing this on a very narrow scope of the use of these options):
Code
if (wpDontSetPageBreak in Options) or (wpRemovePageBreak in Options)
then
exclude(npar.prop, paprNewPage)
else
include(npar.prop, paprNewPage);
Or perhaps change the OR to an AND as it is currently.
Eric