Class odf.StepUtils
Defined in: StepUtils.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Helper functions to retrieve information about an ODF document using a step iterator
|
Method Attributes | Method Name and Description |
---|---|
<inner> |
getContentBounds(stepIterator)
Fetch the content bounds related to the step iterator's current position.
|
Class Detail
odf.StepUtils()
Helper functions to retrieve information about an ODF document using a step iterator
Method Detail
<inner>
{!{container: !Node|startOffset: !number|endOffset: !number}|undefined}
getContentBounds(stepIterator)
Fetch the content bounds related to the step iterator's current position. This will return the text element, or
the content element immediately to the left of the step. Will return undefined if there is no content to the left
of the step.
- Parameters:
- {!core.StepIterator} stepIterator
- Returns:
- {!{container: !Node|startOffset: !number|endOffset: !number}|undefined}