From e19e06e430f76f1cdb126e772602c9fbc4dd1e8f Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 21 Jan 2016 10:49:56 -0800 Subject: Merge to XFA: Rename CPDF_PageContentGenerate to CPDF_PageContentGenerator. Original Review URL: https://codereview.chromium.org/1611193003 . (cherry picked from commit ca6d98f4dfe7d4fc506b72c91f122f471a53c878) R=ochang@chromium.org TBR=ochang@chromium.org Review URL: https://codereview.chromium.org/1613163003 . --- core/include/fpdfapi/fpdf_page.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'core/include/fpdfapi') diff --git a/core/include/fpdfapi/fpdf_page.h b/core/include/fpdfapi/fpdf_page.h index d58537aa7e..edcef3c0b6 100644 --- a/core/include/fpdfapi/fpdf_page.h +++ b/core/include/fpdfapi/fpdf_page.h @@ -166,15 +166,15 @@ class CPDF_Form : public CPDF_PageObjects { CPDF_Form* Clone() const; }; -class CPDF_PageContentGenerate { +class CPDF_PageContentGenerator { public: - CPDF_PageContentGenerate(CPDF_Page* pPage); - ~CPDF_PageContentGenerate(); + CPDF_PageContentGenerator(CPDF_Page* pPage); + ~CPDF_PageContentGenerator(); FX_BOOL InsertPageObject(CPDF_PageObject* pPageObject); void GenerateContent(); void TransformContent(CFX_Matrix& matrix); - protected: + private: void ProcessImage(CFX_ByteTextBuf& buf, CPDF_ImageObject* pImageObj); void ProcessForm(CFX_ByteTextBuf& buf, const uint8_t* data, @@ -183,7 +183,6 @@ class CPDF_PageContentGenerate { CFX_ByteString RealizeResource(CPDF_Object* pResourceObj, const FX_CHAR* szType); - private: CPDF_Page* m_pPage; CPDF_Document* m_pDocument; CFX_ArrayTemplate m_pageObjects; -- cgit v1.2.3