https://bugs.documentfoundation.org/show_bug.cgi?id=95328

--- Comment #7 from V Stuart Foote <[email protected]> ---
(In reply to kurt.pfeifle from comment #6)

> But for *that*, please create a new bugzilla item. Don't hijack an existing
> item. Or don't artificially extend the scope of the current item and thusly
> create an excuse to close it.
> 

As I said, my first inclination was to Close as Wontfix the original
suggestion; Hybrid PDF is a corner case use that functions well for LibreOffice
needs as implemented. Very comfortable to have done that ;-)

Beyond that--it is already "hijacked" and clarifies what was a poorly composed
enhancement request--that would have been closed otherwise. 

It has now been given an appropriate extended scope & summary, the what and why
of implementing ISO 32000-1 attachment rather than our existing appending--and
in passing fulfilling the OPs more limited request.


(In reply to kurt.pfeifle from comment #6)

> Oh! And how do you currently open a Hybrid PDF with LO?!??
> 
> (You look at the key special entry in the trailer section. You can still
> keep that, or a slightly modified key entry for LO's benefit to make it
> easier to recognize its own source document format as being embedded. But
> add the other modifications for the benefit of other PDF processing
> applications to recognize the embedded file.)

Not sure... Reading the code, for import it looks like we parse everything
beyond the PDF ending--and extract our content streams of interest matched only
against MIME type. When exporting, we end the PDF stream, and then append a
stream holding the source ODF archive. So we are not now inside the PDF
structure at all.

=-refs-=

Import
http://opengrok.libreoffice.org/xref/core/sdext/source/pdfimport/filterdet.hxx#94
http://opengrok.libreoffice.org/xref/core/sdext/source/pdfimport/filterdet.cxx#305

Export
http://opengrok.libreoffice.org/xref/core/officecfg/registry/schema/org/openoffice/Office/Common.xcs#5195
http://opengrok.libreoffice.org/xref/core/filter/source/pdf/pdfexport.cxx#261

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to