Re: Printing NSTableView and more
Re: Printing NSTableView and more
- Subject: Re: Printing NSTableView and more
- From: "Jay Rimalrick" <email@hidden>
- Date: Sat, 20 Dec 2003 01:52:54 -0500
I am trying to get a NSTableView to print without the scroll bars but with the
column headers. The code below prints part of my NSTableView without scroll
bars or headers.
1) how do I get the headers to print without the scroll bars?
2) when the NSTableView prints it crops off any columns that don't print on a
page. It prints everything vertically but doesn't print all of the data
horizontally.
3) how can I print information I have stored in strings before the NSTableView
prints?
NSView *aprintView = [[NSApp mainWindow] contentView];
NSArray * viewsToPrint = [aprintView subviews];
NSView *theTextView = [[viewsToPrint objectAtIndex: 0] documentView];
[theTextView print: self];
Thanks in advance,
jay
---------- Original Message ----------------------------------
From: "Jay Rimalrick" <email@hidden>
Reply-To: <email@hidden>
Date: Fri, 19 Dec 2003 18:13:12 -0500
>
I have a NSTableView that I print by simply using
>
>
[myTableView print: self];
>
>
but this does not print the column headers, why not?
>
>
Also I would like to print some information before I print the NSTableView
but have it all appear on the same page ... how do I go about this?
>
>
Any and all information is greatly appreciated.
>
>
-jay
>
>
>
>
>
________________________________________________________________
>
Sent via the WebMail system at 1st.net
>
_______________________________________________
>
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.
>
________________________________________________________________
Sent via the WebMail system at 1st.net
_______________________________________________
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.