Bug 81707 - Calc PDF EXPORT: Total pages count is not correct
Summary: Calc PDF EXPORT: Total pages count is not correct
Status: RESOLVED DUPLICATE of bug 57922
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version: 4.2.6.1 rc
Hardware: x86 (IA32) Windows (All)
: medium major
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 08:19 UTC by Kevin Suo
Modified: 2014-07-24 11:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test ods file to be exported as pdf (13.12 KB, text/plain)
2014-07-24 08:19 UTC, Kevin Suo
Details

Description Kevin Suo 2014-07-24 08:19:59 UTC
Created attachment 103389 [details]
test ods file to be exported as pdf

If a spreadsheet contains more than one sheet, when export to pdf, the "total pages" count is not correct, it counts for the total pages of all sheets, rather than the current sheet.

Steps to reproduce:

1. Open the attached ods file. 

2. Print preview
--> the footer shows "Page 1 of 1"

3. File->Export as PDF, input "1" in the "Pages" field, export
--> The exported PDF shows "Page 1 of 2" in footer.

(Expected: "Page 1 of 1" in footer)

Windows XP SP3,
Version: 4.2.6.1

This is really annoying...
Comment 1 Kevin Suo 2014-07-24 08:36:58 UTC
The page count is not correct because when you input page numbers in the "pages" field, calc will start to export pdf based on all the sheets, rather than the current selected sheet..

when the pages is defined in the "pages" field, calc should export only the selected sheet. This is the same as in print preview.

I think I should close this bug, and open another one.
Comment 2 Kevin Suo 2014-07-24 11:39:58 UTC

*** This bug has been marked as a duplicate of bug 57922 ***


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.