Bug 81232 - wrong page count and page breaks printing or pdf-exporting an xlsx file
Summary: wrong page count and page breaks printing or pdf-exporting an xlsx file
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version: 3.6.0.4 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-11 13:33 UTC by Roeland
Modified: 2014-07-15 14:12 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Archive with the original xlsx and the pdf results from LibreOffice and Microsoft Office 2010 (375.76 KB, application/x-rar-compressed)
2014-07-11 13:33 UTC, Roeland
Details

Description Roeland 2014-07-11 13:33:02 UTC
Created attachment 102618 [details]
Archive with the original xlsx and the pdf results from LibreOffice and Microsoft Office 2010

When trying to create a pdf out of this xlsx file (originally made in Microsoft Office) we noticed something strange. The pdf from Microsoft Office 2010 is a 18 page document (the correct amount), while the pdf created by libreOffice has 44 pages.

Trying to print the xlsx also gives me different results, Microsoft office wants to print 18 pages, while LibreOffice wants to print 38 (?) pages.

There are also some stranges breaks in the pdf made by Libreoffice (see page 2 of the attached pdf) that shouldn't be there.

I don't really know whether this is a export problem or a problem with the import of an xlsx file.
Comment 1 tommy27 2014-07-12 05:00:48 UTC
I tested under Win7x64 and it's reproducible with 4.2.5 and 3.6.0 as well (haven't tried older releases)

interestingly if you use 4.4.0.0.alpha0+ (*) the exported pdf has 37 pages instead of 44

if you use AOO 4.1 the final pdf has 19 pages and I see no strange page breaks which are instead present in LibO... so developers could compare LibO and AOO code to fix the issue in LibO



(*) Build ID: d5dd1216804afae35d7fe7dbb1d37b0ca1fcce88
TinderBox: Win-x86@39, Branch:master, Time: 2014-07-11_00:09:47


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.