@univerjsdocs-uiindexfunctionsGetcutactionsfromdocranges

@univerjs/docs-ui v0.5.0-beta.1Docs


Function: getCutActionsFromDocRanges()

function getCutActionsFromDocRanges(
   textRanges, 
   rectRanges, 
   docDataModel, 
   viewModel, 
   segmentId): JSONOp

Parameters

ParameterType
textRangesReadonly<Nullable<ITextRangeWithStyle[]>>
rectRangesReadonly<Nullable<IRectRangeWithStyle[]>>
docDataModelDocumentDataModel
viewModelDocumentViewModel
segmentIdstring

Returns

JSONOp

Defined in

submodules/univer/packages/docs-ui/src/commands/commands/clipboard.inner.command.ts:446