summaryrefslogtreecommitdiff
path: root/core/include/fpdfapi
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-01-21 10:49:56 -0800
committerTom Sepez <tsepez@chromium.org>2016-01-21 10:49:56 -0800
commite19e06e430f76f1cdb126e772602c9fbc4dd1e8f (patch)
treed3d7fe1ceeed341e64f538325975e46e1fc93e0d /core/include/fpdfapi
parent6c7508bf13e39e21f39d98fc1a6a6ad8aefb96c1 (diff)
downloadpdfium-e19e06e430f76f1cdb126e772602c9fbc4dd1e8f.tar.xz
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 .
Diffstat (limited to 'core/include/fpdfapi')
-rw-r--r--core/include/fpdfapi/fpdf_page.h9
1 files changed, 4 insertions, 5 deletions
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<CPDF_PageObject*> m_pageObjects;