Documentation

ETStyleBuilder class documentation

ETStyleBuilder : NSObject

AuthorsGenerated by builder
Declared inETStyleBuilder.h

Overview

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.


Default

- (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.

    - (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.

      - (void) addCustomAttributes: (NSDictionary *)attributes

      Adds custom presentation attributes.