UNPKG

@joefitter/docx

Version:

Generate .docx documents with JavaScript (formerly Office-Clippy)

29 lines (28 loc) 1.09 kB
import { XmlAttributeComponent, XmlComponent } from "../../../../../file/xml-components"; export declare enum PageNumberFormat { CARDINAL_TEXT = "cardinalText", DECIMAL = "decimal", DECIMAL_ENCLOSED_CIRCLE = "decimalEnclosedCircle", DECIMAL_ENCLOSED_FULL_STOP = "decimalEnclosedFullstop", DECIMAL_ENCLOSED_PAREN = "decimalEnclosedParen", DECIMAL_ZERO = "decimalZero", LOWER_LETTER = "lowerLetter", LOWER_ROMAN = "lowerRoman", NONE = "none", ORDINAL_TEXT = "ordinalText", UPPER_LETTER = "upperLetter", UPPER_ROMAN = "upperRoman" } export interface IPageNumberTypeAttributes { readonly pageNumberStart?: number; readonly pageNumberFormatType?: PageNumberFormat; } export declare class PageNumberTypeAttributes extends XmlAttributeComponent<IPageNumberTypeAttributes> { protected readonly xmlKeys: { pageNumberStart: string; pageNumberFormatType: string; }; } export declare class PageNumberType extends XmlComponent { constructor(start?: number, numberFormat?: PageNumberFormat); }