Bug 139725 - FILESAVE: PDF Export fails to inject blank pages when using "Left Page" Page Style (Odd page break)
Summary: FILESAVE: PDF Export fails to inject blank pages when using "Left Page" Page ...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.8.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-18 02:55 UTC by Michelle
Modified: 2021-01-18 05:26 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example File which causes the bug (9.11 KB, application/vnd.oasis.opendocument.text)
2021-01-18 02:56 UTC, Michelle
Details
Exported pdf (7.60 KB, application/pdf)
2021-01-18 02:56 UTC, Michelle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michelle 2021-01-18 02:55:16 UTC
Description:
In libreoffice writer when forcing content after a page break to appear on the next odd page the pdf export fails to inject blank pages.

Steps to Reproduce:
1. Create new odt file.
2. Set the Page style to "Left Page".
3. Insert a page break (Page count should now be 3).
4. Export to pdf.

Actual Results:
Pdf has 2 pages instead of 3. Print Preview will correctly show 3 pages.

Expected Results:
Pdf should match print preview and have 3 pages.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Reproduced in 6.2.8.2 and 7.1.0.0 Beta1

Version: 7.1.0.0.beta1 (x64)
Build ID: 828a45a14a0b954e0e539f5a9a10ca31c81d8f53
CPU threads: 16; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: en-AU (en_AU); UI: en-US
Calc: CL

Version: 6.2.8.2 (x64)
Build ID: f82ddfca21ebc1e222a662a32b25c0c9d20169ee
CPU threads: 16; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: en-AU (en_AU); UI-Language: en-US
Calc: CL
Comment 1 Michelle 2021-01-18 02:56:31 UTC
Created attachment 168975 [details]
Example File which causes the bug
Comment 2 Michelle 2021-01-18 02:56:56 UTC
Created attachment 168976 [details]
Exported pdf
Comment 3 Mike Kaganski 2021-01-18 05:26:01 UTC
By default, "Export automatically inserted blank pages" option is not checked in PDF export dialog [1]. If you open this dialog using File->Export As->Export As PDF, and check that option, you will have it saved in user options, which will cause all following direct export operations to use the flag. Therefore, it works as designed. Closing NOTABUG.

[1] https://help.libreoffice.org/7.1/en-US/text/shared/01/ref_pdf_export_general.html#bm_id5027619