Add enum to lineRule and create demo

This commit is contained in:
Dolan
2021-03-15 19:23:40 +00:00
parent 93ec9eed7a
commit 4fe2973473
5 changed files with 54 additions and 11 deletions

View File

@ -1,6 +1,6 @@
import { XmlComponent } from "file/xml-components";
import { Paragraph } from "../paragraph";
import { LineRuleType, Paragraph } from "../paragraph";
import { Footnote, FootnoteType } from "./footnote/footnote";
import { ContinuationSeperatorRun } from "./footnote/run/continuation-seperator-run";
import { SeperatorRun } from "./footnote/run/seperator-run";
@ -40,7 +40,7 @@ export class FootNotes extends XmlComponent {
spacing: {
after: 0,
line: 240,
lineRule: "auto",
lineRule: LineRuleType.AUTO,
},
children: [new SeperatorRun()],
}),
@ -57,7 +57,7 @@ export class FootNotes extends XmlComponent {
spacing: {
after: 0,
line: 240,
lineRule: "auto",
lineRule: LineRuleType.AUTO,
},
children: [new ContinuationSeperatorRun()],
}),