@univerjscoreinterfacesIdocumentbody

@univerjs/core v0.5.0-beta.1Docs


Interface: IDocumentBody

Properties of document body Contain three update types: range overlay, range mutual exclusion, and placeholder \v COLUMN_BREAK \f PAGE_BREAK \0 DOCS_END \t TAB

Needs to be changed: \r PARAGRAPH \n SECTION_BREAK

\b customBlock: Scenarios where customBlock, images, mentions, etc. do not participate in the document flow.

Table \x1A table start \x1B table row start \x1C table cell start \x1D table cell end \x1E table row end \x1F table end

Special ranges within the document flow::hyperlinks,field,structured document tags, bookmark,comment \x1F customRange start \x1E customRange end

Properties

PropertyTypeDescriptionDefined in
customBlocks?ICustomBlock[]-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:130
customDecorations?ICustomDecoration[]-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:139
customRanges?ICustomRange<Record<string, any>>[]-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:137
dataStreamstring-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:122
paragraphs?IParagraph[]-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:126
payloads?Record<string, string>for copy/paste, data of custom-range and other module it won’t save to diskpackages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:145
sectionBreaks?ISectionBreak[]-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:128
tables?ICustomTable[]-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:132
textRuns?ITextRun[]-packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:124