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_LIGHT_H | 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ |
8 #define _FWL_BARCODE_LIGHT_H | 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ |
| 9 |
9 class CFWL_Widget; | 10 class CFWL_Widget; |
10 class CFWL_WidgetProperties; | 11 class CFWL_WidgetProperties; |
11 class IFWL_BarcodeDP; | 12 class IFWL_BarcodeDP; |
12 class CFWL_Edit; | 13 class CFWL_Edit; |
13 class CFWL_Barcode; | 14 class CFWL_Barcode; |
14 class CFWL_BarcodeDP; | 15 class CFWL_BarcodeDP; |
15 class CFWL_Barcode : public CFWL_Edit { | 16 class CFWL_Barcode : public CFWL_Edit { |
16 public: | 17 public: |
17 static CFWL_Barcode* Create(); | 18 static CFWL_Barcode* Create(); |
18 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); | 19 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 FX_BOOL m_bTruncated; | 108 FX_BOOL m_bTruncated; |
108 virtual FX_BOOL GetTruncated() { return m_bTruncated; } | 109 virtual FX_BOOL GetTruncated() { return m_bTruncated; } |
109 FX_DWORD m_dwAttributeMask; | 110 FX_DWORD m_dwAttributeMask; |
110 virtual FX_DWORD GetBarcodeAttributeMask() { return m_dwAttributeMask; } | 111 virtual FX_DWORD GetBarcodeAttributeMask() { return m_dwAttributeMask; } |
111 | 112 |
112 public: | 113 public: |
113 CFWL_BarcodeDP() : m_dwAttributeMask(0) {} | 114 CFWL_BarcodeDP() : m_dwAttributeMask(0) {} |
114 }; | 115 }; |
115 CFWL_BarcodeDP m_barcodeData; | 116 CFWL_BarcodeDP m_barcodeData; |
116 }; | 117 }; |
117 #endif | 118 |
| 119 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_BARCODE_H_ |
OLD | NEW |