Merge to XFA: Use stdint.h types throughout PDFium.
[pdfium.git] / xfa / src / fxbarcode / pdf417 / BC_PDF417DetectionResultRowIndicatorColumn.h
1 // Copyright 2014 PDFium Authors. All rights reserved.\r
2 // Use of this source code is governed by a BSD-style license that can be\r
3 // found in the LICENSE file.\r
4 \r
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com\r
6 \r
7 #ifndef _BC_DETECTIONRESULTROWINDICATORCOLUMN_H_\r
8 #define _BC_DETECTIONRESULTROWINDICATORCOLUMN_H_\r
9 class CBC_BarcodeMetadata;\r
10 class CBC_BoundingBox;\r
11 class CBC_DetectionResultRowIndicatorColumn;\r
12 class CBC_DetectionResultRowIndicatorColumn : public CBC_DetectionResultColumn\r
13 {\r
14 public:\r
15     CBC_DetectionResultRowIndicatorColumn(CBC_BoundingBox* boundingBox, FX_BOOL isLeft);\r
16     virtual ~CBC_DetectionResultRowIndicatorColumn();\r
17     void setRowNumbers();\r
18     int32_t adjustCompleteIndicatorColumnRowNumbers(CBC_BarcodeMetadata barcodeMetadata);\r
19     CFX_Int32Array* getRowHeights(int32_t &e);\r
20     int32_t adjustIncompleteIndicatorColumnRowNumbers(CBC_BarcodeMetadata barcodeMetadata);\r
21     CBC_BarcodeMetadata* getBarcodeMetadata();\r
22     FX_BOOL isLeft();\r
23     CFX_ByteString toString();\r
24 private:\r
25     FX_BOOL m_isLeft;\r
26     void removeIncorrectCodewords(CFX_PtrArray* codewords, CBC_BarcodeMetadata barcodeMetadata);\r
27 };\r
28 #endif\r