Home
last modified time | relevance | path

Searched refs:pPages (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_document.cpp106 CPDF_Dictionary* CPDF_Document::_FindPDFPage(CPDF_Dictionary* pPages, int iPage, int nPagesToGo, in… in _FindPDFPage() argument
108 CPDF_Array* pKidList = pPages->GetArray(FX_BSTRC("Kids")); in _FindPDFPage()
111 return pPages; in _FindPDFPage()
125 if (pKid == pPages) { in _FindPDFPage()
165 CPDF_Dictionary* pPages = pRoot->GetDict(FX_BSTRC("Pages")); in GetPage() local
166 if (pPages == NULL) { in GetPage()
169 CPDF_Dictionary* pPage = _FindPDFPage(pPages, iPage, iPage, 0); in GetPage()
246 CPDF_Dictionary* pPages = pRoot->GetDict(FX_BSTRC("Pages")); in GetPageIndex() local
247 if (pPages == NULL) { in GetPageIndex()
251 return _FindPageIndex(pPages, skip_count, objnum, index); in GetPageIndex()
[all …]
Dfpdf_parser_parser.cpp2775 FX_BOOL GetPageKids(CPDF_Parser *pParser, CPDF_Object *pPages);
3501 CPDF_Object *pPages = (CPDF_Object *)m_PagesArray.GetAt(i); in CheckPage() local
3502 if (!pPages) { in CheckPage()
3505 if (!GetPageKids(m_pCurrentParser, pPages)) { in CheckPage()
3506 pPages->Release(); in CheckPage()
3508 pPages = (CPDF_Object *)m_PagesArray.GetAt(i); in CheckPage()
3509 pPages->Release(); in CheckPage()
3515 pPages->Release(); in CheckPage()
3523 FX_BOOL CPDF_DataAvail::GetPageKids(CPDF_Parser *pParser, CPDF_Object *pPages) in GetPageKids() argument
3529 CPDF_Dictionary* pDict = pPages->GetDict(); in GetPageKids()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp27 CPDF_Dictionary* pPages = new CPDF_Dictionary; in CreateNewDoc() local
28 pPages->SetAtName("Type", "Pages"); in CreateNewDoc()
29 pPages->SetAtNumber("Count", 0); in CreateNewDoc()
30 pPages->SetAt("Kids", new CPDF_Array); in CreateNewDoc()
31 objnum = AddIndirectObject(pPages); in CreateNewDoc()
1055 static int InsertDeletePDFPage(CPDF_Document* pDoc, CPDF_Dictionary* pPages, in InsertDeletePDFPage() argument
1058 CPDF_Array* pKidList = pPages->GetArray("Kids"); in InsertDeletePDFPage()
1069 pPage->SetAtReference("Parent", pDoc, pPages->GetObjNum()); in InsertDeletePDFPage()
1073 pPages->SetAtInteger("Count", pPages->GetInteger("Count") + (bInsert ? 1 : -1)); in InsertDeletePDFPage()
1091 pPages->SetAtInteger("Count", pPages->GetInteger("Count") + (bInsert ? 1 : -1)); in InsertDeletePDFPage()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdfeditpage.cpp114 CPDF_Dictionary* pPages = (CPDF_Dictionary*)pDict->GetElement("Parent")->GetDirect(); in FPDFPage_GetRotation() local
115 while(pPages) in FPDFPage_GetRotation()
117 if(pPages->KeyExist("Rotate")) in FPDFPage_GetRotation()
119 …rotate = pPages->GetElement("Rotate")->GetDirect()? pPages->GetElement("Rotate")->GetDirect()->Get… in FPDFPage_GetRotation()
122 else if(pPages->KeyExist("Parent")) in FPDFPage_GetRotation()
123 pPages = (CPDF_Dictionary*)pPages->GetElement("Parent")->GetDirect(); in FPDFPage_GetRotation()
/external/pdfium/core/include/fpdfapi/
Dfpdf_parser.h177 CPDF_Dictionary* _FindPDFPage(CPDF_Dictionary* pPages, int iPage, int nPagesToGo, int level);