[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
Thu Nov 16 11:22:58 UTC 2017


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

Buovjaga <todventtu at suomi24.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |todventtu at suomi24.fi
         Resolution|---                         |NOTABUG

--- Comment #1 from Buovjaga <todventtu at suomi24.fi> ---
They are not added, they already exist in the .odt.

The visible thing after "make her new home perfect." is a non-breaking space.
Just remove it.

Looking inside the content.xml we see the invisible things are soft page
breaks:

to pans and pots.</text:p><text:p
text:style-name="Text_20_body"><text:soft-page-break/>

had also been the worst night.</text:p><text:p
text:style-name="P6"><text:soft-page-break/>

I did not find a way to remove the soft page breaks in the LibreOffice GUI. So
you would have to unzip the .odt and edit the content.xml to remove the
<text:soft-page-break/> elements manually. Then zip everything back again and
rename the file type to .odt.

I found a mention of soft page breaks related to Page styles using Next style,
but when I changed it in your document it did not help:
https://help.libreoffice.org/Writer/Changing_Page_Orientation_Landscape_or_Portrait#One_Page_Long_Styles

Closing as NOTABUG.

-- 
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/20171116/d13d7c6f/attachment-0001.html>


More information about the Libreoffice-bugs mailing list