UNPKG

docx

Version:

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

22 lines (17 loc) 589 B
import { IViewWrapper } from "./document-wrapper"; import { FootNotes } from "./footnotes/footnotes"; import { Relationships } from "./relationships"; export class FootnotesWrapper implements IViewWrapper { private readonly footnotess: FootNotes; private readonly relationships: Relationships; constructor() { this.footnotess = new FootNotes(); this.relationships = new Relationships(); } public get View(): FootNotes { return this.footnotess; } public get Relationships(): Relationships { return this.relationships; } }