[Libreoffice-bugs] [Bug 113936] Importing a PDF is slower compared to 5.4

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 21 14:43:25 UTC 2019


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

--- Comment #7 from Noel Grandin <noelgrandin at gmail.com> ---
The primary problem here is that we are parsing the whole file twice inside
pdfi::getAdditionalStream.

Once called from 
   pdfi::PDFDetector::detect
and once from
   pdfi::PDFIHybridAdaptor::filter

It looks like the code is trying to avoid just that situation by passing around
an "EmbeddedSubstream" css::beans::PropertyValue, but the path that is calling
the second time here does not seam to preserve that property.

Presumably there is some mechanism for these kinds of properties to be
preserved and passed on by the sfx2 layer? Can't quite see how to do that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190621/565d0256/attachment.html>


More information about the Libreoffice-bugs mailing list