"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MergeCellXform = void 0;
const base_xform_1 = require("../base-xform.js");
class MergeCellXform extends base_xform_1.BaseXform {
    get tag() {
        return "mergeCell";
    }
    render(xmlStream, model) {
        xmlStream.leafNode("mergeCell", { ref: model });
    }
    parseOpen(node) {
        if (node.name === "mergeCell") {
            this.model = node.attributes.ref;
            return true;
        }
        return false;
    }
    parseText() { }
    parseClose() {
        return false;
    }
}
exports.MergeCellXform = MergeCellXform;
