Printing NSTableView from NSDocument
Printing NSTableView from NSDocument
- Subject: Printing NSTableView from NSDocument
- From: Justin Lundy <email@hidden>
- Date: Tue, 25 Mar 2003 08:11:36 -0800
My main window in my doc-based app is entirely a table, so for
printing, using
printOp = [NSPrintOperation printOperationWithView:tableView
printInfo:[self printInfo]];
works great for getting the table information nicely lined up on the
page, but it does not include the column titles. I would like to add
the following information to each page: doc title, column titles, and
page number. Can I do this without subclassing NSTableView, and if so,
how? If not, what methods must I invoke in the subclass?
An example to work from would be wonderful.
Thanks,
Justin
_______________________________________________
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.