ETStyleBuilder class documentation

Authors

Generated by builder

Contents -

  1. Software documentation for the ETStyleBuilder class
  2. Software documentation for the ETStyleTransformer protocol

Software documentation for the ETStyleBuilder class

ETStyleBuilder : NSObject

Declared in:
ETStyleBuilder.h

The ETStyleBuilder class is used to construct a presentation style for a specific region of text in the tree. It is passed down from the root of the tree to the leaf, collecting attributes from styles and from overrides as it goes.


Instance Variables

Method summary

addAttributesForStyle: 

- (void) addAttributesForStyle: (id)style;

Adds attributes from the specified style. This method is empty in the superclass. Subclasses implementing different styling policies should override this method.


addCustomAttributes: 

- (void) addCustomAttributes: (NSDictionary*)attributes;

Adds custom presentation attributes.


registerTransformer: forTypeNamed: 

- (void) registerTransformer: (ETStyleTransformer*)aTransformer forTypeNamed: (NSString*)styleName;

Registers a style transformer. Style transformers are used to generate presentation styles from semantic style information.

Note: NOT YET IMPLEMENTED.




Instance Variables for ETStyleBuilder Class

styleTransformers

@protected NSMutableDictionary* styleTransformers;
Description forthcoming.




Software documentation for the ETStyleTransformer protocol

ETStyleTransformer

Declared in:
ETStyleBuilder.h
Description forthcoming.
Method summary

presentationAttributesForType: 

- (NSDictionary*) presentationAttributesForType: (id)aType;
Description forthcoming.