• 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 and tabular data (again)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing and tabular data (again)


  • Subject: Re: Printing and tabular data (again)
  • From: Erik Verbruggen <email@hidden>
  • Date: Fri, 18 Apr 2008 15:55:05 +0100

The third approach is to use the NSTextTable, as described in http:// developer.apple.com/documentation/Cocoa/Conceptual/TextLayout/ Articles/TextTables.html

Cheers,
Erik.


On 16 Apr 2008, at 22:44, Luca Torella wrote:
Hi all,
I know this has been discussed many times before, but I still can't find a definitely easy and all-purpose answer. Is it really that hard to print the content of an NSTableView? It seems there are two main ways to do that.


- The first way is to create another NSTableView in an invisible window as covered in this topic:
http://forums.macrumors.com/showthread.php?t=273153


- The second approach is to create an NSString containing HTML code that should be rendered by the fabulous WebKit.

Well I dislike both approaches: they are both not so smooth as I'm used to with Cocoa. And I can't believe there isn't an open-source class or a framework that can be used and can be improved by Cocoa developers. Printing tabular data in Cocoa is just to hard and this should be fixed as soon as possible in my opinion, in the while the Cocoa community should work out to find a solution.
I'll be happy to give my contribute, but first I'd like to know some opinions about other Cocoa developers and their approaches to this problem.


Thanks in advance,
Luca



_______________________________________________

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

_______________________________________________

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: 
 >Printing and tabular data (again) (From: Luca Torella <email@hidden>)

  • Prev by Date: Re: Why is [nil aMessage] a no-op?
  • Next by Date: Re: Different ways of application installation
  • Previous by thread: Printing and tabular data (again)
  • Next by thread: NSArrayController bound to @unionOfArrays not updating
  • Index(es):
    • Date
    • Thread