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

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 15 10:11:28 UTC 2017


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

            Bug ID: 113849
           Summary: FILESAVE: Saving a file as .docx format adds spurious
                    extra page breaks
           Product: LibreOffice
           Version: 5.4.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: major
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: luke at zeta.org.au

Created attachment 137776
  --> https://bugs.documentfoundation.org/attachment.cgi?id=137776&action=edit
The sample files that allow easy observation of the bug

I discovered this bug when using Calibre to convert LO-created .docx files to
epub and .mobi formats for ebooks.  (I need to use the .docx format because the
support for it in Calibre is better than for .odt files.)

If you open the example file provided (ShadowHunt-KDP-PageBreakProbs.odt) and
save as .docx format, LO will insert three extra page breaks - one visible, two
invisible.

The visible spurious page break occurs immediately after the phrase "make her
new home perfect."

The two invisible spurious page breaks occur immediately the phrase "to pans
and pots." and after the phrase "had also been the worst night."  Each of these
phrases happen to end paragraphs at the bottom of a page - but without any
manual page break.  After saving as .docx however, a manual page break has been
inserted at that point in the .docx.

The invisible page breaks can be revealed by  converting into another format
where re-pagination can occur, or if the bulk of the document is converted to a
smaller font size.

The file ShadowHunt-KDP-PageBreakProbsOdt.odt is the sample document.
The file ShadowHunt-KDP-PageBreakProbsOdt.docx is that file saved as .docx.
The file ShadowHunt-KDP-PageBreakProbs-ManlFix1.docx is the .docx file with the
visible spurious page break deleted by positioning the cursor at the end of the
paragraph and hitting Delete and then Enter to break it back into the correct
paragraphs.
The file ShadowHunt-KDP-PageBreakProbs-ManlFix2.docx is that file with the two
invisible page breaks fixed the same way.

I have rated this as a major problem because it means if LO is used for ebook
production, it introduces a significant quality problem to the ebooks produced.

In addition, it means any edits to the .odt file mean all the manual
corrections to the .docx file need to be done again.  This is exacerbated by
the inability to search for manual page breaks in LO.  This further means that
while this bug exists, the.odt file is therefore unsuitable for use for writing
books.

-- 
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/20171115/b91350e8/attachment.html>


More information about the Libreoffice-bugs mailing list