added run
This commit is contained in:
10
ts/docx/run/text-run.ts
Normal file
10
ts/docx/run/text-run.ts
Normal 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));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user