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

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.

  • Prev by Date: Re: 3 obj-c/cocoa beginner q's
  • Next by Date: [1/2OT] CVS gui client for X
  • Previous by thread: Re: Bevelled view edges
  • Next by thread: [1/2OT] CVS gui client for X
  • Index(es):
    • Date
    • Thread