clean up of Text class
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import {Text} from "../xml-components";
|
||||
import {Text} from "./text";
|
||||
import {Run} from "../run";
|
||||
|
||||
export class TextRun extends Run {
|
||||
|
9
ts/docx/run/text.ts
Normal file
9
ts/docx/run/text.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import {XmlUnitComponent} from "../xml-components"
|
||||
|
||||
export class Text extends XmlUnitComponent {
|
||||
|
||||
constructor(text: string) {
|
||||
super("w:t");
|
||||
this.root = text;
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
export class Text {
|
||||
|
||||
}
|
@ -123,11 +123,3 @@ export class Attributes extends XmlAttributeComponent {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export class Text extends XmlUnitComponent {
|
||||
|
||||
constructor(text: string) {
|
||||
super("w:t");
|
||||
this.root = text;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user