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" |
11 | 11 |
12 class CXFA_FFNotify : public IXFA_Notify { | 12 class CXFA_FFNotify : public IXFA_Notify { |
13 public: | 13 public: |
14 CXFA_FFNotify(CXFA_FFDoc* pDoc); | 14 CXFA_FFNotify(CXFA_FFDoc* pDoc); |
15 ~CXFA_FFNotify(); | 15 ~CXFA_FFNotify(); |
16 | 16 |
17 virtual void OnPageEvent(IXFA_LayoutPage* pSender, | 17 virtual void OnPageEvent(IXFA_LayoutPage* pSender, |
18 XFA_PAGEEVENT eEvent, | 18 XFA_PAGEEVENT eEvent, |
19 void* pParam = NULL); | 19 void* pParam = NULL); |
20 | 20 |
21 virtual void OnNodeEvent(CXFA_Node* pSender, | 21 virtual void OnNodeEvent(CXFA_Node* pSender, |
22 XFA_NODEEVENT eEvent, | 22 XFA_NODEEVENT eEvent, |
23 void* pParam = NULL, | 23 void* pParam = NULL, |
24 void* pParam2 = NULL, | 24 void* pParam2 = NULL, |
25 void* pParam3 = NULL, | 25 void* pParam3 = NULL, |
26 void* pParam4 = NULL); | 26 void* pParam4 = NULL); |
27 virtual void OnWidgetDataEvent(CXFA_WidgetData* pSender, | 27 virtual void OnWidgetDataEvent(CXFA_WidgetData* pSender, |
28 FX_DWORD dwEvent, | 28 uint32_t dwEvent, |
29 void* pParam = NULL, | 29 void* pParam = NULL, |
30 void* pAdditional = NULL, | 30 void* pAdditional = NULL, |
31 void* pAdditional2 = NULL); | 31 void* pAdditional2 = NULL); |
32 virtual CXFA_LayoutItem* OnCreateLayoutItem(CXFA_Node* pNode); | 32 virtual CXFA_LayoutItem* OnCreateLayoutItem(CXFA_Node* pNode); |
33 virtual void OnLayoutEvent(IXFA_DocLayout* pLayout, | 33 virtual void OnLayoutEvent(IXFA_DocLayout* pLayout, |
34 CXFA_LayoutItem* pSender, | 34 CXFA_LayoutItem* pSender, |
35 XFA_LAYOUTEVENT eEvent, | 35 XFA_LAYOUTEVENT eEvent, |
36 void* pParam = NULL, | 36 void* pParam = NULL, |
37 void* pParam2 = NULL); | 37 void* pParam2 = NULL); |
38 | 38 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 void* pParam2); | 90 void* pParam2); |
91 void OnLayoutItemStatustChanged(CXFA_FFDocView* pDocView, | 91 void OnLayoutItemStatustChanged(CXFA_FFDocView* pDocView, |
92 IXFA_DocLayout* pLayout, | 92 IXFA_DocLayout* pLayout, |
93 CXFA_LayoutItem* pSender, | 93 CXFA_LayoutItem* pSender, |
94 void* pParam, | 94 void* pParam, |
95 void* pParam2); | 95 void* pParam2); |
96 CXFA_FFDoc* m_pDoc; | 96 CXFA_FFDoc* m_pDoc; |
97 }; | 97 }; |
98 | 98 |
99 #endif // XFA_FXFA_APP_XFA_FFNOTIFY_H_ | 99 #endif // XFA_FXFA_APP_XFA_FFNOTIFY_H_ |
OLD | NEW |