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

--- Comment #18 from Dave Gilbert <[email protected]> ---
(In reply to Miklos Vajna from comment #17)
> I think convertToHighestSupported() is about a use-case where you insert a
> PDF image using PDF 1.7, but the LO PDF export would emit PDF 1.6, so you
> need to downconvert the PDF image to an older PDF markup. I believe this was
> initially added in core.git 37bdf1659ddb11d8706289511623cc7c8b0d264b

OK, I hadn't appreciated that there was any link between import and export; I'd
assumed this import just stashed the image and that was what the export ended
up exporting.

So now we have at least 3 things in play:

  a) The original PDF
  b) The 1.6 downconverted version for export
  c) The images

That downconversion for export is actually the 1st pdfium call that we do on
import,
but then nothing else uses the result of that (except I guess the export?!) -
which is a pain, since having fixed it to ask for the password, the converted
copy would now be great
for it to use everywhere else.

I also need to make sure the version that's saved into the odf is decrypted.

OK, so I'll go and hunt down where the next PDFium open calls are coming from;
and understand where (a) and (b) above are both stored in.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to