https://bugs.freedesktop.org/show_bug.cgi?id=73289

--- Comment #3 from Jim Avera <[email protected]> ---
Upon deeper investigation (using the "xray" tool), the problem seems to be that
Mail Merge sets the "PageDescName" property instead of setting "BreakType" to
cause a page break.

The OO Api docs say "If this property [PageDescName] is set, it creates a page
break before the paragraph it belongs to and assigns the value as the name of
the new page style sheet to use."

AFAIK this property is not a visible feature which can be controlled directly
via the user interface, but can only be manipulated via macro code, etc.

However, using the Format Paragraph dialog on a *single* paragraph does cause
the "Break" checkbox to be checked if PageDescName is set (even though
BreakType==0, which  normally means no break); and un-checking the checkbox
clears PageDescName.  However this does not happen when formatting several
paragraphs at once.

----

So I'm wondering *why* does Mail Merge use this obscure feature, rather than
simply setting BreakType=4 (and, if it wants a different style for some reason,
setting PageStyleName accordingly)?

On the surface, it doesn't seem like the PageDescName property provides any
unique functionality.  If it is not necessary, then maybe Mail Merge should not
use it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to