diff options
author | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2018-04-02 20:34:11 -0400 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-06-07 10:45:19 +0200 |
commit | eb02d79c19405a39aac0af472116a1b99beb2cc6 (patch) | |
tree | 1e73deb831a97a997c85a2fde3d7a1499f9250f5 /include/svx/svdograf.hxx | |
parent | 455878f78ef6322f8b7832ddd22b4f64a05d3756 (diff) |
vcl: svx: preserve the imported PDF page number in Graphic
Change-Id: I1bb3fa7d44d5f92df2bb8c4ed4b85ccd984c2617
Diffstat (limited to 'include/svx/svdograf.hxx')
-rw-r--r-- | include/svx/svdograf.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx index 24f56557df1a..8171f353936d 100644 --- a/include/svx/svdograf.hxx +++ b/include/svx/svdograf.hxx @@ -22,6 +22,7 @@ #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/graphic/XGraphic.hpp> +#include <com/sun/star/uno/Sequence.hxx> #include <vcl/graph.hxx> #include <svx/svdorect.hxx> #include <vcl/GraphicObject.hxx> @@ -203,6 +204,11 @@ public: bool isEmbeddedVectorGraphicData() const; GDIMetaFile getMetafileFromEmbeddedVectorGraphicData() const; + bool isEmbeddedPdfData() const; + std::shared_ptr<css::uno::Sequence<sal_Int8>> getEmbeddedPdfData() const; + /// Returns the page number of the embedded data (typically to re-render or import it). + sal_Int32 getEmbeddedPageNumber() const; + virtual SdrObject* DoConvertToPolyObj(bool bBezier, bool bAddText) const override; virtual void AdjustToMaxRect( const tools::Rectangle& rMaxRect, bool bShrinkOnly = false ) override; |