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.