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-2023 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_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 
95  void SetHideBackgroundImages(bool hide_background_images);
96 
102  void SetHideImagesUnderText(bool hide_images_under_text);
103 
116  void SetHideImagesUnderInvisibleText(bool hide_images_under_invisible_text);
117 
123  void SetDoNotReflowTextOverImages(bool do_not_reflow_text_over_images);
124 
130  void SetFontOverrideName(UString font_family);
131 
137  void SetCustomStyles(UString styles);
138 
148  void SetIncludeBBoxForRecognizedZones(bool include);
149 
150 #ifndef SWIGHIDDEN
151  TRN_Reflow m_impl;
152 #endif
153 
154 private:
155 
156 #ifndef SWIGHIDDEN
157  mutable bool m_owner;
158 #endif
159 };
160 
161 #include <Impl/Reflow.inl>
162 } //end pdftron
163 } //end PDF
164 
165 
166 #endif //PDFTRON_H_CPPPDFReflow
Reflow & operator=(const Reflow &other)
void SetMessageWhenNoReflowContent(UString content)
void SetMessageWhenReflowFailed(UString content)
UString SetAnnot(UString in_json)
void SetHideBackgroundImages(bool hide_background_images)
void SetIncludeBBoxForRecognizedZones(bool include)
void SetFontOverrideName(UString font_family)
void SetIncludeImages(bool include)
TRN_Reflow m_impl
Definition: Reflow.h:151
void SetDoNotReflowTextOverImages(bool do_not_reflow_text_over_images)
void SetHTMLOutputTextMarkup(bool include)
void SetHideImagesUnderText(bool hide_images_under_text)
UString GetAnnot(UString in_id)
void SetHideImagesUnderInvisibleText(bool hide_images_under_invisible_text)
void SetCustomStyles(UString styles)