On Mar 19, 2010, at 2:26 AM, Scott Anguish wrote: > > On Mar 18, 2010, at 7:17 PM, Jenny M wrote: > >> Sorry, no answer, I'm just having a similar issue. I need to print >> columns of text, and all the examples I see indicate a manual creation >> and placement of EACH line of text in an NSRect inside the view. ... >> Is there really no better way to place objects in the view? >> >> > > if the columns of text match line for line, why not use two NSTextViews side > by side? You’ll still likely need to handle pagination, but you don’t have to > draw each one. > > A WebKit view may also be another option. >
Actually, I think that a PDFView may be the way to go for me. I can turn the representations into NSImages, the NSImages into PDFPages, put the PDFPages together into a PDFDocument, throw the PDFDocument into a PDFView, and then print the PDFView. At least there's no fiddling around with rectangles... Brian Postow Senior Software Engineer Acordex Imaging Systems _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com