@univerjscorefunctionsGetparagraphsslice

@univerjs/core v0.5.4


Function: getParagraphsSlice()

function getParagraphsSlice(
   body, 
   startOffset, 
   endOffset): 
  | undefined
  | {
  bullet: IBullet;
  paragraphStyle: IParagraphStyle;
  startIndex: number;
 }[]

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/utils.ts:106

Parameters

ParameterType
bodyIDocumentBody
startOffsetnumber
endOffsetnumber

Returns

| undefined | { bullet: IBullet; paragraphStyle: IParagraphStyle; startIndex: number; }[]