Created attachment 128280 [details] The problematic document Attached xlsx has page width defined as 1, page height defined as "Automatic". Opening it in Calc causes the "Automatic" value converted to 1. This in turn makes the table part on page 4 (after the last page break) to be printed to two pages with one row going to page 5. In Excel 2013 the part on page 4 is printed to one page.
Created attachment 128281 [details] Page height settings as seen in Excel 2013 and LO 5.1.4 The same conversion happens in 5.3 master too.
Created attachment 128282 [details] Page break view in Excel and Calc
Confirmed in Version: 5.3.0.0.alpha0+ Build ID: 8974b0fafb18f9dd3f2c0e175a3255b80e4c249e CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; Locale: ca-ES (ca_ES.UTF-8); Calc: group and Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Created attachment 128289 [details] .xls sample Same result in .XLS
When I uncompressed first attachment and format it, I noticed lines like this: <row r="1" spans="1:9" ht="101.25" customHeight="1" x14ac:dyDescent="0.25"> in xl/worksheets/sheet1.xml
** Please read this message in its entirety before responding ** 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 http://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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
This is still present Version: 6.2.0.0.alpha0+ Build ID: b292a27698e85fd9d60c03613c3b0c67835c4dc1 CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2018-06-06_23:25:55 Locale: en-US (en_US.UTF-8); Calc: group threaded
tdf#103516 Calc: fit columns to page similarly to Excel With the page setting "Fit print range(s) to width/height", "Width in pages" > 0, and no "Height in pages" selected, apply slightly smaller zoom (~98% of the selected zoom), when this adjustment results printing fewer pages, ie. no more pages printed, than MSO. Note: a very annoying problem was that Calc printed almost blank extra pages (containing only one or a few table rows) from documents that Excel printed "correctly".
László Németh committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/26c83053b8fb4421bf48452fb5a7801b16f6bca0 tdf#103516 Calc: fit columns to page similarly to Excel It will be available in 6.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Note: This bug is about an interoperability problem (printing almost blank pages only in LO, but not in Excel), not its suspected cause, the (already solved) UI problem.