diff options
Diffstat (limited to 'include/drawinglayer/primitive2d/controlprimitive2d.hxx')
-rw-r--r-- | include/drawinglayer/primitive2d/controlprimitive2d.hxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/drawinglayer/primitive2d/controlprimitive2d.hxx b/include/drawinglayer/primitive2d/controlprimitive2d.hxx index e33c26886cd9..a7128b7f7322 100644 --- a/include/drawinglayer/primitive2d/controlprimitive2d.hxx +++ b/include/drawinglayer/primitive2d/controlprimitive2d.hxx @@ -58,6 +58,9 @@ private: /// yet another special snowflake way to generate PDF Alt text OUString m_AltText; + /// anchor structure element (Writer) + void const* const m_pAnchorStructureElementKey; + /** used from getXControl() to create a local awt::XControl which is remembered in mxXControl and from thereon always used and returned by getXControl() */ @@ -81,7 +84,8 @@ public: ControlPrimitive2D(basegfx::B2DHomMatrix aTransform, css::uno::Reference<css::awt::XControlModel> xControlModel, css::uno::Reference<css::awt::XControl> xXControl, - ::std::u16string_view rTitle, ::std::u16string_view rDescription); + ::std::u16string_view rTitle, ::std::u16string_view rDescription, + void const* pAnchorKey); /// data read access const basegfx::B2DHomMatrix& getTransform() const { return maTransform; } @@ -98,6 +102,8 @@ public: OUString const& GetAltText() const { return m_AltText; } + void const* GetAnchorStructureElementKey() const { return m_pAnchorStructureElementKey; } + /// compare operator virtual bool operator==(const BasePrimitive2D& rPrimitive) const override; |