Class ops.OpApplyDirectStyling
Defined in: OpApplyDirectStyling.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<inner> |
applyStyle(odtDocument, range, info)
Apply the specified style properties to all elements within the given range.
|
execute(document)
|
|
init(data)
|
|
spec()
|
Method Detail
<inner>
applyStyle(odtDocument, range, info)
Apply the specified style properties to all elements within the given range.
Currently, only text styles are applied.
- Parameters:
- {!ops.OdtDocument} odtDocument
- {!Range} range
- Range to apply text style to
- {!Object} info
- Style information. Only data within "style:text-properties" will be considered and applied
execute(document)
- Parameters:
- {!ops.Document} document
init(data)
- Parameters:
- {!ops.OpApplyDirectStyling.InitSpec} data
{!ops.OpApplyDirectStyling.Spec}
spec()
- Returns:
- {!ops.OpApplyDirectStyling.Spec}