made numberings compile properly
This commit is contained in:
@ -2,6 +2,7 @@ import {XmlComponent} from "../docx/xml-components";
|
||||
import {XmlAttributeComponent} from "../docx/xml-components";
|
||||
import {Level} from "./level";
|
||||
import {MultiLevelType} from "./multi-level-type";
|
||||
import * as _ from "lodash";
|
||||
|
||||
interface AbstractNumberingAttributesProperties {
|
||||
abstractNumId?: Number,
|
||||
@ -32,4 +33,10 @@ export class AbstractNumbering extends XmlComponent {
|
||||
addLevel(level: Level): void {
|
||||
this.root.push(level);
|
||||
}
|
||||
|
||||
clearVariables() {
|
||||
_.forEach(this.root, element => {
|
||||
element.clearVariables();
|
||||
});
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user