@univerjscoreclassesBuildtextutils

@univerjs/core v0.5.4


Class: BuildTextUtils

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

Constructors

new BuildTextUtils()

new BuildTextUtils(): BuildTextUtils

Returns

BuildTextUtils

Properties

PropertyModifierTypeDefined in
customDecorationstatic{ add: (param) => TextX; delete: (params) => false | TextX; }packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:34
customDecoration.addpublic(param: IAddCustomDecorationParam) => TextXpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:35
customDecoration.deletepublic(params: IDeleteCustomRangeParam) => false | TextXpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:36
customRangestatic{ add: (param) => | false | TextX & { selections: ITextRange[]; }; copyCustomRange: (range) => { endIndex: number; properties: Record<string, any>; rangeId: string; rangeType: number; startIndex: number; wholeEntity: boolean; }; delete: (params) => false | TextXSelection; getCustomRangesInterestsWithSelection: (range, customRanges) => ICustomRange[]; isIntersecting: (line1Start, line1End, line2Start, line2End) => boolean; }packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:26
customRange.addpublic(param: IAddCustomRangeTextXParam) => | false | TextX & { selections: ITextRange[]; }packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:27
customRange.copyCustomRangepublic(range: ICustomRange) => { endIndex: number; properties: Record<string, any>; rangeId: string; rangeType: number; startIndex: number; wholeEntity: boolean; }packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:29
customRange.deletepublic(params: IDeleteCustomRangeParam) => false | TextXSelectionpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:28
customRange.getCustomRangesInterestsWithSelectionpublic(range: ITextRange, customRanges: ICustomRange[]) => ICustomRange[]packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:30
customRange.isIntersectingpublic(line1Start: number, line1End: number, line2Start: number, line2End: number) => booleanpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:31
drawingstatic{ add: (param) => false | JSONOp; }packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:67
drawing.addpublic(param: IAddDrawingParam) => false | JSONOppackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:68
paragraphstatic{ bullet: { changeNestLevel: (params) => TextX; set: (params) => false | TextX; switch: (params) => TextX; toggleChecklist: (params) => false | TextX; }; }packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:58
paragraph.bulletpublic{ changeNestLevel: (params) => TextX; set: (params) => false | TextX; switch: (params) => TextX; toggleChecklist: (params) => false | TextX; }packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:59
paragraph.bullet.changeNestLevelpublic(params: IChangeParagraphBulletNestLevelParams) => TextXpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:63
paragraph.bullet.setpublic(params: ISetParagraphBulletParams) => false | TextXpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:60
paragraph.bullet.switchpublic(params: ISwitchParagraphBulletParams) => TextXpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:61
paragraph.bullet.toggleChecklistpublic(params: IToggleChecklistParagraphParams) => false | TextXpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:62
rangestatic{ isIntersects: (start, end, start2, end2) => boolean; }packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:48
range.isIntersectspublic(start: number, end: number, start2: number, end2: number) => booleanpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:49
selectionstatic{ delete: (selections, body, memoryCursor, insertBody, keepBullet) => TextXAction[]; makeSelection: (startOffset, endOffset?) => ITextRange; normalizeSelection: (selection) => ITextRange; replace: (params) => false | TextX; replaceTextRuns: (params) => false | TextX; retain: (selections, body, memoryCursor) => TextXAction[]; }packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:39
selection.deletepublic(selections: ITextRange[], body: IDocumentBody, memoryCursor: number, insertBody: Nullable<IDocumentBody>, keepBullet: boolean) => TextXAction[]packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:43
selection.makeSelectionpublic(startOffset: number, endOffset?: number) => ITextRangepackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:41
selection.normalizeSelectionpublic(selection: ITextRange) => ITextRangepackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:42
selection.replacepublic(params: IReplaceSelectionTextXParams) => false | TextXpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:40
selection.replaceTextRunspublic(params: IReplaceSelectionTextXParams) => false | TextXpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:44
selection.retainpublic(selections: ITextRange[], body: IDocumentBody, memoryCursor: number) => TextXAction[]packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:45
transformstatic{ fromPlainText: (text) => IDocumentBody; getPlainText: (dataStream) => string; isEmptyDocument: (dataStream?) => boolean; }packages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:52
transform.fromPlainTextpublic(text: string) => IDocumentBodypackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:54
transform.getPlainTextpublic(dataStream: string) => stringpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:53
transform.isEmptyDocumentpublic(dataStream?: string) => booleanpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/docs/data-model/text-x/build-utils/index.ts:55