From 7d76bb251e0c88ff17282a33b801a5d17a434af5 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 24 Jun 2016 13:00:46 +0200 Subject: vcl: add graphic export-as-pdf filter 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 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- include/vcl/graph.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/vcl/graph.hxx') diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx index cffafa7660de..697565dbd1e6 100644 --- a/include/vcl/graph.hxx +++ b/include/vcl/graph.hxx @@ -220,6 +220,9 @@ public: const SvgDataPtr& getSvgData() const; + void setPdfData(const css::uno::Sequence& rPdfData); + const css::uno::Sequence& getPdfData() const; + static css::uno::Sequence getUnoTunnelId(); }; -- cgit v1.2.3