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 _BC_PDF417HIGHLEVELENCODER_H_ | 7 #ifndef _BC_PDF417HIGHLEVELENCODER_H_ |
8 #define _BC_PDF417HIGHLEVELENCODER_H_ | 8 #define _BC_PDF417HIGHLEVELENCODER_H_ |
9 | 9 |
10 #include "BC_PDF417Compaction.h" | 10 #include "BC_PDF417Compaction.h" |
11 | 11 |
12 class CBC_PDF417HighLevelEncoder : public CFX_Object | 12 class CBC_PDF417HighLevelEncoder |
13 { | 13 { |
14 public: | 14 public: |
15 static CFX_WideString encodeHighLevel(CFX_WideString msg, Compaction compact
ion, FX_INT32 &e); | 15 static CFX_WideString encodeHighLevel(CFX_WideString msg, Compaction compact
ion, FX_INT32 &e); |
16 static void Inverse(); | 16 static void Inverse(); |
17 static void Initialize(); | 17 static void Initialize(); |
18 static void Finalize(); | 18 static void Finalize(); |
19 private: | 19 private: |
20 static FX_INT32 TEXT_COMPACTION; | 20 static FX_INT32 TEXT_COMPACTION; |
21 static FX_INT32 BYTE_COMPACTION; | 21 static FX_INT32 BYTE_COMPACTION; |
22 static FX_INT32 NUMERIC_COMPACTION; | 22 static FX_INT32 NUMERIC_COMPACTION; |
(...skipping 22 matching lines...) Expand all Loading... |
45 | 45 |
46 friend class PDF417HighLevelEncoder_EncodeNumeric_Test; | 46 friend class PDF417HighLevelEncoder_EncodeNumeric_Test; |
47 friend class PDF417HighLevelEncoder_EncodeBinary_Test; | 47 friend class PDF417HighLevelEncoder_EncodeBinary_Test; |
48 friend class PDF417HighLevelEncoder_EncodeText_Test; | 48 friend class PDF417HighLevelEncoder_EncodeText_Test; |
49 friend class PDF417HighLevelEncoder_ConsecutiveDigitCount_Test; | 49 friend class PDF417HighLevelEncoder_ConsecutiveDigitCount_Test; |
50 friend class PDF417HighLevelEncoder_ConsecutiveTextCount_Test; | 50 friend class PDF417HighLevelEncoder_ConsecutiveTextCount_Test; |
51 friend class PDF417HighLevelEncoder_ConsecutiveBinaryCount_Test; | 51 friend class PDF417HighLevelEncoder_ConsecutiveBinaryCount_Test; |
52 }; | 52 }; |
53 | 53 |
54 #endif | 54 #endif |
OLD | NEW |