Home
last modified time | relevance | path

Searched refs:pdf_doc (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/printing/
Dpdf_metafile_cg_mac.cc178 CGPDFDocumentRef pdf_doc = GetPDFDocument(); in RenderPage() local
179 if (!pdf_doc) { in RenderPage()
183 CGPDFPageRef pdf_page = CGPDFDocumentGetPage(pdf_doc, page_number); in RenderPage()
244 CGPDFDocumentRef pdf_doc = GetPDFDocument(); in GetPageCount() local
245 return pdf_doc ? CGPDFDocumentGetNumberOfPages(pdf_doc) : 0; in GetPageCount()
249 CGPDFDocumentRef pdf_doc = GetPDFDocument(); in GetPageBounds() local
250 if (!pdf_doc) { in GetPageBounds()
258 CGPDFPageRef pdf_page = CGPDFDocumentGetPage(pdf_doc, page_number); in GetPageBounds()
Dpdf_metafile_skia.cc233 SkPDFDocument pdf_doc(SkPDFDocument::kDraftMode_Flags); in GetMetafileForCurrentPage() local
235 if (!pdf_doc.appendPage(data_->current_page_.get())) in GetMetafileForCurrentPage()
238 if (!pdf_doc.emitPDF(&pdf_stream)) in GetMetafileForCurrentPage()