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