summaryrefslogtreecommitdiff
path: root/core/fpdfapi/parser/cpdf_document.h
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-11-03 11:47:43 -0700
committerCommit bot <commit-bot@chromium.org>2016-11-03 11:47:43 -0700
commit20ef5b93439a0e28cd612b824831f8dfcf234dfd (patch)
treef9ad07f638e98a1335d972d674d2a6756da94baf /core/fpdfapi/parser/cpdf_document.h
parentc9f94df9651208052d4ea7c6ab1cb1aab243dfd2 (diff)
downloadpdfium-20ef5b93439a0e28cd612b824831f8dfcf234dfd.tar.xz
Move CPDF_Document insert methods from namespace
Making the insert methods private allows us to use private members, as I will need on https://codereview.chromium.org/2470803003/ Review-Url: https://codereview.chromium.org/2472473005
Diffstat (limited to 'core/fpdfapi/parser/cpdf_document.h')
-rw-r--r--core/fpdfapi/parser/cpdf_document.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/fpdfapi/parser/cpdf_document.h b/core/fpdfapi/parser/cpdf_document.h
index d8e5cb977e..e1135260ee 100644
--- a/core/fpdfapi/parser/cpdf_document.h
+++ b/core/fpdfapi/parser/cpdf_document.h
@@ -124,6 +124,12 @@ class CPDF_Document : public CPDF_IndirectObjectHolder {
bool bVert,
CFX_ByteString basefont,
std::function<void(FX_WCHAR, FX_WCHAR, CPDF_Array*)> Insert);
+ bool InsertDeletePDFPage(CPDF_Dictionary* pPages,
+ int nPagesToGo,
+ CPDF_Dictionary* pPageDict,
+ bool bInsert,
+ std::set<CPDF_Dictionary*>* pVisited);
+ bool InsertNewPage(int iPage, CPDF_Dictionary* pPageDict);
std::unique_ptr<CPDF_Parser> m_pParser;
CPDF_Dictionary* m_pRootDict;