Printing two views, together
Printing two views, together
- Subject: Printing two views, together
- From: Andrew Merenbach <email@hidden>
- Date: Tue, 3 Dec 2002 22:31:39 -0800
I've combed through NSView and NSPrintInfo, without success, to try to
find a way to "concatenate" two views.
My situation is that I have a database application with an NSTableView
subclass, which I'd like to print. Everything's working well, except
that the printouts are a bit confusing without column titles.
I've come up with a method that creates an NSTextView object and fills
it with the column titles, properly tabulated (based on the current
widths of the columns in my table view), but I can't seem to "connect"
it to my tableView so they'll print together.
(What would be even better would be to override my table view's
subclass [or to subclass my table view's header view] so that it would
print the table column header without the cell background--is this at
all feasible? And would it be possible to get the column headers
printed at the top of the data list for each page?)
Take care,
Andrew Merenbach
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.