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_FXFA_XFA_FFWIDGETHANDLER_H_ | 7 #ifndef XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_ |
8 #define XFA_INCLUDE_FXFA_XFA_FFWIDGETHANDLER_H_ | 8 #define XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
| 12 #include "xfa/fxfa/include/fxfa.h" |
12 #include "xfa/fxfa/parser/xfa_document.h" | 13 #include "xfa/fxfa/parser/xfa_document.h" |
13 #include "xfa/include/fxfa/fxfa.h" | |
14 | 14 |
15 class CXFA_FFDocView; | 15 class CXFA_FFDocView; |
16 | 16 |
17 class CXFA_FFWidgetHandler { | 17 class CXFA_FFWidgetHandler { |
18 public: | 18 public: |
19 CXFA_FFWidgetHandler(CXFA_FFDocView* pDocView); | 19 CXFA_FFWidgetHandler(CXFA_FFDocView* pDocView); |
20 ~CXFA_FFWidgetHandler(); | 20 ~CXFA_FFWidgetHandler(); |
21 | 21 |
22 CXFA_FFWidget* CreateWidget(CXFA_FFWidget* hParent, | 22 CXFA_FFWidget* CreateWidget(CXFA_FFWidget* hParent, |
23 XFA_WIDGETTYPE eType, | 23 XFA_WIDGETTYPE eType, |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 CXFA_Node* CreateMarginNode(CXFA_Node* pParent, | 117 CXFA_Node* CreateMarginNode(CXFA_Node* pParent, |
118 uint32_t dwFlags, | 118 uint32_t dwFlags, |
119 FX_FLOAT fInsets[4]) const; | 119 FX_FLOAT fInsets[4]) const; |
120 CXFA_Node* CreateValueNode(XFA_ELEMENT eValue, CXFA_Node* pParent) const; | 120 CXFA_Node* CreateValueNode(XFA_ELEMENT eValue, CXFA_Node* pParent) const; |
121 CXFA_Document* GetObjFactory() const; | 121 CXFA_Document* GetObjFactory() const; |
122 CXFA_Document* GetXFADoc() const; | 122 CXFA_Document* GetXFADoc() const; |
123 | 123 |
124 CXFA_FFDocView* m_pDocView; | 124 CXFA_FFDocView* m_pDocView; |
125 }; | 125 }; |
126 | 126 |
127 #endif // XFA_INCLUDE_FXFA_XFA_FFWIDGETHANDLER_H_ | 127 #endif // XFA_FXFA_INCLUDE_XFA_FFWIDGETHANDLER_H_ |
OLD | NEW |