diff options
Diffstat (limited to 'fpdfsdk/fpdfxfa/cpdfxfa_page.h')
-rw-r--r-- | fpdfsdk/fpdfxfa/cpdfxfa_page.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/fpdfxfa/cpdfxfa_page.h b/fpdfsdk/fpdfxfa/cpdfxfa_page.h index 80a183f807..81f0a305c9 100644 --- a/fpdfsdk/fpdfxfa/cpdfxfa_page.h +++ b/fpdfsdk/fpdfxfa/cpdfxfa_page.h @@ -12,14 +12,14 @@ #include "core/fxcrt/fx_system.h" class CFX_Matrix; -class CPDFXFA_Document; +class CPDFXFA_Context; class CPDF_Dictionary; class CPDF_Page; class CXFA_FFPageView; class CPDFXFA_Page { public: - CPDFXFA_Page(CPDFXFA_Document* pDoc, int page_index); + CPDFXFA_Page(CPDFXFA_Context* pContext, int page_index); void Retain() { m_iRef++; } void Release() { @@ -29,7 +29,7 @@ class CPDFXFA_Page { FX_BOOL LoadPage(); FX_BOOL LoadPDFPage(CPDF_Dictionary* pageDict); - CPDFXFA_Document* GetDocument() const { return m_pDocument; } + CPDFXFA_Context* GetContext() const { return m_pContext; } int GetPageIndex() const { return m_iPageIndex; } CPDF_Page* GetPDFPage() const { return m_pPDFPage.get(); } CXFA_FFPageView* GetXFAPageView() const { return m_pXFAPageView; } @@ -77,7 +77,7 @@ class CPDFXFA_Page { private: std::unique_ptr<CPDF_Page> m_pPDFPage; CXFA_FFPageView* m_pXFAPageView; - CPDFXFA_Document* const m_pDocument; + CPDFXFA_Context* const m_pContext; const int m_iPageIndex; int m_iRef; }; |