DocumentProperties Interface
Export-only metadata shared by Excel and PDF. Omitted fields preserve original XLSX properties. Text is Unicode, limited to 4096 UTF-16 code units; keywords allow 128 entries of 1024 units. Created/modified use ISO 8601 timestamps with a timezone and are normalized to UTC. Properties never change the workbook, review author or history.
Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.
Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.
Members
Properties
| Property | Description |
|---|---|
| author | The author value of DocumentProperties. |
| category | The category value of DocumentProperties. |
| company | The company value of DocumentProperties. |
| contentStatus | The contentStatus value of DocumentProperties. |
| created | The created value of DocumentProperties. |
| creator | Application that created the document; Excel Application and PDF Creator. |
| description | The description value of DocumentProperties. |
| identifier | The identifier value of DocumentProperties. |
| keywords | The keywords value of DocumentProperties. |
| language | The language value of DocumentProperties. |
| lastModifiedBy | The lastModifiedBy value of DocumentProperties. |
| manager | The manager value of DocumentProperties. |
| modified | The modified value of DocumentProperties. |
| revision | The revision value of DocumentProperties. |
| subject | The subject value of DocumentProperties. |
| title | The title value of DocumentProperties. |
| version | The version value of DocumentProperties. |
Examples
Configure DocumentProperties for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.
import type { ServerPdfOptions } from '@txtextcontrol/tx-sheet-control-server';
const documentProperties: NonNullable<ServerPdfOptions['documentProperties']> = {
title: 'Invoice',
author: 'Alpine Design',
subject: 'Consulting services',
};