/*
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 { __extends } from "tslib";
import { Base, typeCast, String_$type, markType, getInstanceType } from "igniteui-angular-core";
import { ISupportSetProperty_$type } from "./ISupportSetProperty";
import { CT_Formula } from "./CT_Formula";
/**
 * @hidden
 */
var CT_TextData = /** @class */ /*@__PURE__*/ (function (_super) {
    __extends(CT_TextData, _super);
    function CT_TextData() {
        var _this = _super.call(this) || this;
        _this.a = null;
        _this.c = null;
        return _this;
    }
    CT_TextData.prototype.setProperty = function (a, b) {
        switch (a) {
            case 612:
                this.a = typeCast(CT_Formula.$, b);
                break;
            case 1818:
                this.c = typeCast(String_$type, b);
                break;
            default: break;
        }
    };
    CT_TextData.prototype.toString = function () {
        var a = getInstanceType(this);
        return a != null ? a.typeName : _super.prototype.toString.call(this);
    };
    CT_TextData.$t = markType(CT_TextData, 'CT_TextData', Base.$, [ISupportSetProperty_$type]);
    return CT_TextData;
}(Base));
export { CT_TextData };
