Skip to content

Class

+ new Serialization(dependencyGraph: DependencyGraph, unparser: Unparser, exporter: Exporter): Serialization

Defined in hyperformula/src/Serialization.ts:23

Parameters:

Name Type
dependencyGraph DependencyGraph
unparser Unparser
exporter Exporter

Returns: Serialization

▸ genericAllSheetsGetter‹T›(sheetGetter: function): Record‹string, T›

Defined in hyperformula/src/Serialization.ts:115

Type parameters:

▪ T

Parameters:

▪ sheetGetter: function

▸ (sheet: number): T

Parameters:

Name Type
sheet number

Returns: Record‹string, T›


▸ genericSheetGetter‹T›(sheet: number, getter: function): T[][]

Defined in hyperformula/src/Serialization.ts:84

Type parameters:

▪ T

Parameters:

▪ sheet: number

▪ getter: function

▸ (address: SimpleCellAddress): T

Parameters:

Name Type
address SimpleCellAddress

Returns: T[][]


▸ getAllNamedExpressionsSerialized(): SerializedNamedExpression[]

Defined in hyperformula/src/Serialization.ts:140

Returns: SerializedNamedExpression[]


▸ getAllSheetsFormulas(): Record‹string, Maybe‹string›[][]›

Defined in hyperformula/src/Serialization.ts:132

Returns: Record‹string, Maybe‹string›[][]›


▸ getAllSheetsSerialized(): Record‹string, RawCellContent[][]›

Defined in hyperformula/src/Serialization.ts:136

Returns: Record‹string, RawCellContent[][]›


▸ getAllSheetsValues(): Record‹string, CellValue[][]›

Defined in hyperformula/src/Serialization.ts:128

Returns: Record‹string, CellValue[][]›


▸ getCellFormula(address: SimpleCellAddress, targetAddress?: SimpleCellAddress): Maybe‹string›

Defined in hyperformula/src/Serialization.ts:42

Parameters:

Name Type
address SimpleCellAddress
targetAddress? SimpleCellAddress

Returns: Maybe‹string›


▸ getCellHyperlink(address: SimpleCellAddress): Maybe‹string›

Defined in hyperformula/src/Serialization.ts:31

Parameters:

Name Type
address SimpleCellAddress

Returns: Maybe‹string›


▸ getCellSerialized(address: SimpleCellAddress, targetAddress?: SimpleCellAddress): RawCellContent

Defined in hyperformula/src/Serialization.ts:64

Parameters:

Name Type
address SimpleCellAddress
targetAddress? SimpleCellAddress

Returns: RawCellContent


▸ getCellValue(address: SimpleCellAddress): CellValue

Defined in hyperformula/src/Serialization.ts:68

Parameters:

Name Type
address SimpleCellAddress

Returns: CellValue


▸ getRawValue(address: SimpleCellAddress): RawCellContent

Defined in hyperformula/src/Serialization.ts:72

Parameters:

Name Type
address SimpleCellAddress

Returns: RawCellContent


▸ getSheetFormulas(sheet: number): Maybe‹string›[][]

Defined in hyperformula/src/Serialization.ts:80

Parameters:

Name Type
sheet number

Returns: Maybe‹string›[][]


▸ getSheetSerialized(sheet: number): RawCellContent[][]

Defined in hyperformula/src/Serialization.ts:124

Parameters:

Name Type
sheet number

Returns: RawCellContent[][]


▸ getSheetValues(sheet: number): CellValue[][]

Defined in hyperformula/src/Serialization.ts:76

Parameters:

Name Type
sheet number

Returns: CellValue[][]


▸ withNewConfig(newConfig: Config, namedExpressions: NamedExpressions): Serialization

Defined in hyperformula/src/Serialization.ts:158

Parameters:

Name Type
newConfig Config
namedExpressions NamedExpressions

Returns: Serialization