Provides classes to create and access ODF styles and ODF style families. (DEPRECATED: functionality will be moved to element.style for version 0.8 see Bug 72) Instances of class OdfStyle represent the style of ODF elements. Derived style classes for stylable elements were generated from the RelaxNG schema and implement Interfaces which specify their possible style property attributes.
Note: Classes OdfListStyle and ListStyle were not generated yet. This will follow in upcoming versions.

The class OdfStyleCollection provides access to all styles used in the document. The class OdfDocument uses instances of the OdfStyleCollection respectively for default-styles, document-styles and for automatic-styles.

Each style-family is associated with a set of properties, e.g. style:family="text" is associated with a style:text-properties child element. Some style families contain multiple style properties.The associations which properties go with which style families were generated from the RelaxNG schema. The class OdfStyleFamily holds a static instance for every possible style family which itself contains all possible style property attributes.