Change docx folder to more appropriate "file" folder
This commit is contained in:
23
src/file/paragraph/formatting/border.ts
Normal file
23
src/file/paragraph/formatting/border.ts
Normal file
@ -0,0 +1,23 @@
|
||||
// http://officeopenxml.com/WPborders.php
|
||||
import { Attributes, XmlComponent } 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());
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user