UNPKG

@joefitter/docx

Version:

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

15 lines (14 loc) 617 B
import { XmlComponent } from "../../../file/xml-components"; import { Style } from "./style"; export declare class CharacterStyle extends Style { private readonly runProperties; constructor(styleId: string, name?: string); basedOn(parentId: string): CharacterStyle; addRunProperty(property: XmlComponent): CharacterStyle; color(color: string): CharacterStyle; underline(underlineType?: string, color?: string): CharacterStyle; superScript(): CharacterStyle; size(twips: number): CharacterStyle; link(link: string): CharacterStyle; semiHidden(): CharacterStyle; }