Bug 75431

Summary: FILESAVE : DOCX : Page Orientation is not preserved when mixed orientation is present
Product: LibreOffice Reporter: pallavi.jadhav
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: cno, jorendc, timur
Priority: medium    
Version: 4.2.0.0.alpha0+ Master   
Hardware: Other   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=88267
https://bugs.documentfoundation.org/show_bug.cgi?id=125312
https://bugs.documentfoundation.org/show_bug.cgi?id=135786
https://bugs.documentfoundation.org/show_bug.cgi?id=136832
https://bugs.documentfoundation.org/show_bug.cgi?id=138102
https://bugs.documentfoundation.org/show_bug.cgi?id=140182
https://bugs.documentfoundation.org/show_bug.cgi?id=158855
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Combination of Portrait and Landscape.
Comparison between original and RT file
Importing .jpg Picture in LO

Description pallavi.jadhav 2014-02-24 11:11:44 UTC
Created attachment 94639 [details]
Combination of Portrait and Landscape.

Issue :
When DOCX contains Page orientation of types "Portrait" and "Landscape", LO
exports Landscape as Portrait.

Current behavior :
ORIGINAL.DOCX when save_as to EXPORTED.DOCX, LO converts "Portrait" page orientation to "Landscape".

Expected behavior :
ORIGINAL.DOCX when save_as to EXPORTED.DOCX, LO should preserve "Landscape" Page Orientation.
Comment 1 Jorendc 2014-02-25 21:40:55 UTC
Tested using Mac OSX LibreOffice Version: 4.3.0.0.alpha0+
Build ID: a08136d205c8fa0be5c6b1fe4360b20360871aea

I can confirm that behavior. It looks like it is also not imported correctly (landscape pages aren't landscape). Not sure about that: but this might be an import issue instead of an export one :)?

Kind regards,
Joren
Comment 2 pallavi.jadhav 2014-02-26 06:02:00 UTC
Yes. There is an Import issue.

There are two issues associated with Page Orientation. With "Picture" and "Table".

To be able to use Mixed Page Orientation, a Section break needs to be inserted.

For Table :
There is some issue while using "Section breaks with Table".
Both Import and Export is not working.

For Picture :
Import is working for images like .jpg but Export is not working.
Problem while importing,when image is of type .jpeg and also export does not work.

I have attached screenshots for Picture as,
1] Comparison.png : Comparison between Original file and RT file
2] Import_In_Lo.png : While importing Picture having .jpg file.

Working on these issues.
Comment 3 pallavi.jadhav 2014-02-26 06:02:41 UTC
Created attachment 94747 [details]
Comparison between original and RT file
Comment 4 pallavi.jadhav 2014-02-26 06:03:14 UTC
Created attachment 94748 [details]
Importing .jpg Picture in LO
Comment 5 Timur 2015-02-09 14:08:39 UTC
Problem from attachment 94639 [details] reproduced with LO 4.2.8.2 but NOT reproduced with 4.3.6.2 nor with 4.4.0.3.
Seems like a different problem from Bug 88267.
Since 4.2 is at EoL, I close as WFM. Please reopen if you feel this is not correct. 
If there's still problem with another attachment (Success measure map), whose original doesn't exist here, please search for an existing bug or open a new bug.