Merge XFA to PDFium master at 4dc95e7 on 10/28/2014
[pdfium.git] / xfa / src / fxbarcode / src / include / BC_PDF417DetectionResultColumn.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_DETECTIONRESULTCOLUMN_H_\r
8 #define _BC_DETECTIONRESULTCOLUMN_H_\r
9 class CBC_Codeword;\r
10 class CBC_BoundingBox;\r
11 class CBC_DetectionResultColumn;\r
12 class CBC_DetectionResultColumn : public CFX_Object\r
13 {\r
14 public:\r
15     CBC_DetectionResultColumn(CBC_BoundingBox* boundingBox);\r
16     virtual ~CBC_DetectionResultColumn();\r
17     CBC_Codeword* getCodewordNearby(FX_INT32 imageRow);\r
18     FX_INT32 imageRowToCodewordIndex(FX_INT32 imageRow);\r
19     FX_INT32 codewordIndexToImageRow(FX_INT32 codewordIndex);\r
20     void setCodeword(FX_INT32 imageRow, CBC_Codeword* codeword);\r
21     CBC_Codeword* getCodeword(FX_INT32 imageRow);\r
22     CBC_BoundingBox* getBoundingBox();\r
23     CFX_PtrArray* getCodewords();\r
24     CFX_ByteString toString();\r
25 public:\r
26     CBC_BoundingBox* m_boundingBox;\r
27     CFX_PtrArray* m_codewords;\r
28 private:\r
29     static FX_INT32 MAX_NEARBY_DISTANCE;\r
30 };\r
31 #endif\r