summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_parser/include
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-09-08 14:21:51 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-08 14:21:51 -0700
commit0ca160fbf31a7408df282823f7a3d4cbb5f386a1 (patch)
treeb590926b9beb78f7d5504cbdfc5b3ba33ff1bfa0 /core/fpdfapi/fpdf_parser/include
parentc2d0e29cd8fa24c9af0cc4f2a15f90096a5ca8e2 (diff)
downloadpdfium-0ca160fbf31a7408df282823f7a3d4cbb5f386a1.tar.xz
Delete unused methods in CPDF_Document
Review-Url: https://codereview.chromium.org/2323933002
Diffstat (limited to 'core/fpdfapi/fpdf_parser/include')
-rw-r--r--core/fpdfapi/fpdf_parser/include/cpdf_document.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_document.h b/core/fpdfapi/fpdf_parser/include/cpdf_document.h
index f3322425ed..2d315e9d5b 100644
--- a/core/fpdfapi/fpdf_parser/include/cpdf_document.h
+++ b/core/fpdfapi/fpdf_parser/include/cpdf_document.h
@@ -47,18 +47,11 @@ class CPDF_Document : public CPDF_IndirectObjectHolder {
CPDF_Dictionary* GetRoot() const { return m_pRootDict; }
CPDF_Dictionary* GetInfo() const { return m_pInfoDict; }
- void GetID(CFX_ByteString& id1, CFX_ByteString& id2) const {
- id1 = m_ID1;
- id2 = m_ID2;
- }
-
int GetPageCount() const;
CPDF_Dictionary* GetPage(int iPage);
int GetPageIndex(uint32_t objnum);
uint32_t GetUserPermissions() const;
CPDF_DocPageData* GetPageData() const { return m_pDocPage; }
- void ClearPageData();
- void RemoveColorSpaceFromPageData(CPDF_Object* pObject);
std::unique_ptr<JBig2_DocumentContext>* CodecContext() {
return &m_pCodecContext;
@@ -66,8 +59,6 @@ class CPDF_Document : public CPDF_IndirectObjectHolder {
std::unique_ptr<CPDF_LinkList>* LinksContext() { return &m_pLinksContext; }
CPDF_DocRenderData* GetRenderData() const { return m_pDocRender.get(); }
- void ClearRenderData();
- void ClearRenderFont();
FX_BOOL IsFormStream(uint32_t objnum, FX_BOOL& bForm) const;
@@ -102,11 +93,6 @@ class CPDF_Document : public CPDF_IndirectObjectHolder {
FX_BOOL bVert,
FX_BOOL bTranslateName = FALSE);
#endif
-#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
- CPDF_Font* AddMacFont(CTFontRef pFont,
- FX_BOOL bVert,
- FX_BOOL bTranslateName = FALSE);
-#endif
protected:
friend class CPDF_Creator;
@@ -125,14 +111,11 @@ class CPDF_Document : public CPDF_IndirectObjectHolder {
uint32_t objnum,
int& index,
int level = 0);
- FX_BOOL CheckOCGVisible(CPDF_Dictionary* pOCG, FX_BOOL bPrinting);
CPDF_Object* ParseIndirectObject(uint32_t objnum) override;
std::unique_ptr<CPDF_Parser> m_pParser;
CPDF_Dictionary* m_pRootDict;
CPDF_Dictionary* m_pInfoDict;
- CFX_ByteString m_ID1;
- CFX_ByteString m_ID2;
bool m_bLinearized;
int m_iFirstPageNo;
uint32_t m_dwFirstPageObjNum;