[Libreoffice-bugs] [Bug 136706] Five page style generated on export to DOCX (only 1 with DOC) and spurious page break

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Sep 14 12:09:10 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=136706

--- Comment #4 from Justin L <jluth at mail.com> ---
(In reply to Telesto from comment #2)
> The page break is also seen in DOC.
> Not sure if it's required for some reason (or if it should be reported in a
> different bug)
The page break is necessary because Word has no concept of page styles, so it
has no idea that FirstPage is followed by DefaultPage. Thus it needs to be
emulated with a section-page-break.

Normally, first page and the following page styles are virtually identical. In
that case, export creates a single section with a special "first" header and
that takes care of the problem without a page break. In this particular
document, the left and right margins are different, so they can't be treated as
a single section (not IsPlausableSingleWordSection).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200914/9eef9edf/attachment.htm>


More information about the Libreoffice-bugs mailing list