Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Side by Side Diff: xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.h

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARREADER_H_
8 #define XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARREADER_H_
9
10 #include "core/include/fxcrt/fx_basic.h"
11 #include "xfa/src/fxbarcode/oned/BC_OneDReader.h"
12
13 class CBC_CommonBitArray;
14 class CBC_OneDReader;
15
16 class CBC_OnedCodaBarReader : public CBC_OneDReader {
17 public:
18 CBC_OnedCodaBarReader();
19 virtual ~CBC_OnedCodaBarReader();
20 CFX_ByteString DecodeRow(int32_t rowNumber,
21 CBC_CommonBitArray* row,
22 int32_t hints,
23 int32_t& e);
24 CFX_Int32Array* FindAsteriskPattern(CBC_CommonBitArray* row, int32_t& e);
25 FX_BOOL ArrayContains(const FX_CHAR array[], FX_CHAR key);
26 FX_CHAR ToNarrowWidePattern(CFX_Int32Array* counter);
27
28 static const FX_CHAR* ALPHABET_STRING;
29 static const int32_t CHARACTER_ENCODINGS[22];
30
31 private:
32 static const int32_t minCharacterLength = 3;
33 static const FX_CHAR STARTEND_ENCODING[8];
34 };
35
36 #endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDCODABARREADER_H_
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp ('k') | xfa/src/fxbarcode/oned/BC_OnedCodaBarReader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698