Files
docx-js/ts/docx/paragraph/border.ts

24 lines
554 B
TypeScript
Raw Normal View History

2016-03-30 00:28:05 +01:00
import {XmlComponent, Attributes} from "../xml-components";
2016-03-29 04:50:23 +01:00
2016-03-29 22:55:37 +01:00
class Border implements XmlComponent {
private bottom: Array<XmlComponent>;
2016-03-29 04:50:23 +01:00
constructor() {
2016-03-29 22:55:37 +01:00
this.bottom = new Array<XmlComponent>();
2016-03-29 04:50:23 +01:00
this.bottom.push(new Attributes({
color: "auto",
space: "1",
val: "single",
sz: "6"
}));
}
}
export class ThematicBreak {
2016-03-29 22:55:37 +01:00
private pBdr: Array<XmlComponent>;
2016-03-29 04:50:23 +01:00
constructor() {
2016-03-29 22:55:37 +01:00
this.pBdr = new Array<XmlComponent>();
2016-03-29 04:50:23 +01:00
this.pBdr.push(new Border());
}
}