API Reference
@univerjs
@univerjs/docs-ui
functions
Getcutactionsfromdocranges

@univerjs/docs-ui v0.4.2Docs


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

packages/docs-ui/src/commands/commands/clipboard.inner.command.ts:416 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.