TX Sheet Control

WorkbookPdfOptions Interface

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

PropertyDescription
authorThe author value of WorkbookPdfOptions.
colorsThe colors value of WorkbookPdfOptions.
compressLossless Flate compression where supported, enabled by default.
creatorThe creator value of WorkbookPdfOptions.
currencyThe currency value of WorkbookPdfOptions.
dateThe date value of WorkbookPdfOptions.
decorativeFiguresIDs or cell-picture addresses intentionally treated as decorative artifacts.
documentPropertiesThe documentProperties value of WorkbookPdfOptions.
dpiThe dpi value of WorkbookPdfOptions.
figureDescriptionsAuthor-provided descriptions keyed by drawing/chart ID or cell-picture address.
fileNameThe fileName value of WorkbookPdfOptions.
filePathThe filePath value of WorkbookPdfOptions.
fontsThe fonts value of WorkbookPdfOptions.
headerRowsNumber of leading rows in the print area that are column headers; native Excel table headers are automatic.
keywordsThe keywords value of WorkbookPdfOptions.
languageBCP 47 document language. Workbook exports derive it from the print locale when omitted.
localeThe locale value of WorkbookPdfOptions.
numberLocaleThe numberLocale value of WorkbookPdfOptions.
pageLayoutThe pageLayout value of WorkbookPdfOptions.
pageModeThe pageMode value of WorkbookPdfOptions.
pageNumbers1-based print page numbers, exported in print order.
pdfUaRequests PDF/UA-1 metadata and strict checks for language, title, headers, alternatives and glyphs.
rowHeaderColumnsNumber of leading columns in the print area that are row headers.
rowHeightsOptional font-measured unscaled row heights for headless renderers. Browser controls use their measured geometry.
securityThe security value of WorkbookPdfOptions.
sheetIdThe sheetId value of WorkbookPdfOptions.
signalThe signal value of WorkbookPdfOptions.
subjectThe subject value of WorkbookPdfOptions.
taggedEmits logical document tags by default. Set false only for an explicitly untagged PDF.
timeZoneThe timeZone value of WorkbookPdfOptions.
titleThe title value of WorkbookPdfOptions.
viewerPreferencesThe 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

MemberOwnership
dashboardIdInherited from PdfExportOptions.
dashboardWidthInherited from PdfExportOptions.
dashboardPageInherited from PdfExportOptions.