summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorJaume Pujantell <jaume.pujantell@collabora.com>2023-06-05 11:49:41 +0200
committerAndras Timar <andras.timar@collabora.com>2023-06-08 21:53:59 +0200
commit53d610786ba8085fcce331174c74294c90c41a20 (patch)
tree3f4af2f6ebc0a22b5070a0a951d79f6221309fa9 /sd/inc
parent260bc16e1923016d0628a8779e219b290d4c9011 (diff)
pdfium: better suport for annotations and some fixes
Added suport to import FreeText annotations. Added some suport to export graphical annotations. Fixed some color issues to be more inline with the pdfium library. Change-Id: I7371595ebb95594ee765ae532ca7c7d4f0499592 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152606 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/Annotation.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/inc/Annotation.hxx b/sd/inc/Annotation.hxx
index 707f2cdc8e78..00870dc703e8 100644
--- a/sd/inc/Annotation.hxx
+++ b/sd/inc/Annotation.hxx
@@ -133,6 +133,10 @@ public:
return bool(m_pCustomAnnotationMarker);
}
+ void setIsFreeText(bool value) { m_bIsFreeText = value; }
+
+ bool isFreeText() const { return m_bIsFreeText; }
+
private:
// destructor is private and will be called indirectly by the release call virtual ~Annotation() {}
@@ -152,6 +156,7 @@ private:
rtl::Reference<TextApiObject> m_TextRange;
std::unique_ptr<CustomAnnotationMarker> m_pCustomAnnotationMarker;
+ bool m_bIsFreeText;
};
}