Home
last modified time | relevance | path

Searched refs:pAnnots (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/fpdfsdk/
Dfpdfannot.cpp237 CPDF_Array* pAnnots = pPage->m_pFormDict->GetArrayFor("Annots"); in FPDFPage_GetAnnotCount() local
238 return pAnnots ? pAnnots->GetCount() : 0; in FPDFPage_GetAnnotCount()
247 CPDF_Array* pAnnots = pPage->m_pFormDict->GetArrayFor("Annots"); in FPDFPage_GetAnnot() local
248 if (!pAnnots || static_cast<size_t>(index) >= pAnnots->GetCount()) in FPDFPage_GetAnnot()
251 CPDF_Dictionary* pDict = ToDictionary(pAnnots->GetDirectObjectAt(index)); in FPDFPage_GetAnnot()
263 CPDF_Array* pAnnots = pPage->m_pFormDict->GetArrayFor("Annots"); in FPDFPage_GetAnnotIndex() local
264 if (!pAnnots) in FPDFPage_GetAnnotIndex()
269 std::find_if(pAnnots->begin(), pAnnots->end(), in FPDFPage_GetAnnotIndex()
274 if (it == pAnnots->end()) in FPDFPage_GetAnnotIndex()
277 return it - pAnnots->begin(); in FPDFPage_GetAnnotIndex()
[all …]
Dfpdfdoc.cpp327 CPDF_Array* pAnnots = pPage->m_pFormDict->GetArrayFor("Annots"); in FPDFLink_Enumerate() local
328 if (!pAnnots) in FPDFLink_Enumerate()
330 for (size_t i = *startPos; i < pAnnots->GetCount(); i++) { in FPDFLink_Enumerate()
332 ToDictionary(static_cast<CPDF_Object*>(pAnnots->GetDirectObjectAt(i))); in FPDFLink_Enumerate()
Dfpdf_flatten.cpp91 CPDF_Array* pAnnots = pPageDic->GetArrayFor("Annots"); in ParserAnnots() local
92 if (!pAnnots) in ParserAnnots()
95 for (const auto& pAnnot : *pAnnots) { in ParserAnnots()
Dcpdfsdk_interform.cpp178 if (CPDF_Array* pAnnots = pPageDict->GetArrayFor("Annots")) { in GetPageIndexByAnnotDict() local
179 for (int j = 0, jsz = pAnnots->GetCount(); j < jsz; j++) { in GetPageIndexByAnnotDict()
180 CPDF_Object* pDict = pAnnots->GetDirectObjectAt(j); in GetPageIndexByAnnotDict()
/external/pdfium/core/fpdfdoc/
Dcpdf_annotlist.cpp126 CPDF_Array* pAnnots = pPage->m_pFormDict->GetArrayFor("Annots"); in CPDF_AnnotList() local
127 if (!pAnnots) in CPDF_AnnotList()
133 for (size_t i = 0; i < pAnnots->GetCount(); ++i) { in CPDF_AnnotList()
134 CPDF_Dictionary* pDict = ToDictionary(pAnnots->GetDirectObjectAt(i)); in CPDF_AnnotList()
143 pAnnots->ConvertToIndirectObjectAt(i, m_pDocument); in CPDF_AnnotList()
Dcpdf_interform.cpp977 CPDF_Array* pAnnots = pPageDict->GetArrayFor("Annots"); in FixPageFields() local
978 if (!pAnnots) in FixPageFields()
981 for (size_t i = 0; i < pAnnots->GetCount(); i++) { in FixPageFields()
982 CPDF_Dictionary* pAnnot = pAnnots->GetDictAt(i); in FixPageFields()