API Reference
@univerjs
@univerjs/engine-render
functions
Getparagraphbyglyph

@univerjs/engine-render v0.4.2Docs


Function: getParagraphByGlyph()

function getParagraphByGlyph(glyph, body?): undefined | {
  bullet: IBullet;
  paragraphEnd: paragraph.startIndex;
  paragraphStart: number;
  paragraphStyle: IParagraphStyle;
  startIndex: number;
}

Parameters

ParameterType
glyphNullable<IDocumentSkeletonGlyph>
body?IDocumentBody

Returns

undefined | { bullet: IBullet; paragraphEnd: paragraph.startIndex; paragraphStart: number; paragraphStyle: IParagraphStyle; startIndex: number; }

Defined in

submodules/univer/packages/engine-render/src/basics/document-node-tools.ts:92 (opens in a new tab)


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