Bug 88267

Summary: Page orientation doesn't export to .doc/.docx correctly
Product: LibreOffice Reporter: Matthew Francis <fdbugs>
Component: filters and storageAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: fdbugs, gtimur, qubit
Version: Inherited From OOo   
Hardware: Other   
OS: All   
Whiteboard: filter:doc filter:docx
i915 platform: i915 features:
Attachments: Sample file with mixed portrait / landscape pages

Description Matthew Francis 2015-01-10 14:08:23 UTC
Saving a file with mixed portrait/landscape page orientation to .doc/docx doesn't preserve the orientation correctly

Steps to reproduce:
1. Load the attached .ods, which has one portrait and one landscape page
2. Save as .doc/.docx
3. Reopen the saved file

Expected results:
- Page orientation is preserved

Actual results:
- All pages have portrait orientation (current master)
- All pages have landscape orientation (3.3.0)



(Not sure whether or not two bugs would be more helpful for this. For .docx the issue started in 3.3.0 where support was implemented, while for .doc this is inherited from OOo)
Comment 1 Matthew Francis 2015-01-10 14:09:00 UTC
Created attachment 112057 [details]
Sample file with mixed portrait / landscape pages
Comment 2 Robinson Tryon (qubit) 2015-01-11 22:12:12 UTC
TESTING on Ubuntu 14.04 + LO 4.4.0.2 rc

(In reply to Matthew Francis from comment #0)
> Steps to reproduce:
> 1. Load the attached .ods, which has one portrait and one landscape page
> 2. Save as .doc/.docx
> 3. Reopen the saved file
> 
> Expected results:
> - Page orientation is preserved
> 
> Actual results:
> - All pages have portrait orientation (current master)
> - All pages have landscape orientation (3.3.0)

CONFIRMED: Both pages have portrait orientation (with both DOC and DOCX format).

I've filed a separate bug 88303 - FILESAVE: File -> Save a Copy does not warn user about potential data loss when using non-ODF format

> (Not sure whether or not two bugs would be more helpful for this. For .docx
> the issue started in 3.3.0 where support was implemented, while for .doc
> this is inherited from OOo)

Good question. Either way the bug is there, so:
Status -> NEW

IF this turns out to be a limitation of the DOC/DOCX file format, please add 'doc-limitations' and 'docx-limitations' (as appropriate) to the 'Blocks' field.
Comment 3 Timur 2015-01-20 12:11:57 UTC
(In reply to Matthew Francis from comment #1)
> Created attachment 112057 [details]
> Sample file with mixed portrait / landscape pages

Reproducible with the attached .odt, but NOT reproducible from scratch creating simple document with Insert- Page break - Landscape. Please specify how this example was created and in which version.

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.