Skip to Content
InterfacesIDocumentBody

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

PropertyTypeDescription

customBlocks?

ICustomBlock[]

customDecorations?

ICustomDecoration[]

customRanges?

ICustomRange[]

dataStream

string

paragraphs?

IParagraph[]

payloads?

Record<string, string>

for copy/paste, data of custom-range and other module it won’t save to disk

sectionBreaks?

ISectionBreak[]

tables?

ICustomTable[]

textRuns?

ITextRun[]