• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WebView pdf representation - div background colours AWOL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WebView pdf representation - div background colours AWOL


  • Subject: WebView pdf representation - div background colours AWOL
  • From: "email@hidden" <email@hidden>
  • Date: Tue, 11 Mar 2014 15:55:38 +0000

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 (email@hidden)

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:

This email sent to email@hidden


  • Prev by Date: Re: Best way to make Finder/Mail style toolbars?
  • Next by Date: Re: WebView pdf representation - div background colours AWOL
  • Previous by thread: Re: NSArray's objectAtIndex compiles to objectAtIndexedSubscript? SOLVED
  • Next by thread: Re: WebView pdf representation - div background colours AWOL
  • Index(es):
    • Date
    • Thread