Function: getTextRunSlice()
function getTextRunSlice(
body,
startOffset,
endOffset,
returnEmptyTextRuns): undefined | ITextRun[]
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/utils.ts:29
Parameters
Parameter | Type | Default value |
---|---|---|
body | IDocumentBody | undefined |
startOffset | number | undefined |
endOffset | number | undefined |
returnEmptyTextRuns | boolean | true |
Returns
undefined
| ITextRun
[]