diff --git a/apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js b/apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js index b0948b7ba..f80975ceb 100644 --- a/apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js +++ b/apps/spreadsheeteditor/main/app/view/FormatRulesEditDlg.js @@ -767,11 +767,11 @@ define([ 'text!spreadsheeteditor/main/app/template/FormatRulesEditDlg.template', if (index>=len) return; var values = []; for (var i = 0; i < preset.length; i++) { - var formatValueObject = new Asc.CConditionalFormatValueObject(); + var formatValueObject = new Asc.asc_CConditionalFormatValueObject(); formatValueObject.asc_setType(preset[i][0]); formatValueObject.asc_setVal(preset[i][1]); if (preset[i][2]) { - // formatValueObject.asc_setFormula(new Asc.CFormulaCF()); + // formatValueObject.asc_setFormula(new Asc.asc_CFormulaCF()); // formatValueObject.asc_getFormula().asc_setText(preset[1][i][2]); } values.push(formatValueObject); @@ -1315,7 +1315,7 @@ define([ 'text!spreadsheeteditor/main/app/template/FormatRulesEditDlg.template', var rec = this.ruleStore.findWhere({index: this.cmbCategory.getValue()}); if (rec) { - props = this._originalProps || new Asc.CConditionalFormattingRule(); + props = this._originalProps || new Asc.asc_CConditionalFormattingRule(); var type = rec.get('type'); props.asc_setType(type); if (type == Asc.c_oAscCFType.containsText || type == Asc.c_oAscCFType.containsBlanks || type == Asc.c_oAscCFType.duplicateValues || @@ -1358,12 +1358,12 @@ define([ 'text!spreadsheeteditor/main/app/template/FormatRulesEditDlg.template', props.asc_setValue1(this.txtRange1.getValue()); break; case Asc.c_oAscCFType.colorScale: - var scaleProps = new Asc.CColorScale(); + var scaleProps = new Asc.asc_CColorScale(); var scalesCount = rec.get('num'); var arr = (scalesCount==2) ? [this.scaleControls[0], this.scaleControls[2]] : this.scaleControls; var colors = [], scales = []; for (var i=0; i