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) • 565 B
TypeScript
import { XmlAttributeComponent, XmlComponent } from "../../../file/xml-components";
export declare enum AlignmentType {
START = "start",
END = "end",
CENTER = "center",
BOTH = "both",
JUSTIFIED = "both",
DISTRIBUTE = "distribute",
LEFT = "left",
RIGHT = "right"
}
export declare class AlignmentAttributes extends XmlAttributeComponent<{
readonly val: AlignmentType;
}> {
protected readonly xmlKeys: {
val: string;
};
}
export declare class Alignment extends XmlComponent {
constructor(type: AlignmentType);
}