OLD | NEW |
| (Empty) |
1 // Copyright 2014 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 _BC_ONEDCODABARREADER_H_ | |
8 #define _BC_ONEDCODABARREADER_H_ | |
9 class CBC_CommonBitArray; | |
10 class CBC_OneDReader; | |
11 class CBC_OnedCodaBarReader; | |
12 class CBC_OnedCodaBarReader : public CBC_OneDReader | |
13 { | |
14 public: | |
15 CBC_OnedCodaBarReader(); | |
16 virtual ~CBC_OnedCodaBarReader(); | |
17 CFX_ByteString DecodeRow(FX_INT32 rowNumber, CBC_CommonBitArray *row, FX_INT
32 hints, FX_INT32 &e); | |
18 CFX_Int32Array *FindAsteriskPattern(CBC_CommonBitArray *row, FX_INT32 &e); | |
19 FX_BOOL ArrayContains(const FX_CHAR array[], FX_CHAR key); | |
20 FX_CHAR ToNarrowWidePattern(CFX_Int32Array *counter); | |
21 static FX_LPCSTR ALPHABET_STRING; | |
22 | |
23 | |
24 const static FX_INT32 CHARACTER_ENCODINGS[22]; | |
25 | |
26 const static FX_INT32 minCharacterLength; | |
27 | |
28 const static FX_CHAR STARTEND_ENCODING[8]; | |
29 }; | |
30 #endif | |
OLD | NEW |