UNPKG

docx

Version:

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

22 lines (21 loc) 815 B
import { XmlComponent } from '../xml-components'; export declare const VerticalAlignTable: { readonly TOP: "top"; readonly CENTER: "center"; readonly BOTTOM: "bottom"; }; export declare const VerticalAlignSection: { readonly BOTH: "both"; readonly TOP: "top"; readonly CENTER: "center"; readonly BOTTOM: "bottom"; }; export declare const VerticalAlign: { readonly BOTH: "both"; readonly TOP: "top"; readonly CENTER: "center"; readonly BOTTOM: "bottom"; }; export type TableVerticalAlign = (typeof VerticalAlignTable)[keyof typeof VerticalAlignTable]; export type SectionVerticalAlign = (typeof VerticalAlignSection)[keyof typeof VerticalAlignSection]; export declare const createVerticalAlign: (value: (typeof VerticalAlign)[keyof typeof VerticalAlign]) => XmlComponent;