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-01 08:59:11 +0200 |
commit | 97aaca9355dda3fcf47888d634c9bd48f3771b95 (patch) | |
tree | e967a4275732db9d98380c25f6f844a334966d84 /include | |
parent | 6b699d15956faa880784011dfa01b16eef900fe3 (diff) |
vcl: svx: preserve the imported PDF page number in Graphic
Change-Id: I1bb3fa7d44d5f92df2bb8c4ed4b85ccd984c2617
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdograf.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx index 8cec296d2909..aa7a6c221506 100644 --- a/include/svx/svdograf.hxx +++ b/include/svx/svdograf.hxx @@ -21,6 +21,8 @@ #define INCLUDED_SVX_SVDOGRAF_HXX #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 <svtools/grfmgr.hxx> @@ -191,6 +193,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; |