mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #168: When opening a PDF file or merging some PDF files, stamp will disappear.
This commit is contained in:
@@ -84,7 +84,8 @@ enum class AnnotationType
|
||||
Redact,
|
||||
Projection,
|
||||
_3D,
|
||||
RichMedia
|
||||
RichMedia,
|
||||
Unknown
|
||||
};
|
||||
|
||||
enum class AnnotationLineEnding
|
||||
@@ -1317,6 +1318,15 @@ public:
|
||||
virtual AnnotationType getType() const override { return AnnotationType::TrapNet; }
|
||||
};
|
||||
|
||||
/// Unknown (not recognized) annotation.
|
||||
class PDFUnknownAnnotation : public PDFAnnotation
|
||||
{
|
||||
public:
|
||||
inline explicit PDFUnknownAnnotation() = default;
|
||||
|
||||
virtual AnnotationType getType() const override { return AnnotationType::Unknown; }
|
||||
};
|
||||
|
||||
/// Watermark annotation represents watermark displayed on the page,
|
||||
/// for example, if it is printed. Watermarks are displayed at fixed
|
||||
/// position and size on the page.
|
||||
|
Reference in New Issue
Block a user