Files
docx-js/ts/docx/paragraph/border.ts
2016-05-26 15:08:34 +01:00

22 lines
446 B
TypeScript

import {XmlComponent, Attributes} from "../xml-components";
class Border extends XmlComponent {
constructor() {
super("w:bottom");
this.root.push(new Attributes({
color: "auto",
space: "1",
val: "single",
sz: "6"
}));
}
}
export class ThematicBreak extends XmlComponent {
constructor() {
super("w:pBdr");
this.root.push(new Border());
}
}