Class ops.OpSetParagraphStyle
Defined in: OpSetParagraphStyle.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Sets the paragraph style name of the specified paragraph.
|
Method Attributes | Method Name and Description |
---|---|
execute(document)
|
|
init(data)
|
|
<inner> |
isFirstStep(odtDocument, paragraphNode, iterator)
Returns true if the iterator is set to the first step within the paragraph
|
spec()
|
Class Detail
ops.OpSetParagraphStyle()
Sets the paragraph style name of the specified paragraph.
The supplied position argument is expected to be the first
step within the paragraph.
Method Detail
execute(document)
- Parameters:
- {!ops.Document} document
init(data)
- Parameters:
- {!ops.OpSetParagraphStyle.InitSpec} data
<inner>
{!boolean}
isFirstStep(odtDocument, paragraphNode, iterator)
Returns true if the iterator is set to the first step within the paragraph
- Parameters:
- {!ops.OdtDocument} odtDocument
- {!Node} paragraphNode
- {!core.PositionIterator} iterator
- Returns:
- {!boolean}
{!ops.OpSetParagraphStyle.Spec}
spec()
- Returns:
- {!ops.OpSetParagraphStyle.Spec}