added page break

This commit is contained in:
Dolan Miu
2016-03-30 00:28:05 +01:00
parent e04d9e0c97
commit 099da3d90c
8 changed files with 74 additions and 30 deletions

View File

@ -0,0 +1,11 @@
import {Run, Text} from "../xml-components";
import {ParagraphProperties} from "./properties";
export class TextRun extends Run {
constructor(text: string) {
super();
this.r.push(new ParagraphProperties());
this.r.push(new Text(text));
}
}