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 XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULTROWINDICATORCOLUMN_H_ | |
8 #define XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULTROWINDICATORCOLUMN_H_ | |
9 | |
10 class CBC_BarcodeMetadata; | |
11 class CBC_BoundingBox; | |
12 class CBC_DetectionResultRowIndicatorColumn; | |
13 class CBC_DetectionResultRowIndicatorColumn : public CBC_DetectionResultColumn { | |
14 public: | |
15 CBC_DetectionResultRowIndicatorColumn(CBC_BoundingBox* boundingBox, | |
16 FX_BOOL isLeft); | |
17 virtual ~CBC_DetectionResultRowIndicatorColumn(); | |
18 void setRowNumbers(); | |
19 int32_t adjustCompleteIndicatorColumnRowNumbers( | |
20 CBC_BarcodeMetadata barcodeMetadata); | |
21 CFX_Int32Array* getRowHeights(int32_t& e); | |
22 int32_t adjustIncompleteIndicatorColumnRowNumbers( | |
23 CBC_BarcodeMetadata barcodeMetadata); | |
24 CBC_BarcodeMetadata* getBarcodeMetadata(); | |
25 FX_BOOL isLeft(); | |
26 CFX_ByteString toString(); | |
27 | |
28 private: | |
29 FX_BOOL m_isLeft; | |
30 void removeIncorrectCodewords(CFX_PtrArray* codewords, | |
31 CBC_BarcodeMetadata barcodeMetadata); | |
32 }; | |
33 | |
34 #endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULTROWINDICATORCOLUMN_H
_ | |
OLD | NEW |