Bug 184858

Summary: Page orientation not saved
Product: kword Reporter: David Heijkamp <david.heijkamp>
Component: opendocumentAssignee: Thomas Zander <zander>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.9.8   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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