34 lines
862 B
TypeScript
34 lines
862 B
TypeScript
![]() |
import {XmlComponent, Attributes} from "../xml-components";
|
||
|
import {Style} from "./style";
|
||
|
|
||
|
export class NumberProperties implements XmlComponent {
|
||
|
private numPr: Array<XmlComponent>;
|
||
|
|
||
|
constructor() {
|
||
|
this.numPr = new Array<XmlComponent>();
|
||
|
this.numPr.push(new IndentLevel(0));
|
||
|
this.numPr.push(new NumberId(1));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export class IndentLevel implements XmlComponent {
|
||
|
private ilvl: Array<XmlComponent>;
|
||
|
|
||
|
constructor(level: number) {
|
||
|
this.ilvl = new Array<XmlComponent>();
|
||
|
this.ilvl.push(new Attributes({
|
||
|
val: level
|
||
|
}));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export class NumberId implements XmlComponent {
|
||
|
private ilvl: Array<XmlComponent>;
|
||
|
|
||
|
constructor(id: number) {
|
||
|
this.ilvl = new Array<XmlComponent>();
|
||
|
this.ilvl.push(new Attributes({
|
||
|
val: id
|
||
|
}));
|
||
|
}
|
||
|
}
|