Skip to content

WorkbookDescription

new WorkbookDescription(wb, options?): WorkbookDescription

Workbook

Partial<DescriptionOptions>

WorkbookDescription

calculated: ChunkNode[] = []


cellR1C1formula: DefaultMap<CellItem, null | string>


chunkedGraph: DependencyGraph<ChunkNode, KnownVertexId>


formulaRangeRTrees: DefaultMap<number, RTree<RangeFormulaNode>>


labels: Label[]


names: DefinedNameDescription[]


options: DescriptionOptions


parameters: Parameter[]


sheets: SheetDescription[]


summary: null | { calculated: object[]; description: string; parameters: object[]; wbId: string; }


totalFormulas: number


workbook: Workbook

cellReference(vertexId): undefined | Reference

CellVertexId | NameVertexId

undefined | Reference


describeValues(lab): undefined | string

Labeled

undefined | string


extractAllText(): Set<string>

Set<string>


getCalculated(cellOrRef): undefined | ChunkNode

Reference | CellItem

undefined | ChunkNode


getCellLabel(cellOrRef): string

Reference | CellItem

string


getParameter(cellOrRef): undefined | Parameter

Reference | CellItem

undefined | Parameter


isParameter(vertexId, sheetIndex): boolean

CellVertexId

number

boolean


labelString(label): string

Label

string


likelyLabels(vertexId): readonly Label[]

KnownVertexId

readonly Label[]


setSummary(): null | { calculated: object[]; description: string; parameters: object[]; wbId: string; }

null | { calculated: object[]; description: string; parameters: object[]; wbId: string; }


toString(): string

string