summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/filter/ipdf/pdfread.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/vcl/source/filter/ipdf/pdfread.cxx b/vcl/source/filter/ipdf/pdfread.cxx
index c7cf5794dffa..c60e8bb4a792 100644
--- a/vcl/source/filter/ipdf/pdfread.cxx
+++ b/vcl/source/filter/ipdf/pdfread.cxx
@@ -329,6 +329,16 @@ findAnnotations(const std::unique_ptr<vcl::pdf::PDFiumPage>& pPage, basegfx::B2D
{
auto pMarker = std::make_shared<vcl::pdf::PDFAnnotationMarkerFreeText>();
rPDFGraphicAnnotation.mpMarker = pMarker;
+ if (pAnnotation->hasKey(vcl::pdf::constDictionaryKey_DefaultStyle))
+ {
+ pMarker->maDefaultStyle
+ = pAnnotation->getString(vcl::pdf::constDictionaryKey_DefaultStyle);
+ }
+ if (pAnnotation->hasKey(vcl::pdf::constDictionaryKey_RichContent))
+ {
+ pMarker->maRichContent
+ = pAnnotation->getString(vcl::pdf::constDictionaryKey_RichContent);
+ }
}
else if (eSubtype == vcl::pdf::PDFAnnotationSubType::Stamp)
{