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