diff --git a/src/file/file.ts b/src/file/file.ts index 7c5d81e44b..b207065e8f 100644 --- a/src/file/file.ts +++ b/src/file/file.ts @@ -5,6 +5,7 @@ import { CoreProperties, IPropertiesOptions } from "./core-properties"; import { Document } from "./document"; import { SectionPropertiesOptions } from "./document/body/section-properties/section-properties"; import { FooterWrapper } from "./footer-wrapper"; +import { FootNotes } from "./footnotes"; import { FirstPageHeaderWrapper, HeaderWrapper } from "./header-wrapper"; import { Media } from "./media"; import { Numbering } from "./numbering"; @@ -24,6 +25,7 @@ export class File { private readonly docRelationships: Relationships; private readonly fileRelationships: Relationships; private readonly headerWrapper: HeaderWrapper; + private readonly footNotes: FootNotes; private readonly firstPageHeaderWrapper: FirstPageHeaderWrapper; @@ -104,6 +106,7 @@ export class File { "docProps/app.xml", ); this.appProperties = new AppProperties(); + this.footNotes = new FootNotes(); } public addParagraph(paragraph: Paragraph): void { @@ -201,4 +204,8 @@ export class File { public get AppProperties(): AppProperties { return this.appProperties; } + + public get FootNotes(): FootNotes { + return this.footNotes; + } } diff --git a/src/file/footnotes/footnotes.ts b/src/file/footnotes/footnotes.ts new file mode 100644 index 0000000000..c33cf714c7 --- /dev/null +++ b/src/file/footnotes/footnotes.ts @@ -0,0 +1,9 @@ +export class FootNotes { + public createFootNote(): void { + // TODO + } + + public getFootNote(): void { + // TODO + } +} diff --git a/src/file/footnotes/index.ts b/src/file/footnotes/index.ts new file mode 100644 index 0000000000..91f3a9948b --- /dev/null +++ b/src/file/footnotes/index.ts @@ -0,0 +1 @@ +export * from "./footnotes";