Lines Matching refs:pDoc
111 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in GetOrCreateMarkParamsDict() local
112 if (!pDoc) in GetOrCreateMarkParamsDict()
124 auto new_dict = pDoc->New<CPDF_Dictionary>(); in GetOrCreateMarkParamsDict()
153 auto pDoc = pdfium::MakeUnique<CPDF_Document>( in FPDF_CreateNewDocument() local
156 pDoc->CreateNewDoc(); in FPDF_CreateNewDocument()
171 CPDF_Dictionary* pInfoDict = pDoc->GetInfo(); in FPDF_CreateNewDocument()
179 pDoc->SetExtension(pdfium::MakeUnique<CPDFXFA_Context>(pDoc.get())); in FPDF_CreateNewDocument()
183 return FPDFDocumentFromCPDFDocument(pDoc.release()); in FPDF_CreateNewDocument()
188 auto* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFPage_Delete() local
189 if (!pDoc) in FPDFPage_Delete()
192 CPDF_Document::Extension* pExtension = pDoc->GetExtension(); in FPDFPage_Delete()
198 pDoc->DeletePage(page_index); in FPDFPage_Delete()
205 CPDF_Document* pDoc = CPDFDocumentFromFPDFDocument(document); in FPDFPage_New() local
206 if (!pDoc) in FPDFPage_New()
209 page_index = pdfium::clamp(page_index, 0, pDoc->GetPageCount()); in FPDFPage_New()
210 CPDF_Dictionary* pPageDict = pDoc->CreateNewPage(page_index); in FPDFPage_New()
220 if (pDoc->GetExtension()) { in FPDFPage_New()
221 auto pXFAPage = pdfium::MakeRetain<CPDFXFA_Page>(pDoc, page_index); in FPDFPage_New()
227 auto pPage = pdfium::MakeRetain<CPDF_Page>(pDoc, pPageDict); in FPDFPage_New()