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

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

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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/src/fxfa/app/xfa_ffdoc.cpp ('k') | xfa/src/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
(Empty)
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_SRC_FXFA_APP_XFA_FFDOCHANDLER_H_
8 #define XFA_SRC_FXFA_APP_XFA_FFDOCHANDLER_H_
9
10 #include "xfa/include/fxfa/fxfa.h"
11
12 class CXFA_FFDocHandler : public IXFA_DocHandler {
13 public:
14 CXFA_FFDocHandler();
15 ~CXFA_FFDocHandler();
16 virtual void ReleaseDoc(IXFA_Doc* hDoc);
17 virtual IXFA_DocProvider* GetDocProvider(IXFA_Doc* hDoc);
18 virtual FX_DWORD 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
23 virtual IXFA_DocView* CreateDocView(IXFA_Doc* hDoc, FX_DWORD dwView = 0);
24 virtual int32_t CountPackages(IXFA_Doc* hDoc);
25 virtual void GetPackageName(IXFA_Doc* hDoc,
26 int32_t iPackage,
27 CFX_WideStringC& wsPackage);
28 virtual IFDE_XMLElement* GetPackageData(IXFA_Doc* hDoc,
29 const CFX_WideStringC& wsPackage);
30 virtual FX_BOOL SavePackage(IXFA_Doc* hDoc,
31 const CFX_WideStringC& wsPackage,
32 IFX_FileWrite* pFile,
33 IXFA_ChecksumContext* pCSContext = NULL);
34 virtual FX_BOOL CloseDoc(IXFA_Doc* hDoc);
35 virtual FX_BOOL ImportData(IXFA_Doc* hDoc,
36 IFX_FileRead* pStream,
37 FX_BOOL bXDP = TRUE);
38 virtual void SetJSERuntime(IXFA_Doc* hDoc, FXJSE_HRUNTIME hRuntime);
39 virtual FXJSE_HVALUE GetXFAScriptObject(IXFA_Doc* hDoc);
40 virtual XFA_ATTRIBUTEENUM GetRestoreState(IXFA_Doc* hDoc);
41 virtual FX_BOOL RunDocScript(IXFA_Doc* hDoc,
42 XFA_SCRIPTTYPE eScriptType,
43 const CFX_WideStringC& wsScript,
44 FXJSE_HVALUE hRetValue,
45 FXJSE_HVALUE hThisObject);
46
47 protected:
48 };
49
50 #endif // XFA_SRC_FXFA_APP_XFA_FFDOCHANDLER_H_
OLDNEW
« no previous file with comments | « xfa/src/fxfa/app/xfa_ffdoc.cpp ('k') | xfa/src/fxfa/app/xfa_ffdochandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698