2017-03-09 19:50:33 +01:00
|
|
|
import { XmlComponent } from "../xml-components";
|
2016-05-09 13:02:59 +01:00
|
|
|
|
2017-03-09 19:50:33 +01:00
|
|
|
export class Text extends XmlComponent {
|
2016-05-09 13:02:59 +01:00
|
|
|
|
|
|
|
constructor(text: string) {
|
|
|
|
super("w:t");
|
2017-03-09 19:50:33 +01:00
|
|
|
if (text) {
|
|
|
|
this.root.push(text);
|
|
|
|
}
|
2016-05-09 13:02:59 +01:00
|
|
|
}
|
2017-03-08 21:49:41 +00:00
|
|
|
}
|