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) • 630 B
TypeScript
import { XmlComponent } from '../../xml-components';
export type IStyleAttributes = {
readonly type?: string;
readonly styleId?: string;
readonly default?: boolean;
readonly customStyle?: string;
};
export type 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);
}