UNPKG

docx

Version:

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

18 lines (17 loc) 536 B
import { XmlComponent } from '../../../../xml-components'; export declare enum HeaderFooterReferenceType { DEFAULT = "default", FIRST = "first", EVEN = "even" } export interface IHeaderFooterOptions { readonly type?: HeaderFooterReferenceType; readonly id?: number; } export declare enum HeaderFooterType { HEADER = "w:headerReference", FOOTER = "w:footerReference" } export declare class HeaderFooterReference extends XmlComponent { constructor(type: HeaderFooterType, options: IHeaderFooterOptions); }