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_PDF417HIGHLEVELENCODER_H_ | 7 #ifndef XFA_FXBARCODE_PDF417_BC_PDF417HIGHLEVELENCODER_H_ |
8 #define XFA_SRC_FXBARCODE_PDF417_BC_PDF417HIGHLEVELENCODER_H_ | 8 #define XFA_FXBARCODE_PDF417_BC_PDF417HIGHLEVELENCODER_H_ |
9 | 9 |
10 #include "core/include/fxcrt/fx_basic.h" | 10 #include "core/include/fxcrt/fx_basic.h" |
11 #include "core/include/fxcrt/fx_string.h" | 11 #include "core/include/fxcrt/fx_string.h" |
12 #include "xfa/src/fxbarcode/pdf417/BC_PDF417Compaction.h" | 12 #include "xfa/fxbarcode/pdf417/BC_PDF417Compaction.h" |
13 | 13 |
14 class CBC_PDF417HighLevelEncoder { | 14 class CBC_PDF417HighLevelEncoder { |
15 public: | 15 public: |
16 static CFX_WideString encodeHighLevel(CFX_WideString msg, | 16 static CFX_WideString encodeHighLevel(CFX_WideString msg, |
17 Compaction compaction, | 17 Compaction compaction, |
18 int32_t& e); | 18 int32_t& e); |
19 static void Inverse(); | 19 static void Inverse(); |
20 static void Initialize(); | 20 static void Initialize(); |
21 static void Finalize(); | 21 static void Finalize(); |
22 | 22 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 int32_t& e); | 64 int32_t& e); |
65 | 65 |
66 friend class PDF417HighLevelEncoder_EncodeNumeric_Test; | 66 friend class PDF417HighLevelEncoder_EncodeNumeric_Test; |
67 friend class PDF417HighLevelEncoder_EncodeBinary_Test; | 67 friend class PDF417HighLevelEncoder_EncodeBinary_Test; |
68 friend class PDF417HighLevelEncoder_EncodeText_Test; | 68 friend class PDF417HighLevelEncoder_EncodeText_Test; |
69 friend class PDF417HighLevelEncoder_ConsecutiveDigitCount_Test; | 69 friend class PDF417HighLevelEncoder_ConsecutiveDigitCount_Test; |
70 friend class PDF417HighLevelEncoder_ConsecutiveTextCount_Test; | 70 friend class PDF417HighLevelEncoder_ConsecutiveTextCount_Test; |
71 friend class PDF417HighLevelEncoder_ConsecutiveBinaryCount_Test; | 71 friend class PDF417HighLevelEncoder_ConsecutiveBinaryCount_Test; |
72 }; | 72 }; |
73 | 73 |
74 #endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417HIGHLEVELENCODER_H_ | 74 #endif // XFA_FXBARCODE_PDF417_BC_PDF417HIGHLEVELENCODER_H_ |
OLD | NEW |