Commit 29decc33 authored by Alexander.Trofimov's avatar Alexander.Trofimov

add function asc_getLocaleName

parent eee8efc9
......@@ -139,6 +139,9 @@
this.arg = o.args;
}
asc_CFormula.prototype.asc_getName = function () {
return this.name;
};
asc_CFormula.prototype.asc_getLocaleName = function () {
return AscCommonExcel.cFormulaFunctionToLocale ? AscCommonExcel.cFormulaFunctionToLocale[this.name] : this.name;
};
asc_CFormula.prototype.asc_getArguments = function () {
......@@ -195,6 +198,7 @@
window["AscCommon"].asc_CFormula = asc_CFormula;
prot = asc_CFormula.prototype;
prot["asc_getName"] = prot.asc_getName;
prot["asc_getLocaleName"] = prot.asc_getLocaleName;
prot["asc_getArguments"] = prot.asc_getArguments;
}
)(window);
\ No newline at end of file
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