Re: Print a NSTextView on two (or more) columns
Re: Print a NSTextView on two (or more) columns
- Subject: Re: Print a NSTextView on two (or more) columns
- From: David Phillip Oster <email@hidden>
- Date: Sat, 17 Jun 2006 20:17:21 -0700
At 17 Jun 2006 22:38:09 +0200, J?r?me Paschoud
<email@hidden> wrote:
Thanks but TextSizing doesn't have anything to do with printing...
Yes, it will print, if you copy it, then, in Interface Builder, in
TextSizingExample.nib, add a standard File ,menu, and delete the
existing one. Re-run it, and it will print.
However, it doesn't print by default in two columns. My guess is that
since [-didSwapIn] makes the textview the first responder, and as
such it gets the print command, andjust prints itself. Clearly, that
will never work.
Instead make the NSView into a custom class, follow the standard
instructions on making a NSView print, but using the TextSizing code
to produce the two columns.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden