Bug 184858 - Page orientation not saved
Summary: Page orientation not saved
Status: RESOLVED FIXED
Alias: None
Product: kword
Classification: Miscellaneous
Component: opendocument (show other bugs)
Version: 1.9.8
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-18 22:28 UTC by David Heijkamp
Modified: 2009-05-29 13:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Heijkamp 2009-02-18 22:28:14 UTC
Version:           2.0 beta-6 (using 4.2.00 (KDE 4.2.0), Arch Linux)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.28-ARCH

After having changed the page orientation to landscape in the Page Layout menu, and having saved (as ODT) and closed the document, re-opening shows that the page orientation wasn't saved. This is just the case in Kword, not Kspread.

Additional problems (if you want me to make additional reports, please say so):
- Changing the page orientation, and other properties in the Page Layout menu only works when you do not choose the option 'Apply to document'. Have to say I'm not quite sure what's the use of this option.
- After having changed the page orientation, zooming in to 'Fit Page Width' still assumes the Portrait orientation
Comment 1 Thomas Zander 2009-03-25 08:50:46 UTC
SVN commit 944158 by zander:

* Save the sequence of all pages at all times, it doesn't hurt.
* Insert a link to the master page in the first paragraph of the document so we actually properly
  save the page setup.
CCBUG:184858

Loading is next.

 M  +18 -11    kword/part/KWOdfWriter.cpp  
 M  +1 -0      libs/kotext/KoTextSelectionHandler.cpp  
 M  +3 -1      libs/kotext/styles/KoParagraphStyle.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=944158
Comment 2 Thomas Zander 2009-03-25 23:20:30 UTC
SVN commit 944672 by zander:

Make loading go via the page-style.
Loads columns and other properties properly again.
BUG:184858

 M  +1 -2      KWOdfLoader.cpp  
 M  +48 -13    KWPageStyle.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=944672