Bug 166816 - Calc: PDF export from print preview always exports all sheets
Summary: Calc: PDF export from print preview always exports all sheets
Status: RESOLVED DUPLICATE of bug 91490
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.2.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-01 19:28 UTC by Henrik Gebauer
Modified: 2025-06-01 20:08 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Gebauer 2025-06-01 19:28:26 UTC
Description:
If I export a PDF from the print preview and select the option to export only the current sheet, the PDF file will contain all sheets in the document.
However, if the print preview is not open, the PDF export will work as expected.

Steps to Reproduce:
1. Open a document with more than one sheets in calc.
2. Go to File -> print preview
3. Go to File -> export as PDF
4. check the checkbox "selection/selected sheets"
5. Save the PDF file

Actual Results:
the PDF file contains all the sheets

Expected Results:
the PDF file contains only one sheet


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 8; OS: Linux 6.14; UI render: default; VCL: kf5 (cairo+wayland)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded
Comment 1 BogdanB 2025-06-01 20:06:06 UTC
Confirm with
Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 2 BogdanB 2025-06-01 20:08:01 UTC

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