pdf file generated by Impress cannot be open from windows.
Error message in adobe acrobat:
There was an error when processing a page. There was a problem reading this document (109)
Steps to Reproduce:
1.Open libreoffice impress
2.Make some slides
3.Click export as pdf (default setting)
4.Open generated pdf in windows
Cannot open pdf file
pdf file generated by Impress can be opened from Windows OS.
User Profile Reset: Yes
Build ID: 1:6.2.8~rc2-0ubuntu0.16.04.1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2;
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug.
(Please note that the attachment will be public, remove any sensitive information before attaching it.
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
Created attachment 155311 [details]
sample of generated pdf from impress
If I removed some pages on the slide, it can be opened from windows.
Which pages I removed is random. It means, no certain page causing that problem.
I added sample documents
Not PDF, you need to attach Impress odp.
Created attachment 155437 [details]
add odp file
This is sample of odp file that generate pdf which can not be opened from windows.
I can open attachment 155311 [details] PDF (19 pages) in Windows 7 with Master PDF Editor, PDF-Xchange and Adobe Reader. Maybe you attached the wrong PDF.
But I do repro in Windows with attachment 155437 [details] ODP, same the error when opening exported PDF with Adobe 2011 or Adobe 2019. Repro LO 6.1.0 and master 6.4+. So there's the bug.
But document opens with Master PDF Editor, PDF-Xchange. So I change the title.
No repro with LO 6.0 so I put regression. Bug 127217 and bug 127493 start from LO 6.3 in bug 113448, so not likely the same.
Technically one can print to PDF so there's a workarund. But there's a number of bugs related to Adobe Reader, so they deserve to be looked at.
Yes. Unfortunately, most windows users uses adobe as pdf reader.
First attached pdf file is also wrong. Used the second odp file to generate pdf.
Issue started with the following commit. Let's assume this isn't a regression, but certain part of the export code isn't compatible with PDF 1.5 (or an incompatibility in Adobe Reader, but I'm guessing the former).
I also cut down the file to the problematic part, it seems that an embedded PDF is causing the problem.
author Khaled Hosny <firstname.lastname@example.org> 2018-04-24 09:57:00 +0200
committer Miklos Vajna <email@example.com> 2018-04-27 15:41:42 +0200
Change default PDF version to 1.5
Created attachment 157596 [details]
Note that this isn't the only embedded PDF from the presentation that causes a problem after export (and not all embedded PDFs cause an error in Adobe Reader), so a fix should be double-checked against the original.