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_SRC_FXFA_SRC_APP_XFA_FFDOCHANDLER_H_ | 7 #ifndef XFA_SRC_FXFA_SRC_APP_XFA_FFDOCHANDLER_H_ |
8 #define XFA_SRC_FXFA_SRC_APP_XFA_FFDOCHANDLER_H_ | 8 #define XFA_SRC_FXFA_SRC_APP_XFA_FFDOCHANDLER_H_ |
9 | 9 |
| 10 #include "xfa/include/fxfa/fxfa.h" |
| 11 |
10 class CXFA_FFDocHandler : public IXFA_DocHandler { | 12 class CXFA_FFDocHandler : public IXFA_DocHandler { |
11 public: | 13 public: |
12 CXFA_FFDocHandler(); | 14 CXFA_FFDocHandler(); |
13 ~CXFA_FFDocHandler(); | 15 ~CXFA_FFDocHandler(); |
14 virtual void ReleaseDoc(IXFA_Doc* hDoc); | 16 virtual void ReleaseDoc(IXFA_Doc* hDoc); |
15 virtual IXFA_DocProvider* GetDocProvider(IXFA_Doc* hDoc); | 17 virtual IXFA_DocProvider* GetDocProvider(IXFA_Doc* hDoc); |
16 virtual FX_DWORD GetDocType(IXFA_Doc* hDoc); | 18 virtual FX_DWORD GetDocType(IXFA_Doc* hDoc); |
17 virtual int32_t StartLoad(IXFA_Doc* hDoc); | 19 virtual int32_t StartLoad(IXFA_Doc* hDoc); |
18 virtual int32_t DoLoad(IXFA_Doc* hDoc, IFX_Pause* pPause = NULL); | 20 virtual int32_t DoLoad(IXFA_Doc* hDoc, IFX_Pause* pPause = NULL); |
19 virtual void StopLoad(IXFA_Doc* hDoc); | 21 virtual void StopLoad(IXFA_Doc* hDoc); |
(...skipping 19 matching lines...) Expand all Loading... |
39 virtual FX_BOOL RunDocScript(IXFA_Doc* hDoc, | 41 virtual FX_BOOL RunDocScript(IXFA_Doc* hDoc, |
40 XFA_SCRIPTTYPE eScriptType, | 42 XFA_SCRIPTTYPE eScriptType, |
41 const CFX_WideStringC& wsScript, | 43 const CFX_WideStringC& wsScript, |
42 FXJSE_HVALUE hRetValue, | 44 FXJSE_HVALUE hRetValue, |
43 FXJSE_HVALUE hThisObject); | 45 FXJSE_HVALUE hThisObject); |
44 | 46 |
45 protected: | 47 protected: |
46 }; | 48 }; |
47 | 49 |
48 #endif // XFA_SRC_FXFA_SRC_APP_XFA_FFDOCHANDLER_H_ | 50 #endif // XFA_SRC_FXFA_SRC_APP_XFA_FFDOCHANDLER_H_ |
OLD | NEW |