Re: WebView pagination for printing
Re: WebView pagination for printing
- Subject: Re: WebView pagination for printing
- From: email@hidden (Laurent Demaret)
- Date: Wed, 21 Jul 2010 17:27:31 +0200
- Organization: None
Kyle Sluder <email@hidden> wrote:
> If Apple were to provide a print-oriented table or report class, I
> would expect and hope it was separate from NSTableView. NSTableView is
> very much an onscreen control, and its design reflects such.
There is the NSTextTable Class that inherits from NSTextBlock that goes
in NSParagraphStyle of NSAttributedString. Not very easy to grasp but
there is enough code in MyDocument_Pasteboard.m file of iSpend code
sample application to get out of it.
Of course as it's for Pasteboard it is not explained how you can add it
to your printing work.
But once you get it you can print quite easily any table with a loop..
_______________________________________________
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