summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_document.h
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/cpdfsdk_document.h')
-rw-r--r--fpdfsdk/cpdfsdk_document.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/fpdfsdk/cpdfsdk_document.h b/fpdfsdk/cpdfsdk_document.h
index 561bfc198d..921a8df972 100644
--- a/fpdfsdk/cpdfsdk_document.h
+++ b/fpdfsdk/cpdfsdk_document.h
@@ -17,7 +17,7 @@
#include "public/fpdf_formfill.h"
class CPDF_OCContext;
-class CPDFSDK_Environment;
+class CPDFSDK_FormFillEnvironment;
class CPDFSDK_InterForm;
class CPDFSDK_PageView;
class IJS_Runtime;
@@ -26,7 +26,8 @@ class CPDFSDK_Document : public CFX_Observable<CPDFSDK_Document> {
public:
static CPDFSDK_Document* FromFPDFFormHandle(FPDF_FORMHANDLE hHandle);
- CPDFSDK_Document(UnderlyingDocumentType* pDoc, CPDFSDK_Environment* pEnv);
+ CPDFSDK_Document(UnderlyingDocumentType* pDoc,
+ CPDFSDK_FormFillEnvironment* pEnv);
~CPDFSDK_Document();
CPDFSDK_InterForm* GetInterForm();
@@ -89,7 +90,7 @@ class CPDFSDK_Document : public CFX_Observable<CPDFSDK_Document> {
void ClearChangeMark() { m_bChangeMask = FALSE; }
CFX_WideString GetPath();
UnderlyingPageType* GetPage(int nIndex);
- CPDFSDK_Environment* GetEnv() { return m_pEnv; }
+ CPDFSDK_FormFillEnvironment* GetEnv() { return m_pEnv; }
void ProcJavascriptFun();
FX_BOOL ProcOpenAction();
CPDF_OCContext* GetOCContext();
@@ -99,7 +100,7 @@ class CPDFSDK_Document : public CFX_Observable<CPDFSDK_Document> {
UnderlyingDocumentType* m_pDoc;
std::unique_ptr<CPDFSDK_InterForm> m_pInterForm;
CPDFSDK_Annot::ObservedPtr m_pFocusAnnot;
- CPDFSDK_Environment* m_pEnv;
+ CPDFSDK_FormFillEnvironment* m_pEnv;
std::unique_ptr<CPDF_OCContext> m_pOccontent;
FX_BOOL m_bChangeMask;
FX_BOOL m_bBeingDestroyed;