Red Hat Bugzilla – Bug 162477
not save new page style when save in Microsoft Win 2000/XP
Last modified: 2007-11-30 17:11:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4
Description of problem:
When I create new page style and add some page with this style and save document in MS 2000/XP format then I lost that page style if close document.
If save in native opendocument format all work fine. :(
This behaviour same for RTF saving format.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Choose Format - Styles and Formatting.
2.Click the Page Styles icon.
3.Right-click, and choose New.
4.On the Organizer tab page, type a name for the page style in the Name box.
5.In the Next Style box, select the page style that you want to apply to the next page.
To only apply the new page style to a single page, select "Default".
To apply the new page style to all subsequent pages, select the name of the new page style.
6.Click the Page tab.
7.Under Paper format, select Portrait or Landscape.
9. Save documen in MS Win 2000/XP format and close document.
10. Open this document and look at page styles!!!
Actual Results: Don't save new page styles in documents in format MS Win 2000/XP
Expected Results: save new page styles in documents in format MS Win 2000/XP
Stable OO 1.1.4 have not this bug.
MSWord does not have page styles, so the page styles themselves are not saved in
a .doc document. If they are *used* in a document and saved to .doc format then
as close a match as possible is created and exported as msword sections. On
re-import page styles are re-constructed as best as is possible given the .doc
On exporting: Where pagestyles are used after explicit page breaks which have a
page style applied to them, then they get exported as .doc sections. When a page
style comes into effect because of text flow onto a next page, then the msword
section is placed at the next available explicit page break even if it does not
have a page style explicitly applied to it in writer.
Additionally, word sections can have a different first page to the following
pages. When there is a writer pagestyle pair which can be fit to this model that
conversion is also attempted.
All in all it's really complicated, so I need to see a document attached that
you have that you are not happy with to see if it is being exported correctly
according to the page styles export system.