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_INCLUDE_XFA_FFDOCHANDLER_H_ | 7 #ifndef XFA_FXFA_XFA_FFDOCHANDLER_H_ |
8 #define XFA_FXFA_INCLUDE_XFA_FFDOCHANDLER_H_ | 8 #define XFA_FXFA_XFA_FFDOCHANDLER_H_ |
9 | 9 |
10 #include "xfa/fxfa/include/fxfa.h" | 10 #include "xfa/fxfa/fxfa.h" |
11 | 11 |
12 class CXFA_ChecksumContext; | 12 class CXFA_ChecksumContext; |
13 | 13 |
14 class CXFA_FFDocHandler { | 14 class CXFA_FFDocHandler { |
15 public: | 15 public: |
16 CXFA_FFDocHandler(); | 16 CXFA_FFDocHandler(); |
17 ~CXFA_FFDocHandler(); | 17 ~CXFA_FFDocHandler(); |
18 | 18 |
19 CFXJSE_Value* GetXFAScriptObject(CXFA_FFDoc* hDoc); | 19 CFXJSE_Value* GetXFAScriptObject(CXFA_FFDoc* hDoc); |
20 XFA_ATTRIBUTEENUM GetRestoreState(CXFA_FFDoc* hDoc); | 20 XFA_ATTRIBUTEENUM GetRestoreState(CXFA_FFDoc* hDoc); |
21 | 21 |
22 FX_BOOL RunDocScript(CXFA_FFDoc* hDoc, | 22 FX_BOOL RunDocScript(CXFA_FFDoc* hDoc, |
23 XFA_SCRIPTTYPE eScriptType, | 23 XFA_SCRIPTTYPE eScriptType, |
24 const CFX_WideStringC& wsScript, | 24 const CFX_WideStringC& wsScript, |
25 CFXJSE_Value* pRetValue, | 25 CFXJSE_Value* pRetValue, |
26 CFXJSE_Value* pThisObject); | 26 CFXJSE_Value* pThisObject); |
27 | 27 |
28 protected: | 28 protected: |
29 }; | 29 }; |
30 | 30 |
31 #endif // XFA_FXFA_INCLUDE_XFA_FFDOCHANDLER_H_ | 31 #endif // XFA_FXFA_XFA_FFDOCHANDLER_H_ |
OLD | NEW |