Loading...
Searching...
No Matches
Reflow.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_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
81 void SetMessageWhenNoReflowContent(UString content);
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
BasicTypes.h
PDFDoc.h
UString.h
pdftron::PDF::Reflow::Reflow
Reflow()
pdftron::PDF::Reflow::Reflow
Reflow(const Reflow &other)
pdftron::PDF::Reflow::SetIncludeBBoxForRecognizedZones
void SetIncludeBBoxForRecognizedZones(bool include)
pdftron::PDF::Reflow::SetFontOverrideName
void SetFontOverrideName(UString font_family)
pdftron::PDF::Reflow::SetCustomStyles
void SetCustomStyles(UString styles)
pdftron::PDF::Reflow::SetMessageWhenReflowFailed
void SetMessageWhenReflowFailed(UString content)
pdftron::PDF::Reflow::operator=
Reflow & operator=(const Reflow &other)
pdftron::PDF::Reflow::SetHTMLOutputTextMarkup
void SetHTMLOutputTextMarkup(bool include)
pdftron::PDF::Reflow::~Reflow
~Reflow()
pdftron::PDF::Reflow::SetIncludeImages
void SetIncludeImages(bool include)
pdftron::PDF::Reflow::Reflow
Reflow(TRN_Reflow impl)
pdftron::PDF::Reflow::GetAnnot
UString GetAnnot(UString in_id)
pdftron::PDF::Reflow::SetHideBackgroundImages
void SetHideBackgroundImages(bool hide_background_images)
pdftron::PDF::Reflow::SetMessageWhenNoReflowContent
void SetMessageWhenNoReflowContent(UString content)
pdftron::PDF::Reflow::m_impl
TRN_Reflow m_impl
Definition Reflow.h:151
pdftron::PDF::Reflow::Destroy
void Destroy()
pdftron::PDF::Reflow::SetAnnot
UString SetAnnot(UString in_json)
pdftron::PDF::Reflow::SetHideImagesUnderText
void SetHideImagesUnderText(bool hide_images_under_text)
pdftron::PDF::Reflow::GetHtml
UString GetHtml()
pdftron::PDF::Reflow::SetDoNotReflowTextOverImages
void SetDoNotReflowTextOverImages(bool do_not_reflow_text_over_images)
pdftron::PDF::Reflow::SetHideImagesUnderInvisibleText
void SetHideImagesUnderInvisibleText(bool hide_images_under_invisible_text)
pdftron::UString
Definition UString.h:28
pdftron::PDF
Definition Action.h:15
pdftron
Definition BasicTypes.h:10