• 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: Printing an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing an NSTableView


  • Subject: Re: Printing an NSTableView
  • From: Dan Stein <email@hidden>
  • Date: Tue, 25 Jan 2005 09:57:04 -0800

On Jan 25, 2005, at 9:06 AM, Austin Sarner wrote:

All NSViews can be printed... but is there any relatively simple way to print an NSTableView and have the text wrap properly instead of just printing what's visible?

Thanks a bunch
 _______________________________________________

I think the brute force way is to create a custom print view, laid out the way you would like, and draw the strings from
your table view within it. You have to do some calculations to lay out the "columns" in the custom view.
Wrapping a long cell within one of those columns would involve some additional work, of course.
I can think of a couple of different ways I might try to do that, but I have not ever had to implement such a thing.


This produces a crude "printout" of the table contents, laid out like a table, but is not a printed NSTableView.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Printing an NSTableView (From: Austin Sarner <email@hidden>)

  • Prev by Date: Re: mathematical area of closed vector path
  • Next by Date: Re: index column in bound NSTableView
  • Previous by thread: Printing an NSTableView
  • Next by thread: Re: Printing an NSTableView
  • Index(es):
    • Date
    • Thread