docx
Version:
Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
21 lines (20 loc) • 642 B
TypeScript
import { XmlComponent } from "../../../file/xml-components";
export interface IStyleAttributes {
readonly type?: string;
readonly styleId?: string;
readonly default?: boolean;
readonly customStyle?: string;
}
export interface IStyleOptions {
readonly name?: string;
readonly basedOn?: string;
readonly next?: string;
readonly link?: string;
readonly uiPriority?: number;
readonly semiHidden?: boolean;
readonly unhideWhenUsed?: boolean;
readonly quickFormat?: boolean;
}
export declare class Style extends XmlComponent {
constructor(attributes: IStyleAttributes, options: IStyleOptions);
}