Bug 123993 - unable to open hybrid PDFs if "PDF/A-1a" was selected in export dialog
Summary: unable to open hybrid PDFs if "PDF/A-1a" was selected in export dialog
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.5.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-11 10:24 UTC by Felix Schwarz
Modified: 2019-03-11 12:12 UTC (History)
0 users

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 Felix Schwarz 2019-03-11 10:24:17 UTC
Description:
Somehow LibreOffice Writer does not export hybrid PDFs correctly when PDF/A-1a was selected (or it does not open them correctly).

Steps to Reproduce:
1. create a document in LibreOffice Writer
2. File -> Export as... -> Export as PDF (roughly translated from German)
3. check "Hybrid-PDF" AND "PDF/A-1a (ISO 19005-1)"
4. export file
5. open created PDF file in writer

Actual Results:
Writer displays the PDF as text:
> %PDF-1.4
> %äüöß
> 2 0 obj
> <</Length 3 0 R/Filter/FlateDecode>>
> stream
...

Expected Results:
Actual LibreOffice document can be edited with all previous formatting.

I suspect hybrid PDFs may not be possible with PDF/A but in that case I think the "Hybrid" checkbox should be inactive/disabled to ensure there is no data loss. (The user might rely on the ability to retrieve the document from the exported PDF without storing it separately.)


Reproducible: Always


User Profile Reset: Yes



Additional Info:
I'm using LibreOffice 6.1.5.2 from Fedora 29.
Comment 1 Mike Kaganski 2019-03-11 10:50:34 UTC
Cannot reproduce with Version: 6.2.2.1 (x64)
Build ID: fcd633fb1bf21b0a99c9acb3ad6e526437947b01
CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: CL

Could be platform-specific or version-specific. Could you please test with version 6.2? Please reset status to UNCONFIRMED when provided the answer.
Comment 2 Felix Schwarz 2019-03-11 12:12:08 UTC
You are right - version 6.2.0.3 (from Flathub) works (even with previously created files which means I did not loose data).