WorkbookPdfOptions Interface
PDF export settings and fonts supplied to the shared, DOM-independent document layout.
Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Members
Properties
| Property | Description |
|---|---|
| author | The author value of WorkbookPdfOptions. |
| colors | The colors value of WorkbookPdfOptions. |
| compress | Lossless Flate compression where supported, enabled by default. |
| creator | The creator value of WorkbookPdfOptions. |
| currency | The currency value of WorkbookPdfOptions. |
| date | The date value of WorkbookPdfOptions. |
| decorativeFigures | IDs or cell-picture addresses intentionally treated as decorative artifacts. |
| documentProperties | The documentProperties value of WorkbookPdfOptions. |
| dpi | The dpi value of WorkbookPdfOptions. |
| figureDescriptions | Author-provided descriptions keyed by drawing/chart ID or cell-picture address. |
| fileName | The fileName value of WorkbookPdfOptions. |
| filePath | The filePath value of WorkbookPdfOptions. |
| fonts | The fonts value of WorkbookPdfOptions. |
| headerRows | Number of leading rows in the print area that are column headers; native Excel table headers are automatic. |
| keywords | The keywords value of WorkbookPdfOptions. |
| language | BCP 47 document language. Workbook exports derive it from the print locale when omitted. |
| locale | The locale value of WorkbookPdfOptions. |
| numberLocale | The numberLocale value of WorkbookPdfOptions. |
| pageLayout | The pageLayout value of WorkbookPdfOptions. |
| pageMode | The pageMode value of WorkbookPdfOptions. |
| pageNumbers | 1-based print page numbers, exported in print order. |
| pdfUa | Requests PDF/UA-1 metadata and strict checks for language, title, headers, alternatives and glyphs. |
| rowHeaderColumns | Number of leading columns in the print area that are row headers. |
| rowHeights | Optional font-measured unscaled row heights for headless renderers. Browser controls use their measured geometry. |
| security | The security value of WorkbookPdfOptions. |
| sheetId | The sheetId value of WorkbookPdfOptions. |
| signal | The signal value of WorkbookPdfOptions. |
| subject | The subject value of WorkbookPdfOptions. |
| tagged | Emits logical document tags by default. Set false only for an explicitly untagged PDF. |
| timeZone | The timeZone value of WorkbookPdfOptions. |
| title | The title value of WorkbookPdfOptions. |
| viewerPreferences | The viewerPreferences value of WorkbookPdfOptions. |
Examples
Configure WorkbookPdfOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.
import type { WorkbookPdfOptions, FontRegistry } from '@txtextcontrol/tx-sheet-control';
function configureWorkbookPdfOptions(fonts: FontRegistry) {
const workbookPdfSettings: WorkbookPdfOptions = { fonts: fonts };
return workbookPdfSettings;
}
See Also
Additional and Inherited Members
| Member | Ownership |
|---|---|
| dashboardId | Inherited from PdfExportOptions. |
| dashboardWidth | Inherited from PdfExportOptions. |
| dashboardPage | Inherited from PdfExportOptions. |