Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to: Address Book-like text UI




On Sep 5, 2007, at 12:38 AM, Kai BrĂ¼ning wrote:

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

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >How to: Address Book-like text UI (From: Kai BrĂ¼ning <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.