Home
last modified time | relevance | path

Searched refs:pKid (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_document.cpp119 CPDF_Dictionary* pKid = pKidList->GetDict(i); in _FindPDFPage() local
120 if (pKid == NULL) { in _FindPDFPage()
124 if (pKid == pPages) { in _FindPDFPage()
127 if (!pKid->KeyExist(FX_BSTRC("Kids"))) { in _FindPDFPage()
129 return pKid; in _FindPDFPage()
131 m_PageList.SetAt(iPage - nPagesToGo, pKid->GetObjNum()); in _FindPDFPage()
134 int nPages = pKid->GetInteger(FX_BSTRC("Count")); in _FindPDFPage()
136 return _FindPDFPage(pKid, iPage, nPagesToGo, level + 1); in _FindPDFPage()
193 CPDF_Reference* pKid = (CPDF_Reference*)pKidList->GetElement(i); in _FindPageIndex() local
194 if (pKid && pKid->GetType() == PDFOBJ_REFERENCE) { in _FindPageIndex()
[all …]
Dfpdf_parser_utility.cpp439 CPDF_Dictionary* pKid = pKids->GetDict(i); in SearchNumberNode() local
440 if (pKid == NULL) { in SearchNumberNode()
443 CPDF_Object* pFound = SearchNumberNode(pKid, num); in SearchNumberNode()
Dfpdf_parser_parser.cpp3279 CPDF_Reference *pKid = (CPDF_Reference *)pKids; in GetPageKids() local
3280 m_PageObjList.Add(pKid->GetRefObjNum()); in GetPageKids()
3286 CPDF_Reference *pKid = (CPDF_Reference *)pKidsArray->GetElement(i); in GetPageKids() local
3287 m_PageObjList.Add(pKid->GetRefObjNum()); in GetPageKids()
3873 CPDF_Object *pKid = (CPDF_Object *)pArray->GetElement(i); in CheckArrayPageNode() local
3874 if (!pKid || pKid->GetType() != PDFOBJ_REFERENCE) { in CheckArrayPageNode()
3879 pNode->m_dwPageNo = ((CPDF_Reference*)pKid)->GetRefObjNum(); in CheckArrayPageNode()
3921 CPDF_Reference *pKid = (CPDF_Reference *)pKids; in CheckUnkownPageNode() local
3924 pNode->m_dwPageNo = pKid->GetRefObjNum(); in CheckUnkownPageNode()
3930 CPDF_Object *pKid = (CPDF_Object *)pKidsArray->GetElement(i); in CheckUnkownPageNode() local
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_tagged.cpp81 CPDF_Dictionary* pKid = pArray->GetDict(i); in LoadDocTree() local
82 … CPDF_StructElementImpl* pStructElementImpl = FX_NEW CPDF_StructElementImpl(this, NULL, pKid); in LoadDocTree()
258 CPDF_Object* pKid = pArray->GetElementValue(i); in LoadKids() local
259 LoadKid(PageObjNum, pKid, &m_Kids[i]); in LoadKids()
266 …id CPDF_StructElementImpl::LoadKid(FX_DWORD PageObjNum, CPDF_Object* pKidObj, CPDF_StructKid* pKid) in LoadKid() argument
268 pKid->m_Type = CPDF_StructKid::Invalid; in LoadKid()
276 pKid->m_Type = CPDF_StructKid::PageContent; in LoadKid()
277 pKid->m_PageContent.m_ContentId = pKidObj->GetInteger(); in LoadKid()
278 pKid->m_PageContent.m_PageObjNum = PageObjNum; in LoadKid()
294 pKid->m_Type = CPDF_StructKid::StreamContent; in LoadKid()
[all …]
Ddoc_basic.cpp123 CPDF_Dictionary* pKid = pKids->GetDict(i); in SearchNameNode() local
124 if (pKid == NULL) { in SearchNameNode()
127 CPDF_Object* pFound = SearchNameNode(pKid, csName, nIndex, ppFind, nLevel + 1); in SearchNameNode()
159 CPDF_Dictionary* pKid = pKids->GetDict(i); in SearchNameNode() local
160 if (pKid == NULL) { in SearchNameNode()
163 CPDF_Object* pFound = SearchNameNode(pKid, nIndex, nCurIndex, csName, ppFind, nLevel + 1); in SearchNameNode()
185 CPDF_Dictionary* pKid = pKids->GetDict(i); in CountNames() local
186 if (pKid == NULL) { in CountNames()
189 nCount += CountNames(pKid, nLevel + 1); in CountNames()
Dtagged_int.h77 void LoadKid(FX_DWORD PageObjNum, CPDF_Object* pObj, CPDF_StructKid* pKid);
Ddoc_form.cpp1356 CPDF_Dictionary* pKid = pKids->GetDict(i); in AddTerminalField() local
1357 if (pKid == NULL) { in AddTerminalField()
1360 if (pKid->GetString("Subtype") != "Widget") { in AddTerminalField()
1363 AddControl(pField, pKid); in AddTerminalField()
1533 CPDF_Dictionary* pKid = pKids->GetDict(i); in FDF_ImportField() local
1534 if (pKid == NULL) { in FDF_ImportField()
1538 FDF_ImportField(pKid, name, bNotify, nLevel + 1); in FDF_ImportField()
/external/pdfium/core/src/fxcrt/
Dfx_xml_parser.cpp901 CXML_Element* pKid = (CXML_Element*)m_Children.GetAt(i + 1); in CountElements() local
902 if ((space.IsEmpty() || pKid->m_QSpaceName == space) && pKid->m_TagName == tag) { in CountElements()
918 CXML_Element* pKid = (CXML_Element*)m_Children.GetAt(i + 1); in GetElement() local
919 if ((!space.IsEmpty() && pKid->m_QSpaceName != space) || pKid->m_TagName != tag) { in GetElement()
923 return pKid; in GetElement()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp1086 CPDF_Dictionary* pKid = pKidList->GetDict(i); in InsertDeletePDFPage() local
1087 if (pKid->GetString("Type") == FX_BSTRC("Page")) { in InsertDeletePDFPage()
1100 int nPages = pKid->GetInteger("Count"); in InsertDeletePDFPage()
1104 if (pKid == stackList[j]) { in InsertDeletePDFPage()
1108 stackList.Add(pKid); in InsertDeletePDFPage()
1109 if (InsertDeletePDFPage(pDoc, pKid, nPagesToGo, pPage, bInsert, stackList) < 0) { in InsertDeletePDFPage()