summaryrefslogtreecommitdiff
path: root/core/fpdfapi
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi')
-rw-r--r--core/fpdfapi/fpdf_parser/include/cpdf_document.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_document.h b/core/fpdfapi/fpdf_parser/include/cpdf_document.h
index 0b865cb7f2..5f3b2d277a 100644
--- a/core/fpdfapi/fpdf_parser/include/cpdf_document.h
+++ b/core/fpdfapi/fpdf_parser/include/cpdf_document.h
@@ -48,7 +48,9 @@ class CPDF_Document : public CPDF_IndirectObjectHolder {
CPDF_Dictionary* GetRoot() const { return m_pRootDict; }
CPDF_Dictionary* GetInfo() const { return m_pInfoDict; }
+ void DeletePage(int iPage);
int GetPageCount() const;
+
CPDF_Dictionary* GetPage(int iPage);
int GetPageIndex(uint32_t objnum);
uint32_t GetUserPermissions() const;
@@ -78,10 +80,9 @@ class CPDF_Document : public CPDF_IndirectObjectHolder {
void LoadLinearizedDoc(CPDF_Dictionary* pLinearizationParams);
void LoadPages();
- // Editing methods.
void CreateNewDoc();
CPDF_Dictionary* CreateNewPage(int iPage);
- void DeletePage(int iPage);
+
CPDF_Font* AddStandardFont(const FX_CHAR* font, CPDF_FontEncoding* pEncoding);
CPDF_Font* AddFont(CFX_Font* pFont, int charset, FX_BOOL bVert);
#if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_