Skip to content
jsf2xlsx

toXlsx

function toXlsx(
jsf: Workbook,
container: FileContainer,
options?: ToXlsxOptions): FileContainer;

Converts a JSF Workbook object into an XLSX file format and writes the resulting XML files to the provided FileContainer.

Parameter Type Description
jsf Workbook The workbook object containing sheets, tables, and other data to be converted.
container FileContainer The file container object with a file method to handle output files.
options ToXlsxOptions Optional settings; see ToXlsxOptions.

FileContainer

The same FileContainer instance passed as input, with the files added.