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