Summary: | FILESAVE FORMATTING Page breaks never get really deleted, bug shows when saving as docx and open in LO. | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Joachim Otahal <jou> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | jorendc, jou |
Version: | 3.5.2 release | ||
Hardware: | x86-64 (AMD64) | ||
OS: | All | ||
Whiteboard: | INTEROPERABILITY | ||
i915 platform: | i915 features: | ||
Attachments: |
Fresh document with page breaks.
Now I removed the page breaks and saved. Opened Page-Break2.odt and save as Page-break3.docx Open page-break3.docx and save as page-break4.odt Ignore previous PageBreak4.odt - this is the one after the merry-go-round through Word 2010. |
Description
Joachim Otahal
2012-04-05 13:31:01 UTC
Created attachment 59535 [details]
Fresh document with page breaks.
Created attachment 59536 [details]
Now I removed the page breaks and saved.
Created attachment 59537 [details]
Opened Page-Break2.odt and save as Page-break3.docx
This is where the deleted page breaks reappear which I deleted in Page-Break2.odt
Created attachment 59538 [details]
Open page-break3.docx and save as page-break4.odt
The removed and reappeared page breaks stay.
The only way I found to really remove the page breaks: Load the docx. in office 2010, remove page break, save. Open in LO, and finally they are gone and stay gone, no matter whether you save as .docx or .odt. Here are the relevant source content.xml parts: The relevant parts extracted from the odt.. This is the one with the normal five page breaks (Page-Break1.odt/content.xml): <office:automatic-styles> <style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard"> <style:paragraph-properties fo:break-before="page"/> </style:style> </office:automatic-styles> <office:body> <office:text text:use-soft-page-breaks="true"> <text:sequence-decls> <text:sequence-decl text:display-outline-level="0" text:name="Illustration"/> <text:sequence-decl text:display-outline-level="0" text:name="Table"/> <text:sequence-decl text:display-outline-level="0" text:name="Text"/> <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/> </text:sequence-decls> <text:p text:style-name="Standard">1</text:p> <text:p text:style-name="Standard"/> <text:p text:style-name="P1">2</text:p> <text:p text:style-name="Standard"/> <text:p text:style-name="P1">3</text:p> <text:p text:style-name="Standard"/> <text:p text:style-name="P1">4</text:p> <text:p text:style-name="Standard"/> <text:p text:style-name="P1">5</text:p> <text:p text:style-name="Standard"/> </office:text> </office:body> </office:document-content> This is the one with the page breaks "removed", or rather hidden (why set to auto?) Page-Break2.odt/content.xml: <office:automatic-styles> <style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard" style:master-page-name=""> <style:paragraph-properties style:page-number="auto" fo:break-before="auto" fo:break-after="auto"/> </style:style> <style:style style:name="P2" style:family="paragraph" style:parent-style-name="Standard" style:master-page-name=""> <style:paragraph-properties style:page-number="auto" fo:break-before="auto" fo:break-after="auto"/> </style:style> <style:style style:name="P3" style:family="paragraph" style:parent-style-name="Standard" style:master-page-name=""> <style:paragraph-properties style:page-number="auto" fo:break-before="auto" fo:break-after="auto"/> </style:style> <style:style style:name="P4" style:family="paragraph" style:parent-style-name="Standard" style:master-page-name=""> <style:paragraph-properties style:page-number="auto" fo:break-before="auto" fo:break-after="auto"/> </style:style> </office:automatic-styles> <office:body> <office:text> <text:sequence-decls> <text:sequence-decl text:display-outline-level="0" text:name="Illustration"/> <text:sequence-decl text:display-outline-level="0" text:name="Table"/> <text:sequence-decl text:display-outline-level="0" text:name="Text"/> <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/> </text:sequence-decls> <text:p text:style-name="Standard">1</text:p> <text:p text:style-name="Standard"/> <text:p text:style-name="P1">2</text:p> <text:p text:style-name="Standard"/> <text:p text:style-name="P1">3</text:p> <text:p text:style-name="Standard"/> <text:p text:style-name="P1">4</text:p> <text:p text:style-name="Standard"/> <text:p text:style-name="P1">5</text:p> <text:p text:style-name="Standard"/> </office:text> </office:body> </office:document-content> This is the way after the merry go round through word 2010, remove the page breaks and re-save it in LO as .odt, now the page breaks are REALLY removed Page-Break4.odt/content.xml: <office:automatic-styles> <style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard"> <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0cm"/> </style:style> <style:style style:name="P2" style:family="paragraph" style:parent-style-name="Standard" style:master-page-name="Standard"> <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0cm" style:page-number="auto"/> </style:style> </office:automatic-styles> <office:body> <office:text> <text:sequence-decls> <text:sequence-decl text:display-outline-level="0" text:name="Illustration"/> <text:sequence-decl text:display-outline-level="0" text:name="Table"/> <text:sequence-decl text:display-outline-level="0" text:name="Text"/> <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/> </text:sequence-decls> <text:p text:style-name="P2"> <text:bookmark-start text:name="_GoBack"/>1</text:p> <text:p text:style-name="P1">2</text:p> <text:p text:style-name="P1">3</text:p> <text:p text:style-name="P1">4</text:p> <text:p text:style-name="P1">5</text:p> <text:p text:style-name="P1"> <text:bookmark-end text:name="_GoBack"/> </text:p> </office:text> </office:body> </office:document-content> Created attachment 59540 [details]
Ignore previous PageBreak4.odt - this is the one after the merry-go-round through Word 2010.
Ignore previous PageBreak4.odt - this is the one after the merry-go-round through Word 2010.
Now the Page Breaks are really gone.
Thanks for your bug report. I can confirm the issue by following your instructions so I'm setting the status to NEW so a developer can begin working on the issue. Confirmed Ubuntu 12.04, LibO 3.5.4 Still reproducible by following the (nice) description :-), tested using Mac OSX 10.9 with LibreOffice Version: 4.3.0.0.alpha0+ Build ID: b540f9172814f51361cf31d2a4b03e34d1d375ef TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-02-15_00:28:42 Kind regards, Joren |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.