All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Reflow.h
Go to the documentation of this file.
1 //---------------------------------------------------------------------------------------
2 // Copyright (c) 2001-2021 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_CPPPDFReflow
9 #define PDFTRON_H_CPPPDFReflow
10 #include <C/PDF/TRN_Reflow.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 
26 class Reflow
27 {
28 public:
29  Reflow();
30  Reflow(const Reflow& other);
31  Reflow(TRN_Reflow impl);
32  Reflow& operator= (const Reflow& other);
33  ~Reflow();
34 
35  void Destroy();
36 
37  //methods:
38 
44  UString GetHtml();
45 
52  UString GetAnnot(UString in_id);
53 
60  UString SetAnnot(UString in_json);
61 
67  void SetIncludeImages(bool include);
68 
74  void SetHTMLOutputTextMarkup(bool include);
75 
82 
88  void SetMessageWhenReflowFailed(UString content);
89 
90 #ifndef SWIGHIDDEN
91  TRN_Reflow m_impl;
92 #endif
93 
94 private:
95 
96 #ifndef SWIGHIDDEN
97  mutable bool m_owner;
98 #endif
99 };
100 
101 #include <Impl/Reflow.inl>
102 } //end pdftron
103 } //end PDF
104 
105 
106 #endif //PDFTRON_H_CPPPDFReflow
Reflow & operator=(const Reflow &other)
void SetMessageWhenNoReflowContent(UString content)
void SetMessageWhenReflowFailed(UString content)
UString SetAnnot(UString in_json)
void SetIncludeImages(bool include)
TRN_Reflow m_impl
Definition: Reflow.h:91
void SetHTMLOutputTextMarkup(bool include)
UString GetAnnot(UString in_id)