Lines Matching refs:page_index
145 RetainPtr<CPDFXFA_Page> CPDFXFA_Context::GetXFAPage(int page_index) { in GetXFAPage() argument
146 if (page_index < 0) in GetXFAPage()
149 if (pdfium::IndexInBounds(m_XFAPageList, page_index)) { in GetXFAPage()
150 if (m_XFAPageList[page_index]) in GetXFAPage()
151 return m_XFAPageList[page_index]; in GetXFAPage()
157 auto pPage = pdfium::MakeRetain<CPDFXFA_Page>(this, page_index); in GetXFAPage()
161 if (pdfium::IndexInBounds(m_XFAPageList, page_index)) in GetXFAPage()
162 m_XFAPageList[page_index] = pPage; in GetXFAPage()
185 void CPDFXFA_Context::DeletePage(int page_index) { in DeletePage() argument
190 m_pPDFDoc->DeletePage(page_index); in DeletePage()
192 if (pdfium::IndexInBounds(m_XFAPageList, page_index)) in DeletePage()
193 m_XFAPageList[page_index].Reset(); in DeletePage()