Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: xfa/fxfa/app/xfa_ffdochandler.h

Issue 1836353002: Remove IFDE_XML* classes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fxfa/app/xfa_ffdoc.cpp ('k') | xfa/fxfa/app/xfa_ffdochandler.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_FFDOCHANDLER_H_ 7 #ifndef XFA_FXFA_APP_XFA_FFDOCHANDLER_H_
8 #define XFA_FXFA_APP_XFA_FFDOCHANDLER_H_ 8 #define XFA_FXFA_APP_XFA_FFDOCHANDLER_H_
9 9
10 #include "xfa/include/fxfa/fxfa.h" 10 #include "xfa/include/fxfa/fxfa.h"
11 11
12 class CXFA_FFDocHandler : public IXFA_DocHandler { 12 class CXFA_FFDocHandler : public IXFA_DocHandler {
13 public: 13 public:
14 CXFA_FFDocHandler(); 14 CXFA_FFDocHandler();
15 ~CXFA_FFDocHandler(); 15 ~CXFA_FFDocHandler();
16 virtual void ReleaseDoc(IXFA_Doc* hDoc);
17 virtual IXFA_DocProvider* GetDocProvider(IXFA_Doc* hDoc);
18 virtual uint32_t GetDocType(IXFA_Doc* hDoc);
19 virtual int32_t StartLoad(IXFA_Doc* hDoc);
20 virtual int32_t DoLoad(IXFA_Doc* hDoc, IFX_Pause* pPause = NULL);
21 virtual void StopLoad(IXFA_Doc* hDoc);
22 16
23 virtual IXFA_DocView* CreateDocView(IXFA_Doc* hDoc, uint32_t dwView = 0); 17 void ReleaseDoc(IXFA_Doc* hDoc) override;
24 virtual int32_t CountPackages(IXFA_Doc* hDoc); 18 IXFA_DocProvider* GetDocProvider(IXFA_Doc* hDoc) override;
25 virtual void GetPackageName(IXFA_Doc* hDoc, 19 uint32_t GetDocType(IXFA_Doc* hDoc) override;
26 int32_t iPackage, 20 int32_t StartLoad(IXFA_Doc* hDoc) override;
27 CFX_WideStringC& wsPackage); 21 int32_t DoLoad(IXFA_Doc* hDoc, IFX_Pause* pPause = NULL) override;
28 virtual IFDE_XMLElement* GetPackageData(IXFA_Doc* hDoc, 22 void StopLoad(IXFA_Doc* hDoc) override;
29 const CFX_WideStringC& wsPackage); 23
30 virtual FX_BOOL SavePackage(IXFA_Doc* hDoc, 24 IXFA_DocView* CreateDocView(IXFA_Doc* hDoc, uint32_t dwView = 0) override;
31 const CFX_WideStringC& wsPackage, 25 int32_t CountPackages(IXFA_Doc* hDoc) override;
32 IFX_FileWrite* pFile, 26 void GetPackageName(IXFA_Doc* hDoc,
33 IXFA_ChecksumContext* pCSContext = NULL); 27 int32_t iPackage,
34 virtual FX_BOOL CloseDoc(IXFA_Doc* hDoc); 28 CFX_WideStringC& wsPackage) override;
35 virtual FX_BOOL ImportData(IXFA_Doc* hDoc, 29 CFDE_XMLElement* GetPackageData(IXFA_Doc* hDoc,
36 IFX_FileRead* pStream, 30 const CFX_WideStringC& wsPackage);
37 FX_BOOL bXDP = TRUE); 31 FX_BOOL SavePackage(IXFA_Doc* hDoc,
38 virtual void SetJSERuntime(IXFA_Doc* hDoc, FXJSE_HRUNTIME hRuntime); 32 const CFX_WideStringC& wsPackage,
39 virtual FXJSE_HVALUE GetXFAScriptObject(IXFA_Doc* hDoc); 33 IFX_FileWrite* pFile,
40 virtual XFA_ATTRIBUTEENUM GetRestoreState(IXFA_Doc* hDoc); 34 IXFA_ChecksumContext* pCSContext = NULL) override;
41 virtual FX_BOOL RunDocScript(IXFA_Doc* hDoc, 35 FX_BOOL CloseDoc(IXFA_Doc* hDoc) override;
42 XFA_SCRIPTTYPE eScriptType, 36 FX_BOOL ImportData(IXFA_Doc* hDoc,
43 const CFX_WideStringC& wsScript, 37 IFX_FileRead* pStream,
44 FXJSE_HVALUE hRetValue, 38 FX_BOOL bXDP = TRUE) override;
45 FXJSE_HVALUE hThisObject); 39 void SetJSERuntime(IXFA_Doc* hDoc, FXJSE_HRUNTIME hRuntime) override;
40 FXJSE_HVALUE GetXFAScriptObject(IXFA_Doc* hDoc) override;
41 XFA_ATTRIBUTEENUM GetRestoreState(IXFA_Doc* hDoc) override;
42 FX_BOOL RunDocScript(IXFA_Doc* hDoc,
43 XFA_SCRIPTTYPE eScriptType,
44 const CFX_WideStringC& wsScript,
45 FXJSE_HVALUE hRetValue,
46 FXJSE_HVALUE hThisObject) override;
46 47
47 protected: 48 protected:
48 }; 49 };
49 50
50 #endif // XFA_FXFA_APP_XFA_FFDOCHANDLER_H_ 51 #endif // XFA_FXFA_APP_XFA_FFDOCHANDLER_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffdoc.cpp ('k') | xfa/fxfa/app/xfa_ffdochandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698