Represents a Spreadsheet file source. For now, only Excel spreadsheets are supported.

Properties

config

config: SpreadsheetFileConfig;

Optional. Configurations on how the spreadsheet should be processed when it is converted to a document.


sheetName

sheetName: string;

The name of the sheet to extract data from.


source

source: FileBufferSource | FileUrlSource | FileBase64Source;

The source of the file data.


type

type: "spreadsheet";

The type of the file, which is always “pdf”.