• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTextView + NSTextTable print pagination query
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Rotate a standard Cocoa control?
  • Next by Date: Looking at self = [super init].
  • Previous by thread: Re: NSDocumentTitlebarPopoverViewController zombie on Yosemite
  • Next by thread: Looking at self = [super init].
  • Index(es):
    • Date
    • Thread