sd draw page: add PreviewMetafile UNO property

Desktop / LibreOffice - Miklos Vajna [collabora.co.uk] - 28 June 2016 09:34 UTC

This allows an unnecessary GDIMetaFile -> WMF -> GDIMetaFile roundtrip, and also avoids the odd black border at the bottom / right of the preview metafile in the PDF import-as-graphic filter.

Change-Id: I7e3e782bbe0cf56def352e23b60864bb7773b607 Reviewed-on: https://gerrit.libreoffice.org/26743

0ffe9eb sd draw page: add PreviewMetafile UNO property
sd/source/ui/inc/unoprnms.hxx | 1 +
sd/source/ui/unoidl/unopage.cxx | 15 ++++++++++++---
vcl/source/filter/ipdf/pdfread.cxx | 5 ++---
3 files changed, 15 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share