API Reference
@univerjs
@univerjs/core
interfaces
Idocumentbody

@univerjs/core v0.1.17Docs


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

PropertyTypeDefined in
customBlocks?ICustomBlock[]submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:124 (opens in a new tab)
customRanges?ICustomRange[]submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:131 (opens in a new tab)
dataStreamstringsubmodules/univer/packages/core/src/types/interfaces/i-document-data.ts:116 (opens in a new tab)
paragraphs?IParagraph[]submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:120 (opens in a new tab)
sectionBreaks?ISectionBreak[]submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:122 (opens in a new tab)
tables?ITable[]submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:126 (opens in a new tab)
textRuns?ITextRun[]submodules/univer/packages/core/src/types/interfaces/i-document-data.ts:118 (opens in a new tab)

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