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 _FSDK_ACTIONHANDLER_H_ | 7 #ifndef _FSDK_ACTIONHANDLER_H_ |
8 #define _FSDK_ACTIONHANDLER_H_ | 8 #define _FSDK_ACTIONHANDLER_H_ |
9 | 9 |
| 10 #include "../../core/include/fpdfdoc/fpdf_doc.h" |
| 11 #include "../../core/include/fxcrt/fx_string.h" |
| 12 #include "fsdk_baseform.h" |
10 | 13 |
| 14 class CFX_PtrList; |
11 class CPDFDoc_Environment; | 15 class CPDFDoc_Environment; |
| 16 class CPDFSDK_Annot; |
| 17 class CPDFSDK_Document; |
| 18 class CPDF_Bookmark; |
| 19 class CPDF_Dictionary; |
12 class IFXJS_Runtime; | 20 class IFXJS_Runtime; |
13 | 21 |
14 class CPDFSDK_FormActionHandler | 22 class CPDFSDK_FormActionHandler |
15 { | 23 { |
16 public: | 24 public: |
17 FX_BOOL DoAction_Hide(const CPDF_Action& action, CPDFSDK_Document* pDocu
ment); | 25 FX_BOOL DoAction_Hide(const CPDF_Action& action, CPDFSDK_Document* pDocu
ment); |
18 FX_BOOL DoAction_SubmitForm(const CPDF_Action& action, CPDFSDK_Document*
pDocument); | 26 FX_BOOL DoAction_SubmitForm(const CPDF_Action& action, CPDFSDK_Document*
pDocument); |
19 FX_BOOL DoAction_ResetForm(const CPDF_Action& action, CPDFSDK_Document*
pDocument); | 27 FX_BOOL DoAction_ResetForm(const CPDF_Action& action, CPDFSDK_Document*
pDocument); |
20 FX_BOOL DoAction_ImportData(const CPDF_Action& action, CPDFSDK_Document*
pDocument); | 28 FX_BOOL DoAction_ImportData(const CPDF_Action& action, CPDFSDK_Document*
pDocument); |
21 }; | 29 }; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 void DoAction_Named(CPDFSDK_Document* pDocume
nt, const CPDF_Action& action); | 80 void DoAction_Named(CPDFSDK_Document* pDocume
nt, const CPDF_Action& action); |
73 void DoAction_SetOCGState(CPDFSDK_Document* p
Document, /*CReader_DocView* pDocView,*/ const CPDF_Action& action); | 81 void DoAction_SetOCGState(CPDFSDK_Document* p
Document, /*CReader_DocView* pDocView,*/ const CPDF_Action& action); |
74 | 82 |
75 private: | 83 private: |
76 CPDFSDK_FormActionHandler* m_pFormActionHandler; | 84 CPDFSDK_FormActionHandler* m_pFormActionHandler; |
77 CPDFSDK_MediaActionHandler* m_pMediaActionHandler; | 85 CPDFSDK_MediaActionHandler* m_pMediaActionHandler; |
78 }; | 86 }; |
79 | 87 |
80 #endif //_BA_ACTIONHANDLER_H_ | 88 #endif //_BA_ACTIONHANDLER_H_ |
81 | 89 |
OLD | NEW |