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 _FWL_BARCODE_H | 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_BARCODE_H_ |
8 #define _FWL_BARCODE_H | 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_BARCODE_H_ |
| 9 |
9 #include "fwl_edit.h" | 10 #include "fwl_edit.h" |
| 11 |
10 class CFWL_WidgetImpProperties; | 12 class CFWL_WidgetImpProperties; |
11 class IFWL_Widget; | 13 class IFWL_Widget; |
12 class IFWL_BarcodeDP; | 14 class IFWL_BarcodeDP; |
13 class IFWL_Barcode; | 15 class IFWL_Barcode; |
14 #define FWL_CLASS_Barcode L"FWL_BARCODE" | 16 #define FWL_CLASS_Barcode L"FWL_BARCODE" |
15 #define FWL_CLASSHASH_Barcode 366886968 | 17 #define FWL_CLASSHASH_Barcode 366886968 |
16 #define FWL_BCDATTRIBUTE_CHARENCODING (1L << 0) | 18 #define FWL_BCDATTRIBUTE_CHARENCODING (1L << 0) |
17 #define FWL_BCDATTRIBUTE_MODULEHEIGHT (1L << 1) | 19 #define FWL_BCDATTRIBUTE_MODULEHEIGHT (1L << 1) |
18 #define FWL_BCDATTRIBUTE_MODULEWIDTH (1L << 2) | 20 #define FWL_BCDATTRIBUTE_MODULEWIDTH (1L << 2) |
19 #define FWL_BCDATTRIBUTE_DATALENGTH (1L << 3) | 21 #define FWL_BCDATTRIBUTE_DATALENGTH (1L << 3) |
(...skipping 30 matching lines...) Expand all Loading... |
50 | 52 |
51 class IFWL_Barcode : public IFWL_Edit { | 53 class IFWL_Barcode : public IFWL_Edit { |
52 public: | 54 public: |
53 static IFWL_Barcode* Create(const CFWL_WidgetImpProperties& properties); | 55 static IFWL_Barcode* Create(const CFWL_WidgetImpProperties& properties); |
54 void SetType(BC_TYPE type); | 56 void SetType(BC_TYPE type); |
55 FX_BOOL IsProtectedType(); | 57 FX_BOOL IsProtectedType(); |
56 | 58 |
57 protected: | 59 protected: |
58 IFWL_Barcode(); | 60 IFWL_Barcode(); |
59 }; | 61 }; |
60 #endif | 62 |
| 63 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_BARCODE_H_ |
OLD | NEW |