- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DisallowedChange.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2025 by Apryse Software Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5
6 #ifndef PDFTRON_H_CPPPDFDisallowedChange
7 #define PDFTRON_H_CPPPDFDisallowedChange
8 #include <C/PDF/TRN_DisallowedChange.h>
9
10 #include <Common/BasicTypes.h>
11 #include <Common/UString.h>
12 #include <PDF/PDFDoc.h>
13
14 namespace pdftron { namespace PDF {
15
16
24 class DisallowedChange
25 {
26 public:
27 //enums:
28 enum Type {
29 e_form_filled = 0,
30 e_digital_signature_signed = 1,
31 e_page_template_instantiated = 2,
32 e_annotation_created_or_updated_or_deleted = 3,
33 e_other = 4,
34 e_unknown = 5
35 };
36 DisallowedChange();
37 DisallowedChange(const DisallowedChange& other);
38 DisallowedChange(TRN_DisallowedChange impl);
39 DisallowedChange& operator= (const DisallowedChange& other);
40 ~DisallowedChange();
41
42 void Destroy();
43
44 //methods:
45
51 UInt32 GetObjNum() const;
52
58 Type GetType() const;
59
65 UString GetTypeAsString() const;
66
67 #ifndef SWIGHIDDEN
68 TRN_DisallowedChange m_impl;
69 #endif
70
71 private:
72
73 #ifndef SWIGHIDDEN
74 mutable bool m_owner;
75 #endif
76 };
77
78 #include <Impl/DisallowedChange.inl>
79 } //end pdftron
80 } //end PDF
81
82
83 #endif //PDFTRON_H_CPPPDFDisallowedChange
pdftron::PDF::DisallowedChange
Definition: DisallowedChange.h:24
UString.h
pdftron::PDF::DisallowedChange::m_impl
TRN_DisallowedChange m_impl
Definition: DisallowedChange.h:68
pdftron::PDF::DisallowedChange::GetTypeAsString
UString GetTypeAsString() const
pdftron::PDF::DisallowedChange::e_unknown
Definition: DisallowedChange.h:34
pdftron::PDF::DisallowedChange::GetType
Type GetType() const
pdftron::PDF::DisallowedChange::GetObjNum
UInt32 GetObjNum() const
pdftron::PDF::DisallowedChange::e_form_filled
Definition: DisallowedChange.h:29
pdftron::PDF::DisallowedChange::e_other
Definition: DisallowedChange.h:33
pdftron::UInt32
TRN_UInt32 UInt32
Definition: BasicTypes.h:13
PDFDoc.h
pdftron::PDF::DisallowedChange::DisallowedChange
DisallowedChange()
pdftron::PDF::DisallowedChange::Destroy
void Destroy()
pdftron::PDF::DisallowedChange::~DisallowedChange
~DisallowedChange()
BasicTypes.h
pdftron::PDF::DisallowedChange::operator=
DisallowedChange & operator=(const DisallowedChange &other)
pdftron::PDF::DisallowedChange::e_digital_signature_signed
Definition: DisallowedChange.h:30
pdftron::PDF::DisallowedChange::Type
Type
Definition: DisallowedChange.h:28
pdftron::PDF::DisallowedChange::e_page_template_instantiated
Definition: DisallowedChange.h:31
pdftron::PDF::DisallowedChange::e_annotation_created_or_updated_or_deleted
Definition: DisallowedChange.h:32
pdftron::UString
Definition: UString.h:27