Class ops.OdtDocument-RootFilter
Defined in: OdtDocument.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<inner> |
ops.OdtDocument-RootFilter(anchor)
A filter that allows a position if it has the same closest
whitelisted root as the specified 'anchor', which can be the cursor
of the given memberid, or a given node
|
Method Attributes | Method Name and Description |
---|---|
acceptPosition(iterator)
|
Class Detail
<inner>
ops.OdtDocument-RootFilter(anchor)
A filter that allows a position if it has the same closest
whitelisted root as the specified 'anchor', which can be the cursor
of the given memberid, or a given node
- Parameters:
- {!string|!Node} anchor
Method Detail
{!core.PositionFilter.FilterResult}
acceptPosition(iterator)
- Parameters:
- {!core.PositionIterator} iterator
- Returns:
- {!core.PositionFilter.FilterResult}