• 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 two views, together
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Maximum size of an NSMutableData object?
  • Next by Date: Re: Cocoa resources
  • Previous by thread: Re: __ape_agent crash?
  • Next by thread: Re: Printing two views, together
  • Index(es):
    • Date
    • Thread