Loading...
Searching...
No Matches
ExternalAnnotManager.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// !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
15namespace pdftron { namespace PDF {
16
17
26{
27public:
28 enum Mode // Important: all collaborators need to use the same Mode
29 {
30 e_user_only, // each user can only edit the annotations they created
31 e_admin_undo_others, // all the annotations can be edited, can undo yours and other's changes
32 e_admin_undo_own // all the annotations can be edited, can undo only your changes. Incremental save is not supported in this mode
33 };
34
37 ExternalAnnotManager(TRN_ExternalAnnotManager impl);
40
41 void Destroy();
42
43 //methods:
44
50 void MergeXFDF(UString xfdf_content);
51
58
65
72
79
86
93
101
102#ifndef SWIGHIDDEN
103 TRN_ExternalAnnotManager m_impl;
104#endif
105
106private:
107
108#ifndef SWIGHIDDEN
109 mutable bool m_owner;
110#endif
111};
112
113#include <Impl/ExternalAnnotManager.inl>
114} //end pdftron
115} //end PDF
116
117
118#endif //PDFTRON_H_CPPPDFExternalAnnotManager
void MergeXFDF(UString xfdf_content)
UString TakeSnapshot(UString payload)
ExternalAnnotManager(TRN_ExternalAnnotManager impl)
ExternalAnnotManager(const ExternalAnnotManager &other)
ExternalAnnotManager & operator=(const ExternalAnnotManager &other)