• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef XFA_FXFA_XFA_FFDOCHANDLER_H_
8 #define XFA_FXFA_XFA_FFDOCHANDLER_H_
9 
10 #include "xfa/fxfa/fxfa.h"
11 
12 class CXFA_ChecksumContext;
13 
14 class CXFA_FFDocHandler {
15  public:
16   CXFA_FFDocHandler();
17   ~CXFA_FFDocHandler();
18 
19   CFXJSE_Value* GetXFAScriptObject(CXFA_FFDoc* hDoc);
20   XFA_ATTRIBUTEENUM GetRestoreState(CXFA_FFDoc* hDoc);
21 
22   bool RunDocScript(CXFA_FFDoc* hDoc,
23                     XFA_SCRIPTTYPE eScriptType,
24                     const CFX_WideStringC& wsScript,
25                     CFXJSE_Value* pRetValue,
26                     CFXJSE_Value* pThisObject);
27 
28  protected:
29 };
30 
31 #endif  // XFA_FXFA_XFA_FFDOCHANDLER_H_
32