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
16namespace pdftron { namespace PDF {
17
18
26class Reflow
27{
28public:
30 Reflow(const Reflow& other);
31 Reflow(TRN_Reflow impl);
32 Reflow& operator= (const Reflow& other);
34
35 void Destroy();
36
37 //methods:
38
45
53
61
67 void SetIncludeImages(bool include);
68
74 void SetHTMLOutputTextMarkup(bool include);
75
82
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
138
149
150#ifndef SWIGHIDDEN
151 TRN_Reflow m_impl;
152#endif
153
154private:
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(const Reflow &other)
void SetIncludeBBoxForRecognizedZones(bool include)
void SetFontOverrideName(UString font_family)
void SetCustomStyles(UString styles)
void SetMessageWhenReflowFailed(UString content)
Reflow & operator=(const Reflow &other)
void SetHTMLOutputTextMarkup(bool include)
void SetIncludeImages(bool include)
Reflow(TRN_Reflow impl)
UString GetAnnot(UString in_id)
void SetHideBackgroundImages(bool hide_background_images)
void SetMessageWhenNoReflowContent(UString content)
TRN_Reflow m_impl
Definition Reflow.h:151
UString SetAnnot(UString in_json)
void SetHideImagesUnderText(bool hide_images_under_text)
void SetDoNotReflowTextOverImages(bool do_not_reflow_text_over_images)
void SetHideImagesUnderInvisibleText(bool hide_images_under_invisible_text)