Bug ID: 118702
Summary: FILESAVE DOCX Next Style property for page styles lost
Version: 184.108.40.206.alpha0+ Master
Created attachment 143473
The original document in ODF format.
LibreOffice Writer has page styles, Microsoft Word doesn't. This means that
every time a document with multiple page styles is saved as DOCX and reopened,
page styles have to be converted back and forth.
This works well when the page styles are separated with manual breaks with
directly set next page styles, but it doesn't if the next page style is applied
via the Next style property from the page style settings and pages are
separated with regular page breaks. I think that in this case regular page
breaks should be converted to page breaks with style changes to preserve the
original layout as much as possible.
Interestingly, if the page has a next style property, and there are no page
breaks set at all between pages (so when the text flows freely from one to the
next page) LibreOffice adds page breaks with style changes automatically.
Steps to reproduce:
1. Create a new document in LibreOffice Writer.
2. Open the “Style and Formatting” sidebar by pressing F11, and select the
“Page Styles” view.
3. Create a new page style: Name it as you like, set the Next Style to
“Default style” and set the page orientation to Landscape.
4. Apply the newly created page style and add some random text.
5. Press Ctrl+Enter to insert a page break. The next page should be in
portrait, if everything was done right. Add some more random text to this page.
6. Save the document as DOCX and reload it.
Both the first and second page are in landscape.
Only the first page should be in landscape, the second page should be in
Build ID: bb1d5780226bb1b9156580972eea9aa849178742
CPU threads: 1; OS: Windows 6.1; UI render: default;
TinderBox: Win-x86@42, Branch:master, Time: 2018-07-03_05:56:48
Locale: hu-HU (hu_HU); Calc: group threaded
You are receiving this mail because:
You are the assignee for the bug.
Libreoffice-bugs mailing list