paragraph: add support for page break before format property
This commit is contained in:
@ -19,3 +19,12 @@ export class PageBreak extends Run {
|
||||
this.root.push(new Break());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add page break before the paragraph if there is no one added before.
|
||||
*/
|
||||
export class PageBreakBefore extends XmlComponent {
|
||||
constructor() {
|
||||
super("w:pageBreakBefore");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user