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 _BC_CODEWORD_H_ | |
8 #define _BC_CODEWORD_H_ | |
9 class CBC_Codeword; | |
10 class CBC_Codeword : public CFX_Object | |
11 { | |
12 public: | |
13 CBC_Codeword(FX_INT32 startX, FX_INT32 endX, FX_INT32 bucket, FX_INT32 value
); | |
14 virtual ~CBC_Codeword(); | |
15 FX_BOOL hasValidRowNumber() ; | |
16 FX_BOOL isValidRowNumber(FX_INT32 rowNumber); | |
17 void setRowNumberAsRowIndicatorColumn(); | |
18 FX_INT32 getWidth(); | |
19 FX_INT32 getStartX(); | |
20 FX_INT32 getEndX(); | |
21 FX_INT32 getBucket(); | |
22 FX_INT32 getValue(); | |
23 FX_INT32 getRowNumber(); | |
24 void setRowNumber(FX_INT32 rowNumber); | |
25 CFX_ByteString toString(); | |
26 private: | |
27 static FX_INT32 BARCODE_ROW_UNKNOWN; | |
28 FX_INT32 m_startX; | |
29 FX_INT32 m_endX; | |
30 FX_INT32 m_bucket; | |
31 FX_INT32 m_value; | |
32 FX_INT32 m_rowNumber; | |
33 }; | |
34 #endif | |
OLD | NEW |