Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


hello,

i'm actually looking at https://bugs.freedesktop.org/show_bug.cgi?id=45168 .
"LibreOffice-Printing and PDF export enhancement/medium NEW Add Option to
crop Images in PDF Export"

As I understood, if an new option to be created is selected in the PDF
export dialog, the pdf writer must put in the pdf a smaller version of the
cropped image in the document.

If that's not right , please correct me.

If that's what expected, then :
A- have you any pointer on how to really crop the incoming image ?

B- the function
http://opengrok.libreoffice.org/xref/core/vcl/source/gdi/pdfwriter_impl.cxx#120his
almost an export test.
It's launch the first time you export a PDF.
I've defined DO_TEST_PDF, and the file pdf_export_test.pdf present in my
$HOME is corrupt. Evince & acroread 9.4.2 could not open it.
The idea is to modify the test function to include a smaller image.
If there is a more appropriate test in place where to add more test, fill
free to share it with me ;)

Michaël

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.