Commit 35d6bca0 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Добавил функцию для получения локализованного имени по его англ. аналогу - asc_getFormulaLocaleName

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64466 954022d7-b5bf-4e40-9824-e11837661b57
parent 00f92082
......@@ -3190,6 +3190,9 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
spreadsheet_api.prototype.asc_getFormulasInfo = function () {
return this.formulasList;
};
spreadsheet_api.prototype.asc_getFormulaLocaleName = function (name) {
return cFormulaFunctionToLocale ? cFormulaFunctionToLocale[name] : name;
};
spreadsheet_api.prototype.asc_recalc = function(isRecalcWB){
this.wbModel.recalcWB(isRecalcWB);
......@@ -3996,6 +3999,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
prot["asc_removeHyperlink"] = prot.asc_removeHyperlink;
prot["asc_insertFormula"] = prot.asc_insertFormula;
prot["asc_getFormulasInfo"] = prot.asc_getFormulasInfo;
prot["asc_getFormulaLocaleName"] = prot.asc_getFormulaLocaleName;
prot["asc_setFontRenderingMode"] = prot.asc_setFontRenderingMode;
prot["asc_setSelectionDialogMode"] = prot.asc_setSelectionDialogMode;
prot["asc_ChangeColorScheme"] = prot.asc_ChangeColorScheme;
......
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