Commit e0543f5a authored by Alexander.Trofimov's avatar Alexander.Trofimov

add fractionType

parent 6cfb7e14
......@@ -5129,7 +5129,7 @@ Woorksheet.prototype.isApplyFilterBySheet = function(){
};
Cell.prototype.getValueData = function(){
this._checkDirty();
var formula = this.formulaParsed ? this.formulaParsed.Formula : null;;
var formula = this.formulaParsed ? this.formulaParsed.Formula : null;
return new UndoRedoData_CellValueData(formula, this.oValue.clone());
};
Cell.prototype.setValueData = function(Val){
......
......@@ -2138,11 +2138,13 @@
this.decimalPlaces = 2;
this.separator = false;
this.symbol = false;
this.fractionType = 0;
}
asc_CFormatCellsInfo.prototype.asc_setType = function (val) {this.type = val;};
asc_CFormatCellsInfo.prototype.asc_setDecimalPlaces = function (val) {this.decimalPlaces = val;};
asc_CFormatCellsInfo.prototype.asc_setSeparator = function (val) {this.separator = val;};
asc_CFormatCellsInfo.prototype.asc_setSymbol = function (val) {this.symbol = val;};
asc_CFormatCellsInfo.prototype.asc_setFractionType = function (val) {this.fractionType = val;};
/*
* Export
......@@ -2320,4 +2322,5 @@
prot["asc_setDecimalPlaces"] = prot.asc_setDecimalPlaces;
prot["asc_setSeparator"] = prot.asc_setSeparator;
prot["asc_setSymbol"] = prot.asc_setSymbol;
prot["asc_setFractionType"] = prot.asc_setFractionType;
})(window);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment