| 1234567891011121314151617181920212223242526272829303132333435 |
- import {
- IPropertiesOptions
- } from "docx"
- // 正文除外的全局配置
- const options: Omit<IPropertiesOptions, "sections"> = {
- // title: string;
- // subject?: string;
- // creator?: string;
- // keywords?: string;
- // description?: string;
- // lastModifiedBy?: string;
- // revision?: number;
- // externalStyles?: string;
- // styles?: IStylesOptions;
- // numbering?: INumberingOptions;
- // comments?: ICommentsOptions;
- // footnotes?: Readonly<Record<string, {
- // children: readonly Paragraph[];
- // }>>;
- // background?: IDocumentBackgroundOptions;
- // features?: {
- // trackRevisions?: boolean;
- // updateFields?: boolean;
- // };
- // compatabilityModeVersion?: number;
- // compatibility?: ICompatibilityOptions;
- // customProperties?: readonly ICustomPropertyOptions[];
- // evenAndOddHeaderAndFooters?: boolean;
- // defaultTabStop?: number;
- // fonts?: readonly FontOptions[];
- // hyphenation?: IHyphenationOptions;
- }
- export default options
|