UNPKG

docx

Version:

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

25 lines (24 loc) 744 B
import { RunProperties } from "./properties"; import { XmlComponent } from "../../../file/xml-components"; export declare class Run extends XmlComponent { protected readonly properties: RunProperties; constructor(); bold(): Run; italics(): Run; underline(underlineType?: string, color?: string): Run; color(color: string): Run; size(size: number): Run; rightToLeft(): Run; break(): Run; tab(): Run; pageNumber(): Run; numberOfTotalPages(): Run; smallCaps(): Run; allCaps(): Run; strike(): Run; doubleStrike(): Run; subScript(): Run; superScript(): Run; font(fontName: string, hint?: string | undefined): Run; style(styleId: string): Run; }