Bug Hunting Session
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...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.0.alpha0+ Master
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-24 11:11 UTC by pallavi.jadhav
Modified: 2019-06-06 13:17 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


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

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: 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.