UNPKG

docx

Version:

Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.

13 lines (11 loc) 382 B
import { XmlAttributeComponent } from "file/xml-components"; import { IDistance } from "../drawing"; // distT, distB etc have no effect on inline images, only floating export class InlineAttributes extends XmlAttributeComponent<IDistance> { protected readonly xmlKeys = { distT: "distT", distB: "distB", distL: "distL", distR: "distR", }; }