UNPKG

docx

Version:

Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.

17 lines (16 loc) 637 B
import { IViewWrapper } from '../document-wrapper'; import { Relationships } from '../relationships'; import { XmlComponent } from '../xml-components'; import { FontOptions } from './font-table'; export type FontOptionsWithKey = FontOptions & { readonly fontKey: string; }; export declare class FontWrapper implements IViewWrapper { readonly options: readonly FontOptions[]; private readonly fontTable; private readonly relationships; readonly fontOptionsWithKey: readonly FontOptionsWithKey[]; constructor(options: readonly FontOptions[]); get View(): XmlComponent; get Relationships(): Relationships; }