https://bugs.documentfoundation.org/show_bug.cgi?id=99513
V Stuart Foote <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #6 from V Stuart Foote <[email protected]> --- (In reply to Gianfranco Cecconi from comment #5) > ... > The hybrid PDF+ODG option V Stuart Foote talks about is very interesting, I > did not know about it. It is not clear from the help pages, however, how to > tell LibreOffice to re-open the hybrid PDF to take advantage of that. > Perhaps nothing is needed, and it's intentional. That is correct a LibreOffice generated Hybrid PDF simply opens back to the LibreOffice module that exported it. LibreOffice can not edit PDF! All we do is import PDF into any one of the LO modules with filters--Draw pages by default, Impress slides, or Writer text documents [1]. The LibreOffice "Hybrid PDF" format is a non-standard PDF hack. Basically when exporting to PDF we extend the PDF's container and embed a copy of the ODF document archive. That can be an original spreadsheet from Calc, or a text document from Writer, or a single page graphic from Draw. Or, even a Draw document containing a multipage PDF import as you've found. Unfortunately no Math formulas. In all cases--the export to PDF is done with our normal filter process. The only difference in the "Hybrid PDF" is appending the ODF archive (the document is saved to tmp in the process and then exported). PDF parsers other than LibreOffice will open the "Hybrid PDF", but ignore the extended ODF archive--they don't know what to do with it. But when LibreOffice again opens the "Hybrid PDF" archive it will detect the included ODF archive and rather than flushing the PDF back though the import filters will instead *reopen the ODF document* in the module as it was added. The intent for the project was to provide the source ODF document with the resulting PDF. Not to be able to directly edit the PDF but to allow the PDF to be *regenerated* after changes are made to the ODF document. The "problem" with the Hybrid PDF is that other programs *can* change the PDF content--but would make no change to the contained ODF, and when a LibreOffice user again opens the PDF they'd not see any changes made but only the original ODF. So, use with caution--if it works for you great, caveat emptor. As to changing the Draw or Impress canvas to support a multipage/multislide editing mode--it is not impossible, but would likely require a lot of dev effort to refactor. I simply don't believe it is necessary in the general use case for LibreOffice. =-note-= [1] To expose import filters other than to Draw, you need to set use of the LibreOffice dialogs from Tools -> Options -> General: Open/Save dialogs. Choosing the file type sets the import filter used when opening the PDF. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
