I create local mustache template driven HTML content and display it in my OS X 
10.9 app using WebView.

I get the WebView PDF representation like so:

NSView <WebDocumentView> *webDocumentView = [[[self.webView mainFrame] 
frameView] documentView];
NSData *pdfData = [webDocumentView dataWithPDFInsideRect:webDocumentView.frame];

However, the pdf rendering is missing some simple div background colouring 
(like alternating backgrounds on table rows).

The HTML looks as required in the WebView.

What have I missed?

Jonathan













_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to