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.cpp118 CPDF_Dictionary* pKid = pKidList->GetDict(i); in _FindPDFPage() local
119 if (!pKid) { in _FindPDFPage()
123 if (pKid == pPages) { in _FindPDFPage()
126 if (!pKid->KeyExist("Kids")) { in _FindPDFPage()
128 return pKid; in _FindPDFPage()
130 m_PageList.SetAt(iPage - nPagesToGo, pKid->GetObjNum()); in _FindPDFPage()
133 int nPages = pKid->GetInteger("Count"); in _FindPDFPage()
135 return _FindPDFPage(pKid, iPage, nPagesToGo, level + 1); in _FindPDFPage()
198 if (CPDF_Reference* pKid = ToReference(pKidList->GetElement(i))) { in _FindPageIndex() local
199 if (pKid->GetRefObjNum() == objnum) { in _FindPageIndex()
[all …]
Dfpdf_parser_utility.cpp448 CPDF_Dictionary* pKid = pKids->GetDict(i); in SearchNumberNode() local
449 if (!pKid) { in SearchNumberNode()
452 CPDF_Object* pFound = SearchNumberNode(pKid, num); in SearchNumberNode()
Dfpdf_parser_parser.cpp4117 CPDF_Reference* pKid = ToReference(pArray->GetElement(i)); in CheckArrayPageNode() local
4118 if (!pKid) in CheckArrayPageNode()
4123 pNode->m_dwPageNo = pKid->GetRefObjNum(); in CheckArrayPageNode()
4167 CPDF_Reference* pKid = pKids->AsReference(); in CheckUnkownPageNode() local
4170 pNode->m_dwPageNo = pKid->GetRefObjNum(); in CheckUnkownPageNode()
4175 CPDF_Reference* pKid = ToReference(pKidsArray->GetElement(i)); in CheckUnkownPageNode() local
4176 if (!pKid) in CheckUnkownPageNode()
4181 pNode->m_dwPageNo = pKid->GetRefObjNum(); in CheckUnkownPageNode()
/external/pdfium/core/src/fpdfdoc/
Ddoc_tagged.cpp68 CPDF_Dictionary* pKid = pArray->GetDict(i); in LoadDocTree() local
70 new CPDF_StructElementImpl(this, nullptr, pKid); in LoadDocTree()
238 CPDF_Object* pKid = pArray->GetElementValue(i); in LoadKids() local
239 LoadKid(PageObjNum, pKid, &m_Kids[i]); in LoadKids()
248 CPDF_StructKid* pKid) { in LoadKid() argument
249 pKid->m_Type = CPDF_StructKid::Invalid; in LoadKid()
257 pKid->m_Type = CPDF_StructKid::PageContent; in LoadKid()
258 pKid->m_PageContent.m_ContentId = pKidObj->GetInteger(); in LoadKid()
259 pKid->m_PageContent.m_PageObjNum = PageObjNum; in LoadKid()
275 pKid->m_Type = CPDF_StructKid::StreamContent; in LoadKid()
[all …]
Ddoc_basic.cpp119 CPDF_Dictionary* pKid = pKids->GetDict(i); in SearchNameNode() local
120 if (!pKid) { in SearchNameNode()
124 SearchNameNode(pKid, csName, nIndex, ppFind, nLevel + 1); in SearchNameNode()
158 CPDF_Dictionary* pKid = pKids->GetDict(i); in SearchNameNode() local
159 if (!pKid) { in SearchNameNode()
163 SearchNameNode(pKid, nIndex, nCurIndex, csName, ppFind, nLevel + 1); in SearchNameNode()
184 CPDF_Dictionary* pKid = pKids->GetDict(i); in CountNames() local
185 if (!pKid) { in CountNames()
188 nCount += CountNames(pKid, nLevel + 1); in CountNames()
Ddoc_form.cpp977 CPDF_Dictionary* pKid = pKids->GetDict(i); in AddTerminalField() local
978 if (!pKid) { in AddTerminalField()
981 if (pKid->GetString("Subtype") != "Widget") { in AddTerminalField()
984 AddControl(pField, pKid); in AddTerminalField()
1147 CPDF_Dictionary* pKid = pKids->GetDict(i); in FDF_ImportField() local
1148 if (!pKid) { in FDF_ImportField()
1152 FDF_ImportField(pKid, name, bNotify, nLevel + 1); in FDF_ImportField()
Dtagged_int.h82 void LoadKid(FX_DWORD PageObjNum, CPDF_Object* pObj, CPDF_StructKid* pKid);
/external/pdfium/core/src/fxcrt/
Dfx_xml_parser.cpp729 CXML_Element* pKid = (CXML_Element*)m_Children.GetAt(i + 1); in CountElements() local
730 if ((space.IsEmpty() || pKid->m_QSpaceName == space) && in CountElements()
731 pKid->m_TagName == tag) { in CountElements()
748 CXML_Element* pKid = (CXML_Element*)m_Children.GetAt(i + 1); in GetElement() local
749 if ((!space.IsEmpty() && pKid->m_QSpaceName != space) || in GetElement()
750 pKid->m_TagName != tag) { in GetElement()
754 return pKid; in GetElement()
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp1027 CPDF_Dictionary* pKid = pKidList->GetDict(i); in InsertDeletePDFPage() local
1028 if (pKid->GetString("Type") == "Page") { in InsertDeletePDFPage()
1042 int nPages = pKid->GetInteger("Count"); in InsertDeletePDFPage()
1046 if (pKid == stackList[j]) { in InsertDeletePDFPage()
1050 stackList.Add(pKid); in InsertDeletePDFPage()
1051 if (InsertDeletePDFPage(pDoc, pKid, nPagesToGo, pPage, bInsert, in InsertDeletePDFPage()