summaryrefslogtreecommitdiff
path: root/xfa/fxfa/xfa_ffdoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/xfa_ffdoc.h')
-rw-r--r--xfa/fxfa/xfa_ffdoc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/xfa/fxfa/xfa_ffdoc.h b/xfa/fxfa/xfa_ffdoc.h
index f1ecd909e3..3976f1d5fd 100644
--- a/xfa/fxfa/xfa_ffdoc.h
+++ b/xfa/fxfa/xfa_ffdoc.h
@@ -29,16 +29,21 @@ class CXFA_FFDoc {
public:
CXFA_FFDoc(CXFA_FFApp* pApp, IXFA_DocEnvironment* pDocEnvironment);
~CXFA_FFDoc();
+
IXFA_DocEnvironment* GetDocEnvironment() const { return m_pDocEnvironment; }
uint32_t GetDocType();
+ void SetDocType(uint32_t dwType);
+
int32_t StartLoad();
int32_t DoLoad(IFX_Pause* pPause = nullptr);
void StopLoad();
+
CXFA_FFDocView* CreateDocView(uint32_t dwView = 0);
+
FX_BOOL OpenDoc(IFX_SeekableReadStream* pStream, FX_BOOL bTakeOverFile);
FX_BOOL OpenDoc(CPDF_Document* pPDFDoc);
FX_BOOL CloseDoc();
- void SetDocType(uint32_t dwType);
+
CXFA_Document* GetXFADoc() { return m_pDocumentParser->GetDocument(); }
CXFA_FFApp* GetApp() { return m_pApp; }
CXFA_FFDocView* GetDocView(CXFA_LayoutProcessor* pLayout);