"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.WorkbookCalcPropertiesXform = void 0;
const base_xform_1 = require("../base-xform.js");
class WorkbookCalcPropertiesXform extends base_xform_1.BaseXform {
    render(xmlStream, model) {
        xmlStream.leafNode("calcPr", {
            calcId: 171027,
            fullCalcOnLoad: model.fullCalcOnLoad ? 1 : undefined
        });
    }
    parseOpen(node) {
        if (node.name === "calcPr") {
            this.model = {};
            return true;
        }
        return false;
    }
    parseText() { }
    parseClose() {
        return false;
    }
}
exports.WorkbookCalcPropertiesXform = WorkbookCalcPropertiesXform;
