[Libreoffice-bugs] [Bug 133546] LibODev 7.0 Beta 1 regression in insertion of PDF image wrt image size

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Mar 28 17:28:47 UTC 2021


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

--- Comment #17 from sergio.callegari at gmail.com ---
Even 6.4 seems to have some issues with this in a particular condition:

If I open the document with LibO 6.4 it looks OK. If I export it to PDF via the
LibO 6.4 export interface, the PDF is OK.

However, if I try to export to PDF programmatically with this script:

Dim oPropPDF(3) As New com.sun.star.beans.PropertyValue
oPropPDF(0).Name="ExportNotesPages"
oPropPDF(0).Value=true
oPropPDF(1).Name="ExportBookmarks"
oPropPDF(1).Value=false
oPropPDF(2).Name="EmbedStandardFonts"
oPropPDF(2).Value=true

Dim oProp(3) As New com.sun.star.beans.PropertyValue
oProp(0).Name="Overwrite"
oProp(0).Value=true
oProp(1).Name="FilterName"
oProp(1).Value="impress_pdf_Export"
oProp(2).Name="FilterData"
oProp(2).Value=oPropPDF()

oDoc.storeToURL(pdfURL,oProp())

then the PDF image and cropping is wrong in the exported PDF.

I have been using this code for ages and I am pretty sure that it used to
produce good PDFs out of this document in the past... However I would not be
able to say how much in the past (autumn 2020 probably).

Any clue?

-- 
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/20210328/3351f4bf/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list