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