• 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
Re: WebView pagination for printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: WebView pagination for printing (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Command-line parsing
  • Next by Date: Re: How to force NSMenu to redraw its menu items?
  • Previous by thread: Re: WebView pagination for printing
  • Next by thread: Re: WebView pagination for printing
  • Index(es):
    • Date
    • Thread