Printing report from non-document app?
Printing report from non-document app?
- Subject: Printing report from non-document app?
- From: "Guy Umbright" <email@hidden>
- Date: Mon, 21 Oct 2002 09:10:39 -0500
- Thread-topic: Printing report from non-document app?
I have a non-document based application that I want to print from.
What I want to print is a graph (custom view) followed by a table
of data represented in the graph, both being displayed in the
interface, but not in the form required for the report.
My first thought is make a view with the graph (NSView) on top with
an NSTableView beneath and print that. Close, but the table doesn't
display all the data, just what would show if the view were displayed
in a window. Doh! I was thinking of when you print: the table view
directly.
None of the Cocoa books address this kind of thing (the Hillegass (sp?)
book comes closest with some good info). Anyone aware of any good
examples along these lines, or have I perhaps egregiously missed
documentation that address this kind of thing?
What is the right technique here? Pitch the NSTableView and just
draw the text for the table myself? Do I just keep extending the
enclosing view size as I draw? Or force the NSTableView to expand
to display all the data (something I can't seem to figure out how to
do currently)?
Pointers, opinions appreciated.
Thanks and sorry about the big annoying disclaimer...
Guy Umbright
This electronic mail message and any attached files contain information
intended for the exclusive use of the individual or entity to whom it is
addressed and may contain information that is proprietary, privileged,
confidential and/or exempt from disclosure under applicable law. If you are
not the intended recipient, you are hereby notified that any viewing, copying,
disclosure or distribution of this information may be subject to legal
restriction or sanction. Please notify the sender, by electronic mail or
telephone, of any unintended recipients and delete the original message
without making any copies.
_______________________________________________
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.