2017-09-22 14:46:19 +01:00
|
|
|
// http://officeopenxml.com/WPborders.php
|
2017-09-30 01:52:37 +01:00
|
|
|
import { Attributes, XmlComponent } from "../../xml-components";
|
2016-03-29 04:50:23 +01:00
|
|
|
|
2016-04-09 20:16:35 +01:00
|
|
|
class Border extends XmlComponent {
|
2016-04-03 01:44:18 +01:00
|
|
|
|
2016-03-29 04:50:23 +01:00
|
|
|
constructor() {
|
2016-04-09 20:16:35 +01:00
|
|
|
super("w:bottom");
|
|
|
|
this.root.push(new Attributes({
|
2016-03-29 04:50:23 +01:00
|
|
|
color: "auto",
|
|
|
|
space: "1",
|
|
|
|
val: "single",
|
2017-03-08 21:36:09 +00:00
|
|
|
sz: "6",
|
2016-03-29 04:50:23 +01:00
|
|
|
}));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-09 20:16:35 +01:00
|
|
|
export class ThematicBreak extends XmlComponent {
|
2016-05-26 15:08:34 +01:00
|
|
|
|
2016-03-29 04:50:23 +01:00
|
|
|
constructor() {
|
2016-04-09 20:16:35 +01:00
|
|
|
super("w:pBdr");
|
|
|
|
this.root.push(new Border());
|
2016-03-29 04:50:23 +01:00
|
|
|
}
|
2017-03-08 21:36:09 +00:00
|
|
|
}
|