Loading...
Searching...
No Matches
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
8namespace pdftron{ namespace PDF{
9
11{
12public:
15
16
26
37
38
63 int GetDPI();
64
90 OCROptions& AddDPI(int dpi);
91
92
104
117
118
129
141
142
169 OCROptions& AddIgnoreZonesForPage(const RectCollection& regions, int page_num);
170
171
172
209
210
219
229
230
231
243 OCROptions& AddTextZonesForPage(const RectCollection& regions, int page_num);
244
245
273
302
303 // @cond PRIVATE_DOC
304 #ifndef SWIGHIDDEN
305 SDF::Obj& GetInternalObj();
306
307private:
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
OCROptions & AddTextZonesForPage(const RectCollection &regions, int page_num)
OCROptions & SetIncludeExistingText(bool value)
OCROptions & AddLang(const UString &lang)
OCROptions & SetUsePDFPageCoords(bool value)
OCROptions & AddIgnoreZonesForPage(const RectCollection &regions, int page_num)
OCROptions & SetIgnoreExistingText(bool value)
OCROptions & SetAutoRotate(bool value)
OCROptions & SetOCREngine(const UString &value)
OCROptions & AddDPI(int dpi)