# SaveOptions Interface

> SaveOptions interface in the TX Sheet Control TypeScript API for the browser: Reusable save settings shared by every host.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > SaveOptions Interface
- **1028 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/llms-full.txt

---

Reusable save settings shared by every host. Metadata is export-only and overrides loaded document metadata.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Members

#### Properties

| Property | Description |
|---|---|
| [bom](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/bom-property/llms-full.txt) | Include a UTF-8 byte-order mark for applications that require it. Default false. |
| [decimalSeparator](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/decimalseparator-property/llms-full.txt) | Decimal separator for numeric values; defaults to period. |
| [delimiter](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/delimiter-property/llms-full.txt) | One non-quote, non-newline delimiter; defaults to comma. |
| [documentProperties](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/documentproperties-property/llms-full.txt) | The documentProperties value of SaveOptions. |
| [escapeFormulas](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/escapeformulas-property/llms-full.txt) | Prefix formula-like text with an apostrophe for spreadsheet consumers. Default true; false preserves exact text. |
| [format](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/format-property/llms-full.txt) | Records use header names as keys; rows retain all selected rows as arrays. Default records. |
| [hasHeaderRow](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/hasheaderrow-property/llms-full.txt) | For JSON records and XML, use the first selected row as field names. Default true; false generates Column1, etc. |
| [internalWorkbookFormat](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/internalworkbookformat-property/llms-full.txt) | The internalWorkbookFormat value of SaveOptions. |
| [lineEnding](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/lineending-property/llms-full.txt) | Record ending; defaults to CRLF. Embedded line breaks remain inside quoted fields. |
| [maxCells](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/maxcells-property/llms-full.txt) | Maximum selected rectangular cell count, including blanks. Defaults to 1,000,000. |
| [maxFileBytes](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/maxfilebytes-property/llms-full.txt) | Maximum encoded output bytes; defaults to 32 MiB. |
| [omitDashboards](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/omitdashboards-property/llms-full.txt) | Non-native formats omit interactive dashboards. Set true to explicitly export worksheet content only. |
| [pdf](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/pdf-property/llms-full.txt) | The pdf value of SaveOptions. |
| [pretty](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/pretty-property/llms-full.txt) | Indent exported JSON by two spaces. Default false. |
| [range](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/range-property/llms-full.txt) | Inclusive A1 rectangle. Defaults to A1 through the last populated cell; formatting alone does not extend it. |
| [sheetName](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/sheetname-property/llms-full.txt) | Worksheet name; defaults to the active worksheet. |
| [signal](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/signal-property/llms-full.txt) | The signal value of SaveOptions. |
| [spreadsheetML](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/spreadsheetml-property/llms-full.txt) | The spreadsheetML value of SaveOptions. |

### Examples

Configure SaveOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

```typescript
import type { SaveOptions } from '@txtextcontrol/tx-sheet-control';

const saveSettings: SaveOptions = { pdf: { timeZone: 'UTC', title: 'Invoice', locale: 'de-DE' } };
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Loading and Saving Workbooks](https://docs.textcontrol.com/tx-sheet-control/document-processing/load-save/llms-full.txt)
- [openDocumentSpreadsheet](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/opendocumentspreadsheet-property/llms-full.txt): format-specific ODS settings.
- [fonts](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/fonts-property/llms-full.txt): document font sources and substitution policy.
- [embedUsedFonts](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/embedusedfonts-property/llms-full.txt): Include resolved font bytes in the exported workbook.

---

## In This Section

- [SaveOptions.bom Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/bom-property/llms-full.txt): SaveOptions.bom property in the TX Sheet Control TypeScript API for the browser: Include a UTF-8 byte-order mark for applications that require it.
- [SaveOptions.decimalSeparator Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/decimalseparator-property/llms-full.txt): SaveOptions.decimalSeparator property in the TX Sheet Control TypeScript API for the browser: Decimal separator for numeric values; defaults to period.
- [SaveOptions.delimiter Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/delimiter-property/llms-full.txt): SaveOptions.delimiter property in the TX Sheet Control TypeScript API for the browser: One non-quote, non-newline delimiter; defaults to comma.
- [SaveOptions.documentProperties Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/documentproperties-property/llms-full.txt): SaveOptions.documentProperties property in the browser TypeScript API, with its type DocumentProperties | undefined and a TypeScript example.
- [SaveOptions.embedUsedFonts Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/embedusedfonts-property/llms-full.txt): SaveOptions.embedUsedFonts property in the TX Sheet Control TypeScript API for the browser, with its type boolean and a TypeScript example.
- [SaveOptions.escapeFormulas Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/escapeformulas-property/llms-full.txt): SaveOptions.escapeFormulas property in the browser TypeScript API: Prefix formula-like text with an apostrophe for spreadsheet consumers.
- [SaveOptions.fonts Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/fonts-property/llms-full.txt): SaveOptions.fonts property in the browser TypeScript API: Document font bytes and substitutions that keep the font names of cell formatting.
- [SaveOptions.format Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/format-property/llms-full.txt): SaveOptions.format property in the TX Sheet Control TypeScript API for the browser, with its type "rows" | "records" | undefined and a TypeScript example.
- [SaveOptions.hasHeaderRow Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/hasheaderrow-property/llms-full.txt): SaveOptions.hasHeaderRow property in the TX Sheet Control TypeScript API for the browser: For JSON records and XML, use the first selected row as field names.
- [SaveOptions.internalWorkbookFormat Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/internalworkbookformat-property/llms-full.txt): SaveOptions.internalWorkbookFormat property in the browser TypeScript API, with its type NativeSaveOptions | undefined and a TypeScript example.
- [SaveOptions.lineEnding Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/lineending-property/llms-full.txt): SaveOptions.lineEnding property in the TX Sheet Control TypeScript API for the browser: Record ending; defaults to CRLF.
- [SaveOptions.maxCells Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/maxcells-property/llms-full.txt): SaveOptions.maxCells property in the TX Sheet Control TypeScript API for the browser: Maximum selected rectangular cell count, including blanks.
- [SaveOptions.maxFileBytes Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/maxfilebytes-property/llms-full.txt): SaveOptions.maxFileBytes property in the TX Sheet Control TypeScript API for the browser: Maximum encoded output bytes; defaults to 32 MiB.
- [SaveOptions.omitDashboards Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/omitdashboards-property/llms-full.txt): SaveOptions.omitDashboards property in the TX Sheet Control TypeScript API for the browser: Non-native formats omit interactive dashboards.
- [SaveOptions.openDocumentSpreadsheet Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/opendocumentspreadsheet-property/llms-full.txt): SaveOptions.openDocumentSpreadsheet property in the browser TypeScript API: Format-specific ODS save settings. See OpenDocumentSpreadsheetSaveOptions.
- [SaveOptions.pdf Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/pdf-property/llms-full.txt): SaveOptions.pdf property in the TX Sheet Control TypeScript API for the browser, with its syntax and a TypeScript example.
- [SaveOptions.pretty Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/pretty-property/llms-full.txt): SaveOptions.pretty property in the TX Sheet Control TypeScript API for the browser: Indent exported JSON by two spaces. Default false.
- [SaveOptions.range Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/range-property/llms-full.txt): SaveOptions.range property in the TX Sheet Control TypeScript API for the browser: Inclusive A1 rectangle. Includes the syntax and a TypeScript example.
- [SaveOptions.sheetName Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/sheetname-property/llms-full.txt): SaveOptions.sheetName property in the TX Sheet Control TypeScript API for the browser: Worksheet name; defaults to the active worksheet.
- [SaveOptions.signal Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/signal-property/llms-full.txt): SaveOptions.signal property in the TX Sheet Control TypeScript API for the browser, with its type AbortSignal | undefined and a TypeScript example.
- [SaveOptions.spreadsheetML Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/spreadsheetml-property/llms-full.txt): SaveOptions.spreadsheetML property in the TX Sheet Control TypeScript API for the browser, with its type XlsxExportOptions | undefined and a TypeScript example.

---

## Nearby

- **Previous:** [RemoveDuplicatesPreview.rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/removeduplicatespreview/rows-property/llms-full.txt)
- **Next:** [SaveOptions.bom Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/saveoptions/bom-property/llms-full.txt)
