printing a table
printing a table
- Subject: printing a table
- From: "Nathan V. Roberts" <email@hidden>
- Date: Mon, 16 Jul 2001 08:49:26 -0500
Hi,
I'm trying to get printing working in my app, which has a table in
it. I know I can print any NSView, but the trouble is getting an
NSView which actually shows all the table data--NSTableView, for
example, will cut off cells that have too much data in them. The
look I'm after is just what you'd expect from a table in a word
processor--a row gets taller as the minimum height required to
display the contents of its largest cell grows. Even with wrapping
on, NSTableView will not do that (unless I'm doing something wrong).
I'm at a bit of a loss as to how to set this up--what NSViews are
most appropriate here?
Any hints would be greatly appreciated.
Thanks!
Nathan