- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OCROptions.h
Go to the documentation of this file.
1 // This file is autogenerated: please see the codegen template "Options"
2 #ifndef PDFTRON_H_CPPPDFOCROptions
3 #define PDFTRON_H_CPPPDFOCROptions
4
5 #include <PDF/OptionsBase.h>
6 #include <Common/UString.h>
7
8 namespace pdftron{ namespace PDF{
9
10 class OCROptions
11 {
12 public:
13 OCROptions();
14 ~OCROptions();
15
16
25 bool GetAutoRotate();
26
36 OCROptions& SetAutoRotate(bool value);
37
38
63 int GetDPI();
64
90 OCROptions& AddDPI(int dpi);
91
92
103 bool GetIgnoreExistingText();
104
116 OCROptions& SetIgnoreExistingText(bool value);
117
118
128 bool GetIncludeExistingText();
129
140 OCROptions& SetIncludeExistingText(bool value);
141
142
169 OCROptions& AddIgnoreZonesForPage(const RectCollection& regions, int page_num);
170
171
172
208 OCROptions& AddLang(const UString& lang);
209
210
218 UString GetOCREngine();
219
228 OCROptions& SetOCREngine(const UString& value);
229
230
231
243 OCROptions& AddTextZonesForPage(const RectCollection& regions, int page_num);
244
245
272 bool GetUsePDFPageCoords();
273
301 OCROptions& SetUsePDFPageCoords(bool value);
302
303 // @cond PRIVATE_DOC
304 #ifndef SWIGHIDDEN
305 SDF::Obj& GetInternalObj();
306
307 private:
308
309 SDF::ObjSet m_obj_set;
310 SDF::Obj m_dict;
311 #endif
312 // @endcond
313 };
314
315 }
316 }
317
318 #include "../Impl/OCROptions.inl"
319 #endif // PDFTRON_H_CPPPDFOCROptions
pdftron::PDF::OCROptions::SetIgnoreExistingText
OCROptions & SetIgnoreExistingText(bool value)
pdftron::PDF::OCROptions::GetAutoRotate
bool GetAutoRotate()
pdftron::SDF::ObjSet
Definition: ObjSet.h:17
pdftron::PDF::OCROptions::AddTextZonesForPage
OCROptions & AddTextZonesForPage(const RectCollection &regions, int page_num)
UString.h
pdftron::PDF::OCROptions::GetIgnoreExistingText
bool GetIgnoreExistingText()
pdftron::PDF::OCROptions
Definition: OCROptions.h:10
OptionsBase.h
pdftron::PDF::OCROptions::SetIncludeExistingText
OCROptions & SetIncludeExistingText(bool value)
pdftron::PDF::OCROptions::~OCROptions
~OCROptions()
pdftron::PDF::OCROptions::AddIgnoreZonesForPage
OCROptions & AddIgnoreZonesForPage(const RectCollection &regions, int page_num)
pdftron::PDF::RectCollection
Definition: RectCollection.h:9
pdftron::PDF::OCROptions::SetAutoRotate
OCROptions & SetAutoRotate(bool value)
pdftron::PDF::OCROptions::SetUsePDFPageCoords
OCROptions & SetUsePDFPageCoords(bool value)
pdftron::PDF::OCROptions::GetOCREngine
UString GetOCREngine()
pdftron::PDF::OCROptions::GetIncludeExistingText
bool GetIncludeExistingText()
pdftron::PDF::OCROptions::AddDPI
OCROptions & AddDPI(int dpi)
pdftron::PDF::OCROptions::OCROptions
OCROptions()
pdftron::SDF::Obj
Definition: Obj.h:40
pdftron::PDF::OCROptions::GetUsePDFPageCoords
bool GetUsePDFPageCoords()
pdftron::PDF::OCROptions::AddLang
OCROptions & AddLang(const UString &lang)
pdftron::PDF::OCROptions::GetDPI
int GetDPI()
pdftron::UString
Definition: UString.h:27
pdftron::PDF::OCROptions::SetOCREngine
OCROptions & SetOCREngine(const UString &value)