Chromium Code Reviews| Index: core/fpdfapi/fpdf_parser/include/cpdf_document.h |
| diff --git a/core/fpdfapi/fpdf_parser/include/cpdf_document.h b/core/fpdfapi/fpdf_parser/include/cpdf_document.h |
| index 0b865cb7f2a43c9e3e208d7712800b2d65bc7f8b..5f3b2d277a75513a89aa5291a2b47398c9bd0f87 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; |
|
dsinclair
2016/09/20 13:30:54
These two are grouped as they will become virtual
|
| + |
| 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_ |