docx
    Preparing search index...

    Type Alias IPropertiesOptions

    Options for configuring document properties.

    type IPropertiesOptions = {
        background?: IDocumentBackgroundOptions;
        comments?: ICommentsOptions;
        compatabilityModeVersion?: number;
        compatibility?: ICompatibilityOptions;
        creator?: string;
        customProperties?: readonly ICustomPropertyOptions[];
        defaultTabStop?: number;
        description?: string;
        endnotes?: Readonly<Record<string, { children: readonly Paragraph[] }>>;
        evenAndOddHeaderAndFooters?: boolean;
        externalStyles?: string;
        features?: { trackRevisions?: boolean; updateFields?: boolean };
        fonts?: readonly FontOptions[];
        footnotes?: Readonly<Record<string, { children: readonly Paragraph[] }>>;
        hyphenation?: IHyphenationOptions;
        keywords?: string;
        lastModifiedBy?: string;
        numbering?: INumberingOptions;
        revision?: number;
        sections: readonly ISectionOptions[];
        styles?: IStylesOptions;
        subject?: string;
        title?: string;
    }
    Index

    Properties

    Document background settings

    comments?: ICommentsOptions

    Document comments configuration

    compatabilityModeVersion?: number

    Compatibility mode version

    compatibility?: ICompatibilityOptions

    Compatibility settings

    creator?: string

    Document creator/author

    customProperties?: readonly ICustomPropertyOptions[]

    Custom document properties

    defaultTabStop?: number

    Default tab stop width

    description?: string

    Document description

    endnotes?: Readonly<Record<string, { children: readonly Paragraph[] }>>
    evenAndOddHeaderAndFooters?: boolean

    Enable different headers/footers for even/odd pages

    externalStyles?: string

    External stylesheet reference

    features?: { trackRevisions?: boolean; updateFields?: boolean }

    Document features like track changes

    fonts?: readonly FontOptions[]

    Font configurations

    footnotes?: Readonly<Record<string, { children: readonly Paragraph[] }>>

    Document footnotes

    hyphenation?: IHyphenationOptions

    Hyphenation settings

    keywords?: string

    Document keywords for searchability

    lastModifiedBy?: string

    User who last modified the document

    numbering?: INumberingOptions

    Numbering configuration

    revision?: number

    Revision number

    sections: readonly ISectionOptions[]

    Document section configurations

    Document styles configuration

    subject?: string

    Document subject

    title?: string

    Document title