"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const xml_components_1 = require("../../xml-components");
class TextAttributes extends xml_components_1.XmlAttributeComponent {
    constructor() {
        super(...arguments);
        this.xmlKeys = { space: "xml:space" };
    }
}
class Text extends xml_components_1.XmlComponent {
    constructor(text) {
        super("w:t");
        this.root.push(new TextAttributes({ space: "preserve" }));
        if (text) {
            this.root.push(text);
        }
    }
}
exports.Text = Text;
//# sourceMappingURL=text.js.map