UNPKG

docx

Version:

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

17 lines (16 loc) 521 B
import { IMediaData } from "../../file/media"; import { XmlComponent } from "../../file/xml-components"; import { IFloating } from "./floating"; export interface IDistance { readonly distT?: number; readonly distB?: number; readonly distL?: number; readonly distR?: number; } export interface IDrawingOptions { readonly floating?: IFloating; } export declare class Drawing extends XmlComponent { private readonly inline; constructor(imageData: IMediaData, drawingOptions?: IDrawingOptions); }