diff options
Diffstat (limited to 'writerfilter/source/rtftok/rtfvalue.hxx')
-rw-r--r-- | writerfilter/source/rtftok/rtfvalue.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/writerfilter/source/rtftok/rtfvalue.hxx b/writerfilter/source/rtftok/rtfvalue.hxx index eeb973094021..689258175507 100644 --- a/writerfilter/source/rtftok/rtfvalue.hxx +++ b/writerfilter/source/rtftok/rtfvalue.hxx @@ -20,6 +20,7 @@ namespace rtftok { class RTFSprms; class RTFShape; +class RTFPicture; /// Value of an RTF keyword class RTFValue : public Value @@ -30,7 +31,7 @@ public: css::uno::Reference<css::drawing::XShape> const& xShape, css::uno::Reference<css::io::XInputStream> const& xStream, css::uno::Reference<css::embed::XEmbeddedObject> const& xObject, - bool bForceString, const RTFShape& aShape); + bool bForceString, const RTFShape& aShape, const RTFPicture& rPicture); RTFValue(); RTFValue(int nValue); RTFValue(const OUString& sValue, bool bForce = false); @@ -40,6 +41,7 @@ public: RTFValue(css::uno::Reference<css::io::XInputStream> const& xStream); RTFValue(css::uno::Reference<css::embed::XEmbeddedObject> const& xObject); RTFValue(const RTFShape& aShape); + RTFValue(const RTFPicture& rPicture); virtual ~RTFValue() override; void setString(const OUString& sValue); virtual int getInt() const override; @@ -55,6 +57,7 @@ public: RTFSprms& getAttributes(); RTFSprms& getSprms(); RTFShape& getShape() const; + RTFPicture& getPicture() const; bool equals(RTFValue& rOther); private: RTFValue& operator=(RTFValue const& rOther) = delete; @@ -67,6 +70,7 @@ private: css::uno::Reference<css::embed::XEmbeddedObject> m_xObject; bool m_bForceString; std::shared_ptr<RTFShape> m_pShape; + std::shared_ptr<RTFPicture> m_pPicture; }; } // namespace rtftok } // namespace writerfilter |