vcl: add graphic export-as-pdf filter

Desktop / LibreOffice - Miklos Vajna [collabora.co.uk] - 24 June 2016 06:51 UTC

In case the metafile was imported from a PDF originally, then this allows storing the PDF stream next to the graphic. This means that e.g. in Writer choosing 'Save' from the context menu of the graphic can write the original PDF stream, not the replacement metafile.

Change-Id: I4ab45d5af17fe46d7538df6d79d6b57ed163572a Reviewed-on: https://gerrit.libreoffice.org/26628

7d76bb2 vcl: add graphic export-as-pdf filter
filter/Configuration_filter.mk | 1 +
.../internalgraphicfilters/pdf_Export.xcu | 17 +++++++++++++++++
include/vcl/gfxlink.hxx | 5 +++--
include/vcl/graph.hxx | 3 +++
include/vcl/graphicfilter.hxx | 1 +
svx/source/core/graphichelper.cxx | 3 +++
svx/source/xoutdev/_xoutbmp.cxx | 20 ++++++++++++++++++++
vcl/inc/impgraph.hxx | 1 +
vcl/source/filter/FilterConfigCache.cxx | 2 +-
vcl/source/filter/graphicfilter.cxx | 2 ++
vcl/source/filter/ipdf/pdfread.cxx | 7 +++++++
vcl/source/gdi/graph.cxx | 11 +++++++++++
vcl/source/gdi/impgraph.cxx | 9 +++++++++
13 files changed, 79 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share