Bug 144369 - Export to PDF; PDF/A; Export from Print Preview mode setting exports all spreadsheets; Export from normal view exports only selected spreadsheet
Summary: Export to PDF; PDF/A; Export from Print Preview mode setting exports all spre...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2021-09-08 08:18 UTC by Nico
Modified: 2023-04-05 17:11 UTC (History)
5 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 Nico 2021-09-08 08:18:59 UTC
Description:
If exporting a selected sheet to PDF/A while in Print Preview mode the resulting PDF contains all available sheets if there is more than one sheet in the document.

If exporting a selected sheet to PDF/A while in standard view mode the resulting PDF contains only the selected sheet.

Steps to Reproduce:
1. Make a new Calc document
2. Make more than one sheet
3. Select one sheet

4.1 Viewmode standard
4.2 Export to PDF/A
4.3 Result selected sheet as PDF

5.1 Viewmode Print
5.2 Export to PDF/A
5.2 Result alls sheets in PDF

Actual Results:
5.1 Viewmode Print
5.2 Export to PDF/A
5.2 Result alls sheets in PDF

Expected Results:
5.2 Result only selected sheet in PDF


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 4; OS: Mac OS X 10.13.6; UI render: default; VCL: osx
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded
Comment 1 m_a_riosv 2021-09-08 17:24:57 UTC
How do you export to PDF with the icon or with the menu.
The icon exports whole sheets (Export Directly as PDF).
Menu/File/Export to PDF, exports only selected sheets.
You can Menu/Tools/Customize/Toolbars to add an Icon to work as the second way.

It is not a bug.
Comment 2 Nico 2021-09-08 18:48:19 UTC
You have misunderstood my description or not read thouroughly:

I am NOT talking about exporting with the PDF-button in the toolbar versus exporting via the menu -> export as PDF.

I am talking about exporting as PDF via menu when „preview mode” is on versus „preview mode” is off.

By „preview mode” (in lack of an appropriate terminus for that icon) I mean the icon in the toolbar that is right to the print button, the page symbol with the magnifying glas on it.

Hence, if that icon is activated, that is Calc shows the sheet - and only the sheet in focus - in printout version / preview version, and I export to pdf via menu, all sheets are included into the PDF. Expected is that only that sheet in previewmode is exported.

I hope this helps.
Comment 3 psidiumcode 2021-11-11 18:43:50 UTC
I could reproduce it in ver:

Version: 7.2.2.2 / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

Version: 7.3.0.0.alpha1+ / LibreOffice Community
Build ID: b8d17d754830ab57099dcdfa72a96bfad404ab1a
CPU threads: 12; OS: Mac OS X 10.15.7; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 4 eisa01 2023-03-18 20:57:09 UTC
Still present, also on Linux

Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 1:7.0.4-4+deb11u4
Calc: threaded

Version: 7.5.1.2 (AARCH64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 10; OS: Mac OS X 13.2.1; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded