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_SRC_FXFA_APP_XFA_FFBARCODE_H_ | 7 #ifndef XFA_FXFA_APP_XFA_FFBARCODE_H_ |
8 #define XFA_SRC_FXFA_APP_XFA_FFBARCODE_H_ | 8 #define XFA_FXFA_APP_XFA_FFBARCODE_H_ |
9 | 9 |
| 10 #include "xfa/fxfa/app/xfa_ffpageview.h" |
| 11 #include "xfa/fxfa/app/xfa_fftextedit.h" |
10 #include "xfa/include/fxbarcode/BC_BarCode.h" | 12 #include "xfa/include/fxbarcode/BC_BarCode.h" |
11 #include "xfa/src/fxfa/app/xfa_ffpageview.h" | |
12 #include "xfa/src/fxfa/app/xfa_fftextedit.h" | |
13 | 13 |
14 class CXFA_FFBarcode : public CXFA_FFTextEdit { | 14 class CXFA_FFBarcode : public CXFA_FFTextEdit { |
15 public: | 15 public: |
16 CXFA_FFBarcode(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | 16 CXFA_FFBarcode(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); |
17 virtual ~CXFA_FFBarcode(); | 17 virtual ~CXFA_FFBarcode(); |
18 virtual FX_BOOL LoadWidget(); | 18 virtual FX_BOOL LoadWidget(); |
19 virtual void RenderWidget(CFX_Graphics* pGS, | 19 virtual void RenderWidget(CFX_Graphics* pGS, |
20 CFX_Matrix* pMatrix = NULL, | 20 CFX_Matrix* pMatrix = NULL, |
21 FX_DWORD dwStatus = 0, | 21 FX_DWORD dwStatus = 0, |
22 int32_t iRotate = 0); | 22 int32_t iRotate = 0); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 }; | 91 }; |
92 struct XFA_BARCODETYPEENUMINFO { | 92 struct XFA_BARCODETYPEENUMINFO { |
93 uint32_t uHash; | 93 uint32_t uHash; |
94 const FX_WCHAR* pName; | 94 const FX_WCHAR* pName; |
95 XFA_BARCODETYPEENUM eName; | 95 XFA_BARCODETYPEENUM eName; |
96 BC_TYPE eBCType; | 96 BC_TYPE eBCType; |
97 }; | 97 }; |
98 typedef XFA_BARCODETYPEENUMINFO const* XFA_LPCBARCODETYPEENUMINFO; | 98 typedef XFA_BARCODETYPEENUMINFO const* XFA_LPCBARCODETYPEENUMINFO; |
99 extern const XFA_BARCODETYPEENUMINFO g_XFABarCodeTypeEnumData[]; | 99 extern const XFA_BARCODETYPEENUMINFO g_XFABarCodeTypeEnumData[]; |
100 | 100 |
101 #endif // XFA_SRC_FXFA_APP_XFA_FFBARCODE_H_ | 101 #endif // XFA_FXFA_APP_XFA_FFBARCODE_H_ |
OLD | NEW |