/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { FormulaTokenVisitor } from "./FormulaTokenVisitor";
import { markType } from "igniteui-angular-core";
/**
 * @hidden
 */
var WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor = /** @class */ (function (_super) {
    tslib_1.__extends(WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor, _super);
    function WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor() {
        var _this = _super.call(this) || this;
        _this.az = null;
        return _this;
    }
    WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor.prototype.g = function () {
        this.az = null;
        _super.prototype.g.call(this);
    };
    WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor.prototype.o = function (a) {
        var b = a.q.length;
        var c = a.q[0].length;
        this.az._write9((b - 1));
        this.az._write17((c - 1));
        for (var d = 0; d < c; d++) {
            for (var e = 0; e < b; e++) {
                var f = a.q[e][d];
                this.az._write9(f.b);
                f.g(this.az);
            }
        }
    };
    WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor.prototype.ae = function (a) {
        this.az._write17(a.r.length);
        for (var b = 0; b < a.r.length; b++) {
            this.az._write4(a.r[b]);
        }
    };
    WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor.a1 = function (a, b) {
        if (WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor.a0 == null) {
            WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor.a0 = new WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor();
        }
        WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor.a0.b = a;
        WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor.a0.az = b;
        return WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor.a0;
    };
    WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor.$t = markType(WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor, 'WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor', FormulaTokenVisitor.$);
    WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor.a0 = null;
    return WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor;
}(FormulaTokenVisitor));
export { WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor };
//# sourceMappingURL=WorkbookSaveManagerExcel2003_SaveAdditionalDataTokenVisitor.js.map