diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2024-06-07 12:31:10 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2024-06-11 12:49:05 +0200 |
commit | 2dc9d587cb38145141a4821006a09606e6625c35 (patch) | |
tree | ecd0a29ff888bd25c70e15b9c7518b77e3ee0e54 /include | |
parent | c89131d1c6dc4fe19f214ec800412c173c2420f0 (diff) |
annot: update annotation position, size, text when those change
Change-Id: I345f4c714ed4ca0c8277e0aedf5ea4b5cd70ea70
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168513
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/annotation/Annotation.hxx | 1 | ||||
-rw-r--r-- | include/svx/annotation/ObjectAnnotationData.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/annotation/Annotation.hxx b/include/svx/annotation/Annotation.hxx index 4001d97f406f..8ea57af4d88f 100644 --- a/include/svx/annotation/Annotation.hxx +++ b/include/svx/annotation/Annotation.hxx @@ -146,6 +146,7 @@ public: OUString GetText(); void SetText(OUString const& rText); + rtl::Reference<sdr::annotation::TextApiObject> getTextApiObject() { return m_TextRange; } SdrModel* GetModel() const; SdrPage const* getPage() const { return mpPage; } diff --git a/include/svx/annotation/ObjectAnnotationData.hxx b/include/svx/annotation/ObjectAnnotationData.hxx index bdba8ab5a5b9..44776638e64f 100644 --- a/include/svx/annotation/ObjectAnnotationData.hxx +++ b/include/svx/annotation/ObjectAnnotationData.hxx @@ -10,6 +10,7 @@ #pragma once #include <svx/svxdllapi.h> +#include <svx/annotation/Annotation.hxx> namespace sdr::annotation { |