Steps to reproduce
Create a document (calc, writter) and export the document in Hybrid PDF way with LibreOffice Master
Open the file with LibreOffice (no version requirements for this)
PDF file is about twice the ODF size
PDF opened like any OpenDocument files
PDF size is about ODF size
PDF won't open with LibO, file corrupted
Reproducible with master (Version 18.104.22.168.alpha0+ (Build ID: f49db87)) under Ubuntu 12.04 x86_64.
On pc Debian x86-64 with master sources updated today, I reproduced the problem.
I noticed these logs during export:
warn:legacy.osl:19795:1:/home/julien/compile-libreoffice/libo/svl/source/items/custritm.cxx:117: CntUnencodedStringItem::PutValue(): Wrong type
warn:legacy.osl:19795:1:/home/julien/compile-libreoffice/libo/sfx2/source/appl/appuno.cxx:396: Property not convertable: FilterName
warn:legacy.osl:19795:1:/home/julien/compile-libreoffice/libo/sfx2/source/doc/docfile.cxx:2471: Unexpected Output stream parameter!
warn:legacy.osl:19795:1:/home/julien/compile-libreoffice/libo/sfx2/source/doc/docfile.cxx:1842: Illegal Output stream parameter!
Work with commit http://cgit.freedesktop.org/libreoffice/core/commit/?id=9c8dc01d3a40ec905c9d816c733ceb5d621e0426 , don't work with latest master
(In reply to comment #3)
> Work with commit
> , don't work with latest master
How did you choose this specific commit http://cgit.freedesktop.org/libreoffice/core/commit/?id=9c8dc01d3a40ec905c9d816c733ceb5d621e0426 ?
Could it be possible you found one ok more recent?
I'm doing a bisect, so wait and see, probably ;-)
I choosed this one because it's about PDF, and a big merge of PDF source code, I'm not lucky
Don't work with http://cgit.freedesktop.org/libreoffice/core/commit/?id=d07e8fe18e470a08926cb43d2280f154277de137 and work with http://cgit.freedesktop.org/libreoffice/core/commit/?id=e1832ac55e11309815c1fd313fcef9868152fcd3
Stephan Bergmann committed a patch related to this issue.
It has been pushed to "master":
fdo#54744: Fix broken logic of string comparison
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.