OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_FXBARCODE_INCLUDE_BC_LIBRARY_H_ | 7 #ifndef XFA_FXBARCODE_BC_LIBRARY_H_ |
8 #define XFA_FXBARCODE_INCLUDE_BC_LIBRARY_H_ | 8 #define XFA_FXBARCODE_BC_LIBRARY_H_ |
9 | 9 |
10 enum BC_TEXT_LOC { | 10 enum BC_TEXT_LOC { |
11 BC_TEXT_LOC_NONE = 0, | 11 BC_TEXT_LOC_NONE = 0, |
12 BC_TEXT_LOC_ABOVE, | 12 BC_TEXT_LOC_ABOVE, |
13 BC_TEXT_LOC_BELOW, | 13 BC_TEXT_LOC_BELOW, |
14 BC_TEXT_LOC_ABOVEEMBED, | 14 BC_TEXT_LOC_ABOVEEMBED, |
15 BC_TEXT_LOC_BELOWEMBED | 15 BC_TEXT_LOC_BELOWEMBED |
16 }; | 16 }; |
17 | 17 |
18 enum BC_CHAR_ENCODING { CHAR_ENCODING_UTF8 = 0, CHAR_ENCODING_UNICODE }; | 18 enum BC_CHAR_ENCODING { CHAR_ENCODING_UTF8 = 0, CHAR_ENCODING_UNICODE }; |
19 | 19 |
20 enum BC_TYPE { | 20 enum BC_TYPE { |
21 BC_UNKNOWN = -1, | 21 BC_UNKNOWN = -1, |
22 BC_CODE39 = 0, | 22 BC_CODE39 = 0, |
23 BC_CODABAR, | 23 BC_CODABAR, |
24 BC_CODE128, | 24 BC_CODE128, |
25 BC_CODE128_B, | 25 BC_CODE128_B, |
26 BC_CODE128_C, | 26 BC_CODE128_C, |
27 BC_EAN8, | 27 BC_EAN8, |
28 BC_UPCA, | 28 BC_UPCA, |
29 BC_EAN13, | 29 BC_EAN13, |
30 BC_QR_CODE, | 30 BC_QR_CODE, |
31 BC_PDF417, | 31 BC_PDF417, |
32 BC_DATAMATRIX | 32 BC_DATAMATRIX |
33 }; | 33 }; |
34 | 34 |
35 void BC_Library_Init(); | 35 void BC_Library_Init(); |
36 void BC_Library_Destory(); | 36 void BC_Library_Destory(); |
37 | 37 |
38 #endif // XFA_FXBARCODE_INCLUDE_BC_LIBRARY_H_ | 38 #endif // XFA_FXBARCODE_BC_LIBRARY_H_ |
OLD | NEW |