Lines Matching refs:iPage
1121 static int InsertNewPage(CPDF_Document* pDoc, int iPage, CPDF_Dictionary* pPageDict, CFX_DWordArray &pageList)
1132 if (iPage < 0 || iPage > nPages) {
1135 if (iPage == nPages) {
1147 if (InsertDeletePDFPage(pDoc, pPages, iPage, pPageDict, TRUE, stack) < 0) {
1151 pageList.InsertAt(iPage, pPageDict->GetObjNum());
1152 return iPage;
1154 CPDF_Dictionary* CPDF_Document::CreateNewPage(int iPage)
1159 if (InsertNewPage(this, iPage, pDict, m_PageList) < 0) {
1174 void CPDF_Document::DeletePage(int iPage)
1185 if (iPage < 0 || iPage >= nPages) {
1190 if (InsertDeletePDFPage(this, pPages, iPage, NULL, FALSE, stack) < 0) {
1193 m_PageList.RemoveAt(iPage);