added run

This commit is contained in:
Dolan Miu
2016-03-30 03:50:53 +01:00
parent b749e42671
commit a0acb6d1a6
9 changed files with 48 additions and 23 deletions

10
ts/docx/run/text-run.ts Normal file
View File

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