docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
27 lines (26 loc) • 725 B
TypeScript
import { XmlAttributeComponent, XmlComponent } from '../../xml-components';
export declare enum AlignmentType {
START = "start",
CENTER = "center",
END = "end",
BOTH = "both",
MEDIUM_KASHIDA = "mediumKashida",
DISTRIBUTE = "distribute",
NUM_TAB = "numTab",
HIGH_KASHIDA = "highKashida",
LOW_KASHIDA = "lowKashida",
THAI_DISTRIBUTE = "thaiDistribute",
LEFT = "left",
RIGHT = "right",
JUSTIFIED = "both"
}
export declare class AlignmentAttributes extends XmlAttributeComponent<{
readonly val: AlignmentType;
}> {
protected readonly xmlKeys: {
val: string;
};
}
export declare class Alignment extends XmlComponent {
constructor(type: AlignmentType);
}