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