Kyle Sluder <kyle.slu...@gmail.com> 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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to