Class odf.StyleInfo#UsedStyleList
Defined in: StyleInfo.js.
Constructor Attributes | Constructor Name and Description |
---|---|
odf.StyleInfo#UsedStyleList(styleUsingElementsRoot, automaticStylesRoot)
Object which collects all style names that are used in the passed element tree
|
Method Attributes | Method Name and Description |
---|---|
uses(element)
Checks whether the passed style is referenced by anything
|
Class Detail
odf.StyleInfo#UsedStyleList(styleUsingElementsRoot, automaticStylesRoot)
Object which collects all style names that are used in the passed element tree
- Parameters:
- {!Element} styleUsingElementsRoot
- root element of tree of elements using styles
- {?Element=} automaticStylesRoot
- Additional style information. Styles in this tree are only important when used as part of a chain of styles referenced from within the stylesUsingElementsRoot node
Method Detail
{!boolean}
uses(element)
Checks whether the passed style is referenced by anything
- Parameters:
- {!Element} element
- odf style describing element
- Returns:
- {!boolean}