OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_SRC_FXBARCODE_PDF417_BC_PDF417_H_ | 7 #ifndef XFA_SRC_FXBARCODE_PDF417_BC_PDF417_H_ |
8 #define XFA_SRC_FXBARCODE_PDF417_BC_PDF417_H_ | 8 #define XFA_SRC_FXBARCODE_PDF417_BC_PDF417_H_ |
9 | 9 |
| 10 #include "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h" |
| 11 |
10 class CBC_Compaction; | 12 class CBC_Compaction; |
11 class CBC_BarcodeRow; | 13 class CBC_BarcodeRow; |
12 class CBC_BarcodeMatrix; | 14 class CBC_BarcodeMatrix; |
| 15 |
13 class CBC_PDF417 { | 16 class CBC_PDF417 { |
14 public: | 17 public: |
15 CBC_PDF417(); | 18 CBC_PDF417(); |
16 CBC_PDF417(FX_BOOL compact); | 19 CBC_PDF417(FX_BOOL compact); |
17 virtual ~CBC_PDF417(); | 20 virtual ~CBC_PDF417(); |
18 CBC_BarcodeMatrix* getBarcodeMatrix(); | 21 CBC_BarcodeMatrix* getBarcodeMatrix(); |
19 void generateBarcodeLogic(CFX_WideString msg, | 22 void generateBarcodeLogic(CFX_WideString msg, |
20 int32_t errorCorrectionLevel, | 23 int32_t errorCorrectionLevel, |
21 int32_t& e); | 24 int32_t& e); |
22 void setDimensions(int32_t maxCols, | 25 void setDimensions(int32_t maxCols, |
(...skipping 29 matching lines...) Expand all Loading... |
52 int32_t c, | 55 int32_t c, |
53 int32_t r, | 56 int32_t r, |
54 int32_t errorCorrectionLevel, | 57 int32_t errorCorrectionLevel, |
55 CBC_BarcodeMatrix* logic); | 58 CBC_BarcodeMatrix* logic); |
56 CFX_Int32Array* determineDimensions(int32_t sourceCodeWords, | 59 CFX_Int32Array* determineDimensions(int32_t sourceCodeWords, |
57 int32_t errorCorrectionCodeWords, | 60 int32_t errorCorrectionCodeWords, |
58 int32_t& e); | 61 int32_t& e); |
59 }; | 62 }; |
60 | 63 |
61 #endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417_H_ | 64 #endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417_H_ |
OLD | NEW |