Bug 75431 - FILESAVE : DOCX : Page Orientation is not preserved when mixed orientation is present
Summary: FILESAVE : DOCX : Page Orientation is not preserved when mixed orientation is...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) Master
Hardware: Other All
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2014-02-24 11:11 UTC by pallavi.jadhav
Modified: 2023-12-25 09:42 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Combination of Portrait and Landscape. (36.56 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2014-02-24 11:11 UTC, pallavi.jadhav
Comparison between original and RT file (572.48 KB, image/png)
2014-02-26 06:02 UTC, pallavi.jadhav
Importing .jpg Picture in LO (237.67 KB, image/png)
2014-02-26 06:03 UTC, pallavi.jadhav

Note You need to log in before you can comment on or make changes to this bug.
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:
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,
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 but NOT reproduced with nor with
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.