Class odf.TextStyleApplicator-StyleManager
Defined in: TextStyleApplicator.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<inner> |
Responsible for maintaining a collection of creates auto-styles for
re-use on styling new containers.
|
Method Attributes | Method Name and Description |
---|---|
applyStyleToContainer(container)
Applies the required styling changes to the supplied container.
|
|
<inner> |
createDirectFormat(existingStyleName, document)
|
<inner> |
getDirectStyle(existingStyleName, document)
|
Class Detail
<inner>
odf.TextStyleApplicator-StyleManager(info)
Responsible for maintaining a collection of creates auto-styles for
re-use on styling new containers.
- Parameters:
- {!Object} info
- Style information
Method Detail
applyStyleToContainer(container)
Applies the required styling changes to the supplied container.
- Parameters:
- {!Element} container
<inner>
{!Element}
createDirectFormat(existingStyleName, document)
- Parameters:
- {string} existingStyleName
- {Document} document
- Returns:
- {!Element}
<inner>
{string}
getDirectStyle(existingStyleName, document)
- Parameters:
- {string} existingStyleName
- {Document} document
- Returns:
- {string}