[Libreoffice-bugs] [Bug 113849] FILESAVE: Saving a file as .docx format adds spurious extra page breaks

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Dec 29 09:26:38 UTC 2018


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

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|libreoffice-bugs at lists.free |jluth at mail.com
                   |desktop.org                 |

--- Comment #13 from Justin L <jluth at mail.com> ---
(In reply to Justin L from comment #12)
> 1.) For some reason, title-page (Title/Follow) isn't working. I assume that
> is because the inside/outside margins are too different
Correct. This prevents IsPlausableSingleWordSection().

> (I don't think that docx has the idea of a Title/Follow page styles
Kinda correct - I guess a continuous section serves that role, but continuous
sections are an anathema to LO.

So, we have to try to emulate title/follow when exporting to DOCX format, and
frequently that can be done if the follow style doesn't already have a
different "first page". In that case, if IsPlausableSingleWordSection, then we
consolidate the two page styles into one, marking the initial headers/footers
as "different first page".

***Ideally, if you plan to export to MS formats, try to use "different first
page header/footers) instead of title/follow page styles.***

> 2.) The footer is missing from even pages in docx (but not in .doc).
> Probably because header is different even/odd, but footer is not?
Correct. proposed fix at https://gerrit.libreoffice.org/65699 and
gerrit.libreoffice.org/65700

One reason the page breaks were noticeable after the Chapter page was that the
text wasn't fitting all on one page. Undefined even headers/footers being
inherited from previous page styles took up some extra space. That was fixed in
LO 6.1 by Tamas' commit 6aa1df5a627697e6adaee70adcef2c5b50cfcbf7.

-- 
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/20181229/ac7e75ee/attachment.html>


More information about the Libreoffice-bugs mailing list