- All the fields-related classes are located in AODL.Document.Fields namespace
- All the Fields classes that represent the appropriate 'content' snippets implement the IContent interface.
- Placeholder and TextInput classes stand for text:placeholder and text:text-input fields respectively.
- Placeholder class has such properties as PlaceholderType, Value, Description and some others. PlaceholderType is an enumeration.
- TextInput class has such Value, Descriptions properties etc.
- Implementation of text:variable-set will be separated in two classes: VariableDecl and VariableSet. VariableDeclCollection will be a class deriving from CollectionWithEvents to handle variable declaration lists.
- VariableDecl will stand for variable declaration snippet. Main properties besides Name and Node: Name and VariableValueType
- TextDocument is augmented with a variable declaration list property
- TextDocument has methods to find any VariableDecl. For example, by its name.
- VariableSet is a class that implements the text:variable-set. It has a series of properties bound to the possible attributes of text:variable-set tag.
- Of course, there will be some kind of synchronization between the two last mentioned classes
- Import/export handlers will support fields.
Wednesday, June 20, 2007
Here is my preliminary vision of Fields:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment