ETTextFragment class documentation

Authors

Generated by builder

Software documentation for the ETTextFragment class

ETTextFragment : COObject

Declared in:
ETTextFragment.h
Conforms to:
ETText

A text fragment is a leaf node in a structured text tree. It contains a run of characters, a style, and optionally some presentation attributes that will override those assigned by the style.

Note that a text fragment may contain an empty string. This may be used by subclasses to store references to external resources and other things that would require a special character in NSAttributedString.


Instance Variables

Method summary

fragmentWithString: 

+ (id) fragmentWithString: (NSString*)aString;
Description forthcoming.

initWithString: 

- (id) initWithString: (NSString*)string;

Initializes the text fragment with a string.




Instance Variables for ETTextFragment Class

text

@protected NSMutableString* text;
Description forthcoming.