Issue #168: When opening a PDF file or merging some PDF files, stamp will disappear.

This commit is contained in:
Jakub Melka
2024-02-29 19:40:43 +01:00
parent 344c341f65
commit a70f45c8a9
3 changed files with 17 additions and 1 deletions

View File

@ -924,6 +924,11 @@ PDFAnnotationPtr PDFAnnotation::parse(const PDFObjectStorage* storage, PDFObject
annotation->m_content = PDFRichMediaContent::parse(storage, dictionary->get("RichMediaContent"));
annotation->m_settings = PDFRichMediaSettings::parse(storage, dictionary->get("RichMediaSettings"));
}
else
{
// Fill unknown annotation
result.reset(new PDFUnknownAnnotation());
}
if (!result)
{