NSTextView + NSTextTable print pagination query
NSTextView + NSTextTable print pagination query
- Subject: NSTextView + NSTextTable print pagination query
- From: Jonathan Mitchell <email@hidden>
- Date: Fri, 29 May 2015 14:27:47 +0100
I am printing my NSTableView by constructing an NSTextTable attributed string representation and storing that into an NSTextView.
This works great and it paginates correctly :i.e.: table rows don’t get split between pages.
My NSTextTable has a header row and this is output at the start of each table.
However I would also like to print this header row at the top of each page if appropriate i.e.: where a NSTextTable spans a page break.
I cannot quite figure out where in the text system I should be looking to try and accomplish this.
A prod in the right direction would be appreciated.
Thanks
Jonathan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden