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_APP_XFA_FFNOTIFY_H_ | 7 #ifndef XFA_FXFA_APP_XFA_FFNOTIFY_H_ |
8 #define XFA_FXFA_APP_XFA_FFNOTIFY_H_ | 8 #define XFA_FXFA_APP_XFA_FFNOTIFY_H_ |
9 | 9 |
10 #include "xfa/fxfa/include/cxfa_eventparam.h" | 10 #include "xfa/fxfa/include/cxfa_eventparam.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 FX_FLOAT& fCalcWidth, | 47 FX_FLOAT& fCalcWidth, |
48 FX_FLOAT& fCalcHeight); | 48 FX_FLOAT& fCalcHeight); |
49 FX_BOOL FindSplitPos(CXFA_Node* pItem, | 49 FX_BOOL FindSplitPos(CXFA_Node* pItem, |
50 int32_t iBlockIndex, | 50 int32_t iBlockIndex, |
51 FX_FLOAT& fCalcHeightPos); | 51 FX_FLOAT& fCalcHeightPos); |
52 FX_BOOL RunScript(CXFA_Node* pScript, CXFA_Node* pFormItem); | 52 FX_BOOL RunScript(CXFA_Node* pScript, CXFA_Node* pFormItem); |
53 int32_t ExecEventByDeepFirst(CXFA_Node* pFormNode, | 53 int32_t ExecEventByDeepFirst(CXFA_Node* pFormNode, |
54 XFA_EVENTTYPE eEventType, | 54 XFA_EVENTTYPE eEventType, |
55 FX_BOOL bIsFormReady = FALSE, | 55 FX_BOOL bIsFormReady = FALSE, |
56 FX_BOOL bRecursive = TRUE, | 56 FX_BOOL bRecursive = TRUE, |
57 CXFA_WidgetAcc* pExclude = NULL); | 57 CXFA_WidgetAcc* pExclude = nullptr); |
58 void AddCalcValidate(CXFA_Node* pNode); | 58 void AddCalcValidate(CXFA_Node* pNode); |
59 CXFA_FFDoc* GetHDOC(); | 59 CXFA_FFDoc* GetHDOC(); |
60 IXFA_DocProvider* GetDocProvider(); | 60 IXFA_DocProvider* GetDocProvider(); |
61 IXFA_AppProvider* GetAppProvider(); | 61 IXFA_AppProvider* GetAppProvider(); |
62 CXFA_FFWidgetHandler* GetWidgetHandler(); | 62 CXFA_FFWidgetHandler* GetWidgetHandler(); |
63 CXFA_FFWidget* GetHWidget(CXFA_LayoutItem* pLayoutItem); | 63 CXFA_FFWidget* GetHWidget(CXFA_LayoutItem* pLayoutItem); |
64 void OpenDropDownList(CXFA_FFWidget* hWidget); | 64 void OpenDropDownList(CXFA_FFWidget* hWidget); |
65 CFX_WideString GetCurrentDateTime(); | 65 CFX_WideString GetCurrentDateTime(); |
66 void ResetData(CXFA_WidgetData* pWidgetData = NULL); | 66 void ResetData(CXFA_WidgetData* pWidgetData = nullptr); |
67 int32_t GetLayoutStatus(); | 67 int32_t GetLayoutStatus(); |
68 void RunNodeInitialize(CXFA_Node* pNode); | 68 void RunNodeInitialize(CXFA_Node* pNode); |
69 void RunSubformIndexChange(CXFA_Node* pSubformNode); | 69 void RunSubformIndexChange(CXFA_Node* pSubformNode); |
70 CXFA_Node* GetFocusWidgetNode(); | 70 CXFA_Node* GetFocusWidgetNode(); |
71 void SetFocusWidgetNode(CXFA_Node* pNode); | 71 void SetFocusWidgetNode(CXFA_Node* pNode); |
72 | 72 |
73 protected: | 73 protected: |
74 CXFA_FFDoc* const m_pDoc; | 74 CXFA_FFDoc* const m_pDoc; |
75 }; | 75 }; |
76 | 76 |
77 #endif // XFA_FXFA_APP_XFA_FFNOTIFY_H_ | 77 #endif // XFA_FXFA_APP_XFA_FFNOTIFY_H_ |
OLD | NEW |