All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ExternalAnnotManager.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2020 by PDFTron Systems Inc. All Rights Reserved.
3 // Consult legal.txt regarding legal and license information.
4 //---------------------------------------------------------------------------------------
5 // !Warning! This file is autogenerated, modify the .codegen file, not this one
6 // (any changes here will be wiped out during the autogen process)
7 
8 #ifndef PDFTRON_H_CPPPDFExternalAnnotManager
9 #define PDFTRON_H_CPPPDFExternalAnnotManager
10 #include <C/PDF/TRN_ExternalAnnotManager.h>
11 #include <Common/BasicTypes.h>
12 #include <Common/UString.h>
13 #include <PDF/PDFDoc.h>
14 
15 namespace pdftron { namespace PDF {
16 
17 
26 {
27 public:
30  ExternalAnnotManager(TRN_ExternalAnnotManager impl);
33 
34  void Destroy();
35 
36  //methods:
37 
43  void MergeXFDF(UString xfdf_content);
44 
50  UString Undo();
51 
57  UString GetLastXFDF() const;
58 
64  UString Redo();
65 
72 
79 
86  UString TakeSnapshot(UString payload);
87 
88 #ifndef SWIGHIDDEN
89  TRN_ExternalAnnotManager m_impl;
90 #endif
91 
92 private:
93 
94 #ifndef SWIGHIDDEN
95  mutable bool m_owner;
96 #endif
97 };
98 
99 #include <Impl/ExternalAnnotManager.inl>
100 } //end pdftron
101 } //end PDF
102 
103 
104 #endif //PDFTRON_H_CPPPDFExternalAnnotManager
UString TakeSnapshot(UString payload)
ExternalAnnotManager & operator=(const ExternalAnnotManager &other)
void MergeXFDF(UString xfdf_content)