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