trying to get numbering to work

This commit is contained in:
Dolan Miu
2016-05-23 22:23:05 +01:00
parent 1f28fca5bf
commit 23d08df9a2
11 changed files with 31 additions and 10 deletions

View File

@ -5,6 +5,7 @@ import {Level} from "./level";
import {Indent} from "./indent";
import {RunFonts} from "./run-fonts";
import {Num} from "./num";
import * as _ from "lodash";
export class Numbering extends MultiPropertyXmlComponent {
@ -80,4 +81,10 @@ export class Numbering extends MultiPropertyXmlComponent {
this.root.push(abstractNumbering);
this.root.push(new Num(1, 0));
}
clearVariables() {
_.forEach(this.root, element => {
element.clearVariables();
});
}
}