added run
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import {XmlComponent, Attributes} from "../xml-components";
|
||||
import {ThematicBreak} from "./border";
|
||||
import {PageBreak} from "./page-break";
|
||||
import {TextRun} from "./text-run";
|
||||
import {TextRun} from "../run/text-run";
|
||||
import {ParagraphProperties} from "./properties";
|
||||
import {TabStop} from "../tab-stop";
|
||||
import {Style} from "./style";
|
||||
|
@ -1,4 +1,5 @@
|
||||
import {XmlComponent, Attributes, Run} from "../xml-components";
|
||||
import {XmlComponent, Attributes} from "../xml-components";
|
||||
import {Run} from "../run";
|
||||
|
||||
class Break implements XmlComponent {
|
||||
private br: Array<XmlComponent>;
|
||||
|
@ -1,11 +0,0 @@
|
||||
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