Class: NodePositionConvertToRectRange
Defined in: submodules/univer/packages/docs-ui/src/services/selection/convert-rect-range.ts:173
Constructors
new NodePositionConvertToRectRange()
new NodePositionConvertToRectRange(_documentOffsetConfig, _docSkeleton): NodePositionConvertToRectRange
Defined in: submodules/univer/packages/docs-ui/src/services/selection/convert-rect-range.ts:176
Parameters
Parameter | Type |
---|---|
_documentOffsetConfig | IDocumentOffsetConfig |
_docSkeleton | DocumentSkeleton |
Returns
NodePositionConvertToRectRange
Methods
getNodePositionGroup()
getNodePositionGroup(anchorNodePosition, focusNodePosition): Nullable<IRectRangeNodePositions[]>
Defined in: submodules/univer/packages/docs-ui/src/services/selection/convert-rect-range.ts:286
Parameters
Parameter | Type |
---|---|
anchorNodePosition | INodePosition |
focusNodePosition | INodePosition |
Returns
Nullable
<IRectRangeNodePositions
[]>
getRangePointData()
getRangePointData(startNodePosition, endNodePosition):
| undefined
| {
endColumn: number;
endRow: number;
pointGroup: IPoint[][];
startColumn: number;
startRow: number;
tableId: string;
}
Defined in: submodules/univer/packages/docs-ui/src/services/selection/convert-rect-range.ts:184
Parameters
Parameter | Type |
---|---|
startNodePosition | INodePosition |
endNodePosition | INodePosition |
Returns
| undefined
| {
endColumn
: number
;
endRow
: number
;
pointGroup
: IPoint
[][];
startColumn
: number
;
startRow
: number
;
tableId
: string
;
}