- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BarcodeOptions.h
Go to the documentation of this file.
1 // This file is autogenerated: please see the codegen template "Options"
2 #ifndef PDFTRON_H_CPPPDFBarcodeOptions
3 #define PDFTRON_H_CPPPDFBarcodeOptions
4
5 #include <PDF/OptionsBase.h>
6
7 namespace pdftron{ namespace PDF{
8
9 class BarcodeOptions : public OptionsBase
10 {
11 public:
16 enum BarcodeTypeGroup
17 {
18 e_none = 0,
19 e_linear = 1,
20 e_post_net_planet = 2,
21 e_four_state = 4,
22 e_gs1_databar_stacked = 8,
23 e_qr = 16,
24 e_data_matrix = 32,
25 e_aztec = 64,
26 e_maxi = 128,
27 e_micro_qr = 256,
28 e_pdf417 = 512,
29 e_micro_pdf417 = 1024,
30 e_patch_code = 2048,
31 e_pharma_code = 4096
32 };
33
41 enum BarcodeOrientation
42 {
43 e_horizontal = 1,
44 e_vertical = 2,
45 e_diagonal = 4
46 };
47
51 enum BarcodeProfile
52 {
53 e_high_quality_source_profile = 1,
54 e_low_quality_source_profile = 2,
55 e_small_barcodes_profile = 3,
56 e_natural_picture_profile = 4
57 };
58
62 enum OutputFormat
63 {
64 e_auto = 0,
65 e_binary = 1
66 };
67
68 BarcodeOptions();
69 ~BarcodeOptions();
70
71
84 UInt32 GetBarcodeOrientations();
85
99 BarcodeOptions& SetBarcodeOrientations(UInt32 value);
100
101
111 BarcodeProfile GetBarcodeProfile();
112
123 BarcodeOptions& SetBarcodeProfile(BarcodeProfile value);
124
125
137 UInt32 GetBarcodeSearchTypes();
138
151 BarcodeOptions& SetBarcodeSearchTypes(UInt32 value);
152
153
165 OutputFormat GetDataOutputFormat();
166
179 BarcodeOptions& SetDataOutputFormat(OutputFormat value);
180
181
190 UString GetPages();
191
201 BarcodeOptions& SetPages(const UString& value);
202
203
204 };
205
206 }
207 }
208
209 #include "../Impl/BarcodeOptions.inl"
210 #endif // PDFTRON_H_CPPPDFBarcodeOptions
pdftron::PDF::BarcodeOptions::e_maxi
Definition: BarcodeOptions.h:26
pdftron::PDF::BarcodeOptions::e_four_state
Definition: BarcodeOptions.h:21
pdftron::PDF::BarcodeOptions::e_post_net_planet
Definition: BarcodeOptions.h:20
pdftron::PDF::BarcodeOptions::e_qr
Definition: BarcodeOptions.h:23
pdftron::PDF::BarcodeOptions::BarcodeOptions
BarcodeOptions()
pdftron::PDF::BarcodeOptions::GetBarcodeProfile
BarcodeProfile GetBarcodeProfile()
pdftron::PDF::BarcodeOptions::SetBarcodeOrientations
BarcodeOptions & SetBarcodeOrientations(UInt32 value)
pdftron::PDF::BarcodeOptions::SetDataOutputFormat
BarcodeOptions & SetDataOutputFormat(OutputFormat value)
pdftron::PDF::BarcodeOptions::e_diagonal
Definition: BarcodeOptions.h:45
pdftron::PDF::BarcodeOptions
Definition: BarcodeOptions.h:9
pdftron::PDF::BarcodeOptions::e_small_barcodes_profile
This profile is suitable for vector graphics or scanned paper containing an unusually small barcode...
Definition: BarcodeOptions.h:55
pdftron::PDF::BarcodeOptions::BarcodeProfile
BarcodeProfile
Definition: BarcodeOptions.h:51
OptionsBase.h
pdftron::PDF::BarcodeOptions::e_pharma_code
Definition: BarcodeOptions.h:31
pdftron::PDF::BarcodeOptions::e_none
Definition: BarcodeOptions.h:18
pdftron::PDF::BarcodeOptions::BarcodeTypeGroup
BarcodeTypeGroup
Definition: BarcodeOptions.h:16
pdftron::PDF::BarcodeOptions::e_binary
The barcode data will be returned as a Base64-encoded binary stream.
Definition: BarcodeOptions.h:65
pdftron::PDF::BarcodeOptions::e_micro_pdf417
Definition: BarcodeOptions.h:29
pdftron::PDF::BarcodeOptions::e_data_matrix
Definition: BarcodeOptions.h:24
pdftron::PDF::BarcodeOptions::BarcodeOrientation
BarcodeOrientation
Definition: BarcodeOptions.h:41
pdftron::PDF::BarcodeOptions::GetPages
UString GetPages()
pdftron::PDF::BarcodeOptions::e_auto
The default setting. The barcode data will be decoded to a string if possible. Otherwise, a Base64-encoded binary stream will be used.
Definition: BarcodeOptions.h:64
pdftron::UInt32
TRN_UInt32 UInt32
Definition: BasicTypes.h:13
pdftron::PDF::BarcodeOptions::SetBarcodeSearchTypes
BarcodeOptions & SetBarcodeSearchTypes(UInt32 value)
pdftron::PDF::BarcodeOptions::e_natural_picture_profile
This profile should be selected for natural pictures, such as photographs of real-world objects that ...
Definition: BarcodeOptions.h:56
pdftron::PDF::BarcodeOptions::e_low_quality_source_profile
This profile is useful for scanned paper of very poor quality, such as a very low resolution or a lot...
Definition: BarcodeOptions.h:54
pdftron::PDF::BarcodeOptions::SetPages
BarcodeOptions & SetPages(const UString &value)
pdftron::PDF::BarcodeOptions::e_horizontal
Definition: BarcodeOptions.h:43
pdftron::PDF::BarcodeOptions::SetBarcodeProfile
BarcodeOptions & SetBarcodeProfile(BarcodeProfile value)
pdftron::PDF::BarcodeOptions::~BarcodeOptions
~BarcodeOptions()
pdftron::PDF::BarcodeOptions::OutputFormat
OutputFormat
Definition: BarcodeOptions.h:62
pdftron::PDF::BarcodeOptions::e_patch_code
Definition: BarcodeOptions.h:30
pdftron::PDF::BarcodeOptions::e_gs1_databar_stacked
Definition: BarcodeOptions.h:22
pdftron::PDF::BarcodeOptions::GetDataOutputFormat
OutputFormat GetDataOutputFormat()
pdftron::PDF::BarcodeOptions::GetBarcodeSearchTypes
UInt32 GetBarcodeSearchTypes()
pdftron::PDF::BarcodeOptions::e_aztec
Definition: BarcodeOptions.h:25
pdftron::PDF::BarcodeOptions::e_micro_qr
Definition: BarcodeOptions.h:27
pdftron::PDF::BarcodeOptions::e_linear
Definition: BarcodeOptions.h:19
pdftron::PDF::BarcodeOptions::e_high_quality_source_profile
The default profile assumes an input quality of mediocre to high, such as vector graphics, or an average to high quality scan of a flat paper. This setting provides the fastest barcode read performance.
Definition: BarcodeOptions.h:53
pdftron::PDF::OptionsBase
Definition: OptionsBase.h:12
pdftron::PDF::BarcodeOptions::GetBarcodeOrientations
UInt32 GetBarcodeOrientations()
pdftron::PDF::BarcodeOptions::e_pdf417
Definition: BarcodeOptions.h:28
pdftron::PDF::BarcodeOptions::e_vertical
Definition: BarcodeOptions.h:44
pdftron::UString
Definition: UString.h:27