@univerjsengine-renderfunctionsParsedatastreamtotree

@univerjs/engine-render v0.5.4


Function: parseDataStreamToTree()

function parseDataStreamToTree(dataStream, tables?): {
  sectionList: DataStreamTreeNode[];
  tableNodeCache: Map<string, ITableNodeCache>;
}

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/view-model/document-view-model.ts:62

Parameters

ParameterType
dataStreamstring
tables?ICustomTable[]

Returns

{
  sectionList: DataStreamTreeNode[];
  tableNodeCache: Map<string, ITableNodeCache>;
}
NameTypeDefined in
sectionListDataStreamTreeNode[]packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/view-model/document-view-model.ts:169
tableNodeCacheMap<string, ITableNodeCache>packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/docs/view-model/document-view-model.ts:169