My first idea to control the placement of text blocks was to use
one NSTextContainer per block (as suggested in the documentation
e.g. for multi column layouts). Unfortunately I did not find a
means so far to control the amount of text which is layed out in a
text container. That is, NSLayoutManager seems to always fill a
text container, while I need to assign a pre-determined piece of
text to each container. Is there a way to tell NSLayoutManager to
move to the next text container at a defined point in the text (as
would be needed for forced page breaks or column breaks in more
traditional layout)?
Yes, a form feed character (NSFormFeedCharacter = 0xc) is treated as
a container break.
Douglas Davidson
_______________________________________________
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