diff --git a/src/docx/file.ts b/src/docx/file.ts new file mode 100644 index 0000000000..e0053cc691 --- /dev/null +++ b/src/docx/file.ts @@ -0,0 +1,26 @@ +import { Media } from "../media"; +import { Numbering } from "../numbering"; +import { Properties } from "../properties"; +import { Styles } from "../styles"; +import { Document } from "./document"; + +export class File { + + private document: Document; + private styles: Styles; + private properties: Properties; + private numbering: Numbering; + private media: Media; + + constructor() { + this.document = new Document(); + this.styles = new Styles(); + this.properties = new Properties({ + creator: "Un-named", + revision: "1", + lastModifiedBy: "Un-named", + }); + this.numbering = new Numbering(); + this.media = new Media(); + } +} diff --git a/src/docx/index.ts b/src/docx/index.ts index 9e7f554a4e..c11178fda4 100644 --- a/src/docx/index.ts +++ b/src/docx/index.ts @@ -2,3 +2,4 @@ export * from "./document"; export * from "./paragraph"; export * from "./run"; export { Table } from "./table"; +export { File } from "./file";