UNPKG

docx

Version:

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

24 lines (23 loc) 737 B
import { XmlAttributeComponent, XmlComponent } from '../../xml-components'; export declare class DocumentBackgroundAttributes extends XmlAttributeComponent<{ readonly color?: string; readonly themeColor?: string; readonly themeShade?: string; readonly themeTint?: string; }> { protected readonly xmlKeys: { color: string; themeColor: string; themeShade: string; themeTint: string; }; } export type IDocumentBackgroundOptions = { readonly color?: string; readonly themeColor?: string; readonly themeShade?: string; readonly themeTint?: string; }; export declare class DocumentBackground extends XmlComponent { constructor(options: IDocumentBackgroundOptions); }