Bug 147238 - FILEOPEN XLSX Apache poi setLandscape(true) option ignored
Summary: FILEOPEN XLSX Apache poi setLandscape(true) option ignored
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/why-doe...
Whiteboard:
Keywords: filter:xlsx
Depends on:
Blocks: XLSX
  Show dependency treegraph
 
Reported: 2022-02-07 05:42 UTC by -- removed --
Modified: 2024-12-08 03:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
The worksheet is landscape orientation in MS office, but the same worksheet is portrait orientation in Libre Office. (8.74 KB, application/haansoftxlsx)
2022-02-07 05:43 UTC, -- removed --
Details

Note You need to log in before you can comment on or make changes to this bug.
Description -- removed -- 2022-02-07 05:42:25 UTC
Description:
I wanted to change excel page orientation to horizontal(landscape), so I used apache poi method PrintSetup.setLandscape(true).
Unfortunetly It seems not working approprietly in Libre office, though I can see it right in MS Office.
The settings show that Landscape option is selected, but right picture shows portrait.
What LibreOffice show you and what LibreOffice’settings have are different.
I don’t know how to resolve it.
I will take any advice appreciate. Thank you.

When the file is opened in Libre Office and MS Office,

https://ask.libreoffice.org/uploads/asklibo/optimized/3X/5/3/53cc54c0353e5d3a217db5e14abc82526f31fbae_2_473x500.png

Steps to Reproduce:
1. Using Apahe Poi XSSF PrintSetup setLandscape(true), set excel file's page orientation to landscape
2.Open this excel file in MS Office and Libre Office.
3.See this in page preview mode and check page style.

Actual Results:
The worksheet is landscape orientation in MS office, but the same worksheet is portrait orientation in Libre Office.

Expected Results:
The worksheet has to be landscape orientation when it was opened in Libre Office.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.5.2 (x64) / LibreOffice Community
Build ID: 499f9727c189e6ef3471021d6132d4c694f357e5
CPU threads: 8; OS: Windows 10.0 Build 19043;
UI render: Skia/Vulkan; VCL: win
Locale: ko-KR (ko_KR); UI: ko-KR
Calc: CL
Comment 1 -- removed -- 2022-02-07 05:43:10 UTC
Created attachment 178106 [details]
The worksheet is landscape orientation in MS office, but the same worksheet is portrait orientation in Libre Office.
Comment 2 Vladimir Sokolinskiy 2022-02-07 10:41:02 UTC
Problem with custom paper size. When opened in LO, the page orientation is landscape. If in LO you change the paper size to, for example, A4, then everything is displayed correctly.
Comment 3 Buovjaga 2022-12-08 12:44:38 UTC
Confirmed. Already in 3.3.0 on Win 10.

Arch Linux 64-bit
Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 705b2924a14841883b4a8cac549f7af326d7a185
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 8 December 2022
Comment 4 QA Administrators 2024-12-08 03:13:21 UTC
Dear -- removed --,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug