[Libreoffice-bugs] [Bug 136834] FILEOPEN DOCX Page break after empty paragraph creates one more empty paragraph

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 17 08:11:16 UTC 2020


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

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Mike Kaganski <mikekaganski at hotmail.com> ---
This is not a bug.

word/document.xml contains four <p> elements. The third one contains a <r> with
<w:br w:type="page"/>. You may actually insert a text in the line before the
"....Page Break...." marker in Word, so for all practical purposes, this is a
normal paragraph followed by a page break. Also, you may insert text *after*
these words, and technically they would be part of the same paragraph (which
would have <r> with preceding text, <r> with page break, and <r> with following
text).

Writer keeps the semantic of the proper paragraph on the page where Word puts
the break on. The break naturally becomes the attribute of the following
paragraph, as the document model requires. Trying to do it otherwise would
break cases where some fields or tables are followed by page breaks, where in
Word, one can use up arrow key to get from the following page to the paragraph
with the break, but with the implied change in Writer, you would only be able
to up-arrow into the preceding object.

-- 
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/20200917/68833b32/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list