summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_page.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_page.h')
-rw-r--r--core/fpdfapi/page/cpdf_page.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/fpdfapi/page/cpdf_page.h b/core/fpdfapi/page/cpdf_page.h
index b0dfa26124..77cc793d81 100644
--- a/core/fpdfapi/page/cpdf_page.h
+++ b/core/fpdfapi/page/cpdf_page.h
@@ -57,7 +57,6 @@ class CPDF_Page : public CPDF_PageObjectHolder {
CFX_FloatRect GetPageBBox() const { return m_BBox; }
const CFX_Matrix& GetPageMatrix() const { return m_PageMatrix; }
int GetPageRotation() const;
- CPDF_Object* GetPageAttr(const CFX_ByteString& name) const;
CPDF_PageRenderCache* GetRenderCache() const { return m_pPageRender.get(); }
CPDF_PageRenderContext* GetRenderContext() const {
@@ -71,9 +70,12 @@ class CPDF_Page : public CPDF_PageObjectHolder {
std::map<GraphicsData, CFX_ByteString> m_GraphicsMap;
std::map<FontData, CFX_ByteString> m_FontsMap;
- protected:
+ private:
void StartParse();
+ CPDF_Object* GetPageAttr(const CFX_ByteString& name) const;
+ CFX_FloatRect GetBox(const CFX_ByteString& name) const;
+
float m_PageWidth;
float m_PageHeight;
CFX_Matrix m_PageMatrix;