All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DocumentConversion.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2024 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_CPPPDFDocumentConversion
9 #define PDFTRON_H_CPPPDFDocumentConversion
10 #include <C/PDF/TRN_DocumentConversion.h>
11 
12 #include <Common/BasicTypes.h>
13 #include <Common/UString.h>
14 #include <PDF/PDFDoc.h>
15 
16 namespace pdftron { namespace PDF {
17 
18 
27 {
28 public:
29  enum Result {
30  eSuccess = 0,
33  };
36  DocumentConversion(TRN_DocumentConversion impl);
39  void Destroy();
40 
47 
52  void Convert();
53 
58  void ConvertNextPage();
59 
65  PDFDoc GetDoc();
66 
73 
78  void CancelConversion();
79 
85  bool IsCancelled() const;
86 
92  bool HasProgressTracking() const;
93 
99  double GetProgress() const;
100 
106  UString GetProgressLabel() const;
107 
114 
120  UString GetErrorString() const;
121 
127  UInt32 GetNumWarnings() const;
128 
135  UString GetWarningString(UInt32 index) const;
136 
143 
150 
155  void SkipNextExcelSheet();
156 
157  //for xamarin use only
158  static DocumentConversion* CreateInternal(ptrdiff_t impl);
159  ptrdiff_t GetHandleInternal();
160 
161 
162 
163 #ifndef SWIGHIDDEN
164  TRN_DocumentConversion m_impl;
165 #endif
166 
167 private:
168 
169 };
170 
171 #include <Impl/DocumentConversion.inl>
172 } //end pdftron
173 } //end PDF
174 
175 
176 #endif //PDFTRON_H_CPPPDFDocumentConversion
UString GetWarningString(UInt32 index) const
DocumentConversion & operator=(const DocumentConversion &other)
UInt32 GetNextExcelSheetCellCount() const
UInt32 GetNumConvertedPages() const
TRN_UInt32 UInt32
Definition: BasicTypes.h:13
static DocumentConversion * CreateInternal(ptrdiff_t impl)
UString GetCurrentExcelSheetName() const