added thematic break to paragraph
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import {P, Attributes, ParagraphProperties, Run} from "./xml-components";
|
||||
import {ThematicBreak} from "./border";
|
||||
|
||||
class Style {
|
||||
private pStyle: Array<P>;
|
||||
@ -88,4 +89,9 @@ export class Paragraph {
|
||||
this.properties.push(new Alignment("both"));
|
||||
return this;
|
||||
}
|
||||
|
||||
pageBreak() {
|
||||
this.properties.push(new ThematicBreak());
|
||||
return this;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user