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

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

Issue 1835703002: Remove FX_DWORD from XFA, part 2 (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.h ('k') | xfa/fxfa/app/xfa_ffexclgroup.h » ('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); 16 virtual void ReleaseDoc(IXFA_Doc* hDoc);
17 virtual IXFA_DocProvider* GetDocProvider(IXFA_Doc* hDoc); 17 virtual IXFA_DocProvider* GetDocProvider(IXFA_Doc* hDoc);
18 virtual FX_DWORD GetDocType(IXFA_Doc* hDoc); 18 virtual uint32_t GetDocType(IXFA_Doc* hDoc);
19 virtual int32_t StartLoad(IXFA_Doc* hDoc); 19 virtual int32_t StartLoad(IXFA_Doc* hDoc);
20 virtual int32_t DoLoad(IXFA_Doc* hDoc, IFX_Pause* pPause = NULL); 20 virtual int32_t DoLoad(IXFA_Doc* hDoc, IFX_Pause* pPause = NULL);
21 virtual void StopLoad(IXFA_Doc* hDoc); 21 virtual void StopLoad(IXFA_Doc* hDoc);
22 22
23 virtual IXFA_DocView* CreateDocView(IXFA_Doc* hDoc, FX_DWORD dwView = 0); 23 virtual IXFA_DocView* CreateDocView(IXFA_Doc* hDoc, uint32_t dwView = 0);
24 virtual int32_t CountPackages(IXFA_Doc* hDoc); 24 virtual int32_t CountPackages(IXFA_Doc* hDoc);
25 virtual void GetPackageName(IXFA_Doc* hDoc, 25 virtual void GetPackageName(IXFA_Doc* hDoc,
26 int32_t iPackage, 26 int32_t iPackage,
27 CFX_WideStringC& wsPackage); 27 CFX_WideStringC& wsPackage);
28 virtual IFDE_XMLElement* GetPackageData(IXFA_Doc* hDoc, 28 virtual IFDE_XMLElement* GetPackageData(IXFA_Doc* hDoc,
29 const CFX_WideStringC& wsPackage); 29 const CFX_WideStringC& wsPackage);
30 virtual FX_BOOL SavePackage(IXFA_Doc* hDoc, 30 virtual FX_BOOL SavePackage(IXFA_Doc* hDoc,
31 const CFX_WideStringC& wsPackage, 31 const CFX_WideStringC& wsPackage,
32 IFX_FileWrite* pFile, 32 IFX_FileWrite* pFile,
33 IXFA_ChecksumContext* pCSContext = NULL); 33 IXFA_ChecksumContext* pCSContext = NULL);
34 virtual FX_BOOL CloseDoc(IXFA_Doc* hDoc); 34 virtual FX_BOOL CloseDoc(IXFA_Doc* hDoc);
35 virtual FX_BOOL ImportData(IXFA_Doc* hDoc, 35 virtual FX_BOOL ImportData(IXFA_Doc* hDoc,
36 IFX_FileRead* pStream, 36 IFX_FileRead* pStream,
37 FX_BOOL bXDP = TRUE); 37 FX_BOOL bXDP = TRUE);
38 virtual void SetJSERuntime(IXFA_Doc* hDoc, FXJSE_HRUNTIME hRuntime); 38 virtual void SetJSERuntime(IXFA_Doc* hDoc, FXJSE_HRUNTIME hRuntime);
39 virtual FXJSE_HVALUE GetXFAScriptObject(IXFA_Doc* hDoc); 39 virtual FXJSE_HVALUE GetXFAScriptObject(IXFA_Doc* hDoc);
40 virtual XFA_ATTRIBUTEENUM GetRestoreState(IXFA_Doc* hDoc); 40 virtual XFA_ATTRIBUTEENUM GetRestoreState(IXFA_Doc* hDoc);
41 virtual FX_BOOL RunDocScript(IXFA_Doc* hDoc, 41 virtual FX_BOOL RunDocScript(IXFA_Doc* hDoc,
42 XFA_SCRIPTTYPE eScriptType, 42 XFA_SCRIPTTYPE eScriptType,
43 const CFX_WideStringC& wsScript, 43 const CFX_WideStringC& wsScript,
44 FXJSE_HVALUE hRetValue, 44 FXJSE_HVALUE hRetValue,
45 FXJSE_HVALUE hThisObject); 45 FXJSE_HVALUE hThisObject);
46 46
47 protected: 47 protected:
48 }; 48 };
49 49
50 #endif // XFA_FXFA_APP_XFA_FFDOCHANDLER_H_ 50 #endif // XFA_FXFA_APP_XFA_FFDOCHANDLER_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffdoc.h ('k') | xfa/fxfa/app/xfa_ffexclgroup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698