Skip to content
Sheetwrite

@sheetwrite/core

XlsxWorkbookExportContextinterface

Report a problem

On this page

What core tells an XLSX workbook backend about a snapshot it built for this export call. Core fills it; a backend only reads it.

Members

Properties

readonly sourceTracked?: boolean;

read-onlyoptional

readonly dashboards?: readonly DashboardExport[];

read-onlyoptional

Static content of each dashboard sheet, which only core can compute.

readonly pivotOutputs?: readonly DashboardExport[];

read-onlyoptional

Current output of each worksheet pivot, by sheet. Each item's id is a pivot ID and its cells start at the pivot's anchor. The export writes them for pivots it keeps in Sheetwrite metadata, as Excel files carry a pivot's output as cell values.

readonly pivotCharts?: ReadonlyMap<SheetId, ReadonlyMap<string, ChartView>>;

read-onlyoptional

The resolved view of each worksheet chart over a pivot, by sheet and chart ID.

readonly filteredRows?: ReadonlyMap<SheetId, readonly number[]>;

read-onlyoptional

The rows each worksheet AutoFilter hides, by sheet; Excel stores them hidden.

readonly spills?: ReadonlyMap<SheetId, readonly XlsxSpillExport[]>;

read-onlyoptional

The installed spills of each worksheet, by sheet. Excel marks their formulas as dynamic arrays and keeps their values in the covered cells.

Declaration

View full TypeScript declaration
export interface XlsxWorkbookExportContext {
readonly sourceTracked?: boolean;
readonly dashboards?: readonly DashboardExport[];
readonly pivotOutputs?: readonly DashboardExport[];
readonly pivotCharts?: ReadonlyMap<SheetId, ReadonlyMap<string, ChartView>>;
readonly filteredRows?: ReadonlyMap<SheetId, readonly number[]>;
readonly spills?: ReadonlyMap<SheetId, readonly XlsxSpillExport[]>;
}

Referenced by

Public exports naming XlsxWorkbookExportContext