Searched refs:pdfDocument (Results 1 - 11 of 11) sorted by relevance
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/ios/ |
H A D | WKPDFView.h | 35 @property (nonatomic, readonly) CGPDFDocumentRef pdfDocument; variable
|
H A D | WKPDFView.mm | 103 - (CGPDFDocumentRef)pdfDocument
|
/macosx-10.10.1/WebKit-7600.1.25/mac/WebView/ |
H A D | WebPDFDocumentExtras.mm | 67 NSArray *allScriptsInPDFDocument(CGPDFDocumentRef pdfDocument) 70 if (!pdfDocument) 73 CGPDFDictionaryRef pdfCatalog = CGPDFDocumentGetCatalog(pdfDocument);
|
H A D | WebPDFView.mm | 1488 PDFDocument *pdfDocument = [PDFSubview document]; 1489 if (!pdfDocument) 1502 NSUInteger firstVisiblePageIndex = [pdfDocument indexForPage:topLeftPage]; 1503 NSUInteger lastVisiblePageIndex = [pdfDocument indexForPage:bottomRightPage]; 1514 [result addObject:[pdfDocument pageAtIndex:pageIndex]];
|
/macosx-10.10.1/WebKit-7600.1.25/ios/WebView/ |
H A D | WebPDFViewPlaceholder.mm | 326 - (void)_evaluateJSForDocument:(CGPDFDocumentRef)pdfDocument 328 if (!pdfDocument || !CGPDFDocumentIsUnlocked(pdfDocument)) 331 NSArray *scripts = allScriptsInPDFDocument(pdfDocument); 397 - (CGSize)_computePageRects:(CGPDFDocumentRef)pdfDocument 403 if (!pdfDocument) 406 if (!CGPDFDocumentIsUnlocked(pdfDocument)) 409 size_t pageCount = CGPDFDocumentGetNumberOfPages(pdfDocument); 429 CGPDFPageRef page = CGPDFDocumentGetPage(pdfDocument, i);
|
/macosx-10.10.1/WebKit2-7600.1.25/WebProcess/WebPage/mac/ |
H A D | WebPageMac.mm | 887 RetainPtr<PDFDocument> pdfDocument = coreFrame ? pdfDocumentForPrintingFrame(coreFrame) : 0; 888 if ([pdfDocument allowsPrinting]) { 889 NSUInteger pageCount = [pdfDocument pageCount]; 905 static void drawPDFPage(PDFDocument *pdfDocument, CFIndex pageIndex, CGContextRef context, CGFloat pageSetupScaleFactor, CGSize paperSize) 911 PDFPage *pdfPage = [pdfDocument pageAtIndex:pageIndex]; 962 void WebPage::drawPDFDocument(CGContextRef context, PDFDocument *pdfDocument, const PrintInfo& printInfo, const WebCore::IntRect& rect) 964 NSUInteger pageCount = [pdfDocument pageCount]; 972 drawPDFPage(pdfDocument, i, context, printInfo.pageSetupScaleFactor, paperSize); 980 void WebPage::drawPagesToPDFFromPDFDocument(CGContextRef context, PDFDocument *pdfDocument, const PrintInfo& printInfo, uint32_t first, uint32_t count) 982 NSUInteger pageCount = [pdfDocument pageCoun [all...] |
/macosx-10.10.1/WebKit2-7600.1.25/WebProcess/Plugins/PDF/ |
H A D | PDFPlugin.mm | 429 static void getAllScriptsInPDFDocument(CGPDFDocumentRef pdfDocument, Vector<RetainPtr<CFStringRef>>& scripts) 431 if (!pdfDocument) 434 CGPDFDictionaryRef pdfCatalog = CGPDFDocumentGetCatalog(pdfDocument); 1021 if (![pdfDocument() isLocked]) { 1059 if ([pdfDocument() isLocked]) { 1374 if ([pdfDocument() isLocked]) 1631 if (!pdfDocument()) 1643 if (!pdfDocument()) 1717 return [[pdfDocument() findString:target withOptions:nsOptions] count]; 1732 PDFDocument *document = pdfDocument() [all...] |
H A D | PDFPlugin.h | 225 RetainPtr<PDFDocument> pdfDocument() const { return m_pdfDocument; } function in class:WebKit::final
|
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/mac/ |
H A D | WKPrintingView.mm | 427 - (void)_drawPDFDocument:(PDFDocument *)pdfDocument page:(unsigned)page atPoint:(NSPoint)point 429 if (!pdfDocument) { 436 pdfPage = [pdfDocument pageAtIndex:page];
|
/macosx-10.10.1/WebKit2-7600.1.25/UIProcess/API/Cocoa/ |
H A D | WKWebView.mm | 2356 CGPDFDocumentRef pdfDocument = [(WKPDFView *)_customContentView pdfDocument]; 2357 return [(NSData *)CGDataProviderCopyData(CGPDFDocumentGetDataProvider(pdfDocument)) autorelease]; 2497 return CGPDFDocumentGetNumberOfPages([(WKPDFView *)_customContentView pdfDocument]); 2523 return [(WKPDFView *)_customContentView pdfDocument];
|
/macosx-10.10.1/WebKit2-7600.1.25/WebProcess/WebPage/ |
H A D | WebPage.cpp | 3783 if (RetainPtr<PDFDocument> pdfDocument = pdfDocumentForPrintingFrame(coreFrame)) { 3787 drawPDFDocument(graphicsContext->platformContext(), pdfDocument.get(), printInfo, rect); 3836 if (RetainPtr<PDFDocument> pdfDocument = pdfDocumentForPrintingFrame(coreFrame)) { 3838 drawPagesToPDFFromPDFDocument(context.get(), pdfDocument.get(), printInfo, first, count);
|
Completed in 148 milliseconds