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