- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FindReplaceOptions.h
Go to the documentation of this file.
1 // This file is autogenerated: please see the codegen template "Options"
2 #ifndef PDFTRON_H_CPPPDFFindReplaceOptions
3 #define PDFTRON_H_CPPPDFFindReplaceOptions
4
5 #include <PDF/OptionsBase.h>
6
7 namespace pdftron{ namespace PDF{
8
9 class FindReplaceOptions : public OptionsBase
10 {
11 public:
16 enum HorizAlignment
17 {
18 e_left = 1,
19 e_center = 2,
20 e_right = 3,
21 e_full = 4
22 };
23
28 enum ReflowType
29 {
30 e_text = 1,
31 e_line = 2,
32 e_para = 3
33 };
34
38 enum MatchType
39 {
40 e_exact = 1,
41 e_wildcards = 2,
42 e_regex = 3
43 };
44
45 FindReplaceOptions();
46 ~FindReplaceOptions();
47
48
54 HorizAlignment GetAlignment();
55
62 FindReplaceOptions& SetAlignment(HorizAlignment value);
63
64
72 UInt32 GetBatchSize();
73
82 FindReplaceOptions& SetBatchSize(UInt32 value);
83
84
91 bool GetMatchCase();
92
100 FindReplaceOptions& SetMatchCase(bool value);
101
102
109 MatchType GetMatchMode();
110
118 FindReplaceOptions& SetMatchMode(MatchType value);
119
120
128 UString GetPages();
129
138 FindReplaceOptions& SetPages(const UString& value);
139
140
146 ReflowType GetReflowMode();
147
154 FindReplaceOptions& SetReflowMode(ReflowType value);
155
156
163 bool GetWholeWords();
164
172 FindReplaceOptions& SetWholeWords(bool value);
173
174
175 };
176
177 }
178 }
179
180 #include "../Impl/FindReplaceOptions.inl"
181 #endif // PDFTRON_H_CPPPDFFindReplaceOptions
pdftron::PDF::FindReplaceOptions::e_para
Reflow the whole paragraph of changed text.
Definition: FindReplaceOptions.h:32
pdftron::PDF::FindReplaceOptions::ReflowType
ReflowType
Definition: FindReplaceOptions.h:28
pdftron::PDF::FindReplaceOptions::GetMatchCase
bool GetMatchCase()
pdftron::PDF::FindReplaceOptions
Definition: FindReplaceOptions.h:9
pdftron::PDF::FindReplaceOptions::e_line
Reflow the whole line of the changed text.
Definition: FindReplaceOptions.h:31
pdftron::PDF::FindReplaceOptions::e_full
Apply full alignment to the new text.
Definition: FindReplaceOptions.h:21
pdftron::PDF::FindReplaceOptions::e_regex
Use of regular expressions to match the text is allowed.
Definition: FindReplaceOptions.h:42
pdftron::PDF::FindReplaceOptions::HorizAlignment
HorizAlignment
Definition: FindReplaceOptions.h:16
pdftron::PDF::FindReplaceOptions::e_right
Apply right alignment to the new text.
Definition: FindReplaceOptions.h:20
pdftron::PDF::FindReplaceOptions::SetPages
FindReplaceOptions & SetPages(const UString &value)
pdftron::PDF::FindReplaceOptions::GetMatchMode
MatchType GetMatchMode()
OptionsBase.h
pdftron::PDF::FindReplaceOptions::e_center
Apply center alignment to the new text.
Definition: FindReplaceOptions.h:19
pdftron::PDF::FindReplaceOptions::GetAlignment
HorizAlignment GetAlignment()
pdftron::PDF::FindReplaceOptions::SetAlignment
FindReplaceOptions & SetAlignment(HorizAlignment value)
pdftron::PDF::FindReplaceOptions::SetMatchCase
FindReplaceOptions & SetMatchCase(bool value)
pdftron::UInt32
TRN_UInt32 UInt32
Definition: BasicTypes.h:13
pdftron::PDF::FindReplaceOptions::e_text
Reflow just the changed text.
Definition: FindReplaceOptions.h:30
pdftron::PDF::FindReplaceOptions::GetWholeWords
bool GetWholeWords()
pdftron::PDF::FindReplaceOptions::SetReflowMode
FindReplaceOptions & SetReflowMode(ReflowType value)
pdftron::PDF::FindReplaceOptions::SetMatchMode
FindReplaceOptions & SetMatchMode(MatchType value)
pdftron::PDF::FindReplaceOptions::SetWholeWords
FindReplaceOptions & SetWholeWords(bool value)
pdftron::PDF::FindReplaceOptions::~FindReplaceOptions
~FindReplaceOptions()
pdftron::PDF::FindReplaceOptions::MatchType
MatchType
Definition: FindReplaceOptions.h:38
pdftron::PDF::FindReplaceOptions::e_exact
Exactly match the text.
Definition: FindReplaceOptions.h:40
pdftron::PDF::FindReplaceOptions::e_wildcards
Use of wildcards to match the text is allowed.
Definition: FindReplaceOptions.h:41
pdftron::PDF::FindReplaceOptions::e_left
Apply left alignment to the new text.
Definition: FindReplaceOptions.h:18
pdftron::PDF::FindReplaceOptions::GetReflowMode
ReflowType GetReflowMode()
pdftron::PDF::FindReplaceOptions::GetBatchSize
UInt32 GetBatchSize()
pdftron::PDF::OptionsBase
Definition: OptionsBase.h:12
pdftron::PDF::FindReplaceOptions::GetPages
UString GetPages()
pdftron::PDF::FindReplaceOptions::FindReplaceOptions
FindReplaceOptions()
pdftron::PDF::FindReplaceOptions::SetBatchSize
FindReplaceOptions & SetBatchSize(UInt32 value)
pdftron::UString
Definition: UString.h:27