Commit 35a2ac10 authored by Boris Kocherov's avatar Boris Kocherov

rename _xlfnFunctions.js to xlfnFunctions.js

parent ba63f0f3
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
"../cell/graphics/pdfprinter.js", "../cell/graphics/pdfprinter.js",
"../cell/model/ConditionalFormatting.js", "../cell/model/ConditionalFormatting.js",
"../cell/model/FormulaObjects/parserFormula.js", "../cell/model/FormulaObjects/parserFormula.js",
"../cell/model/FormulaObjects/_xlfnFunctions.js", "../cell/model/FormulaObjects/xlfnFunctions.js",
"../cell/model/FormulaObjects/dateandtimeFunctions.js", "../cell/model/FormulaObjects/dateandtimeFunctions.js",
"../cell/model/FormulaObjects/engineeringFunctions.js", "../cell/model/FormulaObjects/engineeringFunctions.js",
"../cell/model/FormulaObjects/cubeFunctions.js", "../cell/model/FormulaObjects/cubeFunctions.js",
......
/* /*
* (c) Copyright Ascensio System SIA 2010-2017 * (c) Copyright Ascensio System SIA 2010-2017
* *
* This program is a free software product. You can redistribute it and/or * This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL) * modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with * version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect * Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement * that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights. * of any third-party rights.
* *
* This program is distributed WITHOUT ANY WARRANTY; without even the implied * This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html * details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
* *
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia, * You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021. * EU, LV-1021.
* *
* The interactive user interfaces in modified source and object code versions * The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under * of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3. * Section 5 of the GNU AGPL version 3.
* *
* Pursuant to Section 7(b) of the License you must retain the original Product * Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to * logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks. * grant you any rights under trademark law for use of our trademarks.
* *
* All the Product's GUI elements, including illustrations and icon sets, as * All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the * well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License * Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
* *
*/ */
(/** (/**
* @param {Window} window * @param {Window} window
* @param {undefined} undefined * @param {undefined} undefined
*/ */
function (window, undefined) { function (window, undefined) {
/*cFormulaFunctionGroup['_xlfn'] = [ /*cFormulaFunctionGroup['_xlfn'] = [
cFILTERXML,//web not support in MS Office Online cFILTERXML,//web not support in MS Office Online
cWEBSERVICE,//web not support in MS Office Online cWEBSERVICE,//web not support in MS Office Online
cQUERYSTRING cQUERYSTRING
];*/ ];*/
var cBaseFunction = AscCommonExcel.cBaseFunction; var cBaseFunction = AscCommonExcel.cBaseFunction;
var cFormulaFunctionGroup = AscCommonExcel.cFormulaFunctionGroup; var cFormulaFunctionGroup = AscCommonExcel.cFormulaFunctionGroup;
/*new funcions with _xlnf-prefix*/ /*new funcions with _xlnf-prefix*/
cFormulaFunctionGroup['TextAndData'] = cFormulaFunctionGroup['TextAndData'] || []; cFormulaFunctionGroup['TextAndData'] = cFormulaFunctionGroup['TextAndData'] || [];
cFormulaFunctionGroup['TextAndData'].push(cDBCS); cFormulaFunctionGroup['TextAndData'].push(cDBCS);
cFormulaFunctionGroup['Statistical'] = cFormulaFunctionGroup['Statistical'] || []; cFormulaFunctionGroup['Statistical'] = cFormulaFunctionGroup['Statistical'] || [];
cFormulaFunctionGroup['Statistical'].push(cF_TEST, cFORECAST_ETS, cFORECAST_ETS_CONFINT, cFormulaFunctionGroup['Statistical'].push(cF_TEST, cFORECAST_ETS, cFORECAST_ETS_CONFINT,
cFORECAST_ETS_SEASONALITY, cFORECAST_ETS_STAT, cHYPGEOM_DIST); cFORECAST_ETS_SEASONALITY, cFORECAST_ETS_STAT, cHYPGEOM_DIST);
cFormulaFunctionGroup['Financial'] = cFormulaFunctionGroup['Financial'] || []; cFormulaFunctionGroup['Financial'] = cFormulaFunctionGroup['Financial'] || [];
cFormulaFunctionGroup['Financial'].push(cPDURATION); cFormulaFunctionGroup['Financial'].push(cPDURATION);
cFormulaFunctionGroup['Mathematic'] = cFormulaFunctionGroup['Mathematic'] || []; cFormulaFunctionGroup['Mathematic'] = cFormulaFunctionGroup['Mathematic'] || [];
cFormulaFunctionGroup['Mathematic'].push(cMUNIT); cFormulaFunctionGroup['Mathematic'].push(cMUNIT);
cFormulaFunctionGroup['LookupAndReference'] = cFormulaFunctionGroup['LookupAndReference'] || []; cFormulaFunctionGroup['LookupAndReference'] = cFormulaFunctionGroup['LookupAndReference'] || [];
cFormulaFunctionGroup['LookupAndReference'].push(cFORMULATEXT); cFormulaFunctionGroup['LookupAndReference'].push(cFORMULATEXT);
cFormulaFunctionGroup['NotRealised'] = cFormulaFunctionGroup['NotRealised'] || []; cFormulaFunctionGroup['NotRealised'] = cFormulaFunctionGroup['NotRealised'] || [];
cFormulaFunctionGroup['NotRealised'].push(cDBCS, cF_TEST, cFORECAST_ETS, cFormulaFunctionGroup['NotRealised'].push(cDBCS, cF_TEST, cFORECAST_ETS,
cFORECAST_ETS_CONFINT, cFORECAST_ETS_SEASONALITY, cFORECAST_ETS_STAT, cHYPGEOM_DIST, cPDURATION, cFORECAST_ETS_CONFINT, cFORECAST_ETS_SEASONALITY, cFORECAST_ETS_STAT, cHYPGEOM_DIST, cPDURATION,
cMUNIT, cFORMULATEXT); cMUNIT, cFORMULATEXT);
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cDBCS() { function cDBCS() {
cBaseFunction.call(this, "DBCS"); cBaseFunction.call(this, "DBCS");
this.isXLFN = true; this.isXLFN = true;
} }
cDBCS.prototype = Object.create(cBaseFunction.prototype); cDBCS.prototype = Object.create(cBaseFunction.prototype);
cDBCS.prototype.constructor = cDBCS; cDBCS.prototype.constructor = cDBCS;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cF_TEST() { function cF_TEST() {
cBaseFunction.call(this, "F.TEST"); cBaseFunction.call(this, "F.TEST");
this.isXLFN = true; this.isXLFN = true;
} }
cF_TEST.prototype = Object.create(cBaseFunction.prototype); cF_TEST.prototype = Object.create(cBaseFunction.prototype);
cF_TEST.prototype.constructor = cF_TEST; cF_TEST.prototype.constructor = cF_TEST;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cFILTERXML() { function cFILTERXML() {
cBaseFunction.call(this, "FILTERXML"); cBaseFunction.call(this, "FILTERXML");
this.isXLFN = true; this.isXLFN = true;
} }
cFILTERXML.prototype = Object.create(cBaseFunction.prototype); cFILTERXML.prototype = Object.create(cBaseFunction.prototype);
cFILTERXML.prototype.constructor = cFILTERXML; cFILTERXML.prototype.constructor = cFILTERXML;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cFORECAST_ETS() { function cFORECAST_ETS() {
cBaseFunction.call(this, "FORECAST.ETS"); cBaseFunction.call(this, "FORECAST.ETS");
this.isXLFN = true; this.isXLFN = true;
} }
cFORECAST_ETS.prototype = Object.create(cBaseFunction.prototype); cFORECAST_ETS.prototype = Object.create(cBaseFunction.prototype);
cFORECAST_ETS.prototype.constructor = cFORECAST_ETS; cFORECAST_ETS.prototype.constructor = cFORECAST_ETS;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cFORECAST_ETS_CONFINT() { function cFORECAST_ETS_CONFINT() {
cBaseFunction.call(this, "FORECAST.ETS.CONFINT"); cBaseFunction.call(this, "FORECAST.ETS.CONFINT");
this.isXLFN = true; this.isXLFN = true;
} }
cFORECAST_ETS_CONFINT.prototype = Object.create(cBaseFunction.prototype); cFORECAST_ETS_CONFINT.prototype = Object.create(cBaseFunction.prototype);
cFORECAST_ETS_CONFINT.prototype.constructor = cFORECAST_ETS_CONFINT; cFORECAST_ETS_CONFINT.prototype.constructor = cFORECAST_ETS_CONFINT;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cFORECAST_ETS_SEASONALITY() { function cFORECAST_ETS_SEASONALITY() {
cBaseFunction.call(this, "FORECAST.ETS.SEASONALITY"); cBaseFunction.call(this, "FORECAST.ETS.SEASONALITY");
this.isXLFN = true; this.isXLFN = true;
} }
cFORECAST_ETS_SEASONALITY.prototype = Object.create(cBaseFunction.prototype); cFORECAST_ETS_SEASONALITY.prototype = Object.create(cBaseFunction.prototype);
cFORECAST_ETS_SEASONALITY.prototype.constructor = cFORECAST_ETS_SEASONALITY; cFORECAST_ETS_SEASONALITY.prototype.constructor = cFORECAST_ETS_SEASONALITY;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cFORECAST_ETS_STAT() { function cFORECAST_ETS_STAT() {
cBaseFunction.call(this, "FORECAST.ETS.STAT"); cBaseFunction.call(this, "FORECAST.ETS.STAT");
this.isXLFN = true; this.isXLFN = true;
} }
cFORECAST_ETS_STAT.prototype = Object.create(cBaseFunction.prototype); cFORECAST_ETS_STAT.prototype = Object.create(cBaseFunction.prototype);
cFORECAST_ETS_STAT.prototype.constructor = cFORECAST_ETS_STAT; cFORECAST_ETS_STAT.prototype.constructor = cFORECAST_ETS_STAT;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cFORMULATEXT() { function cFORMULATEXT() {
cBaseFunction.call(this, "FORMULATEXT"); cBaseFunction.call(this, "FORMULATEXT");
this.isXLFN = true; this.isXLFN = true;
} }
cFORMULATEXT.prototype = Object.create(cBaseFunction.prototype); cFORMULATEXT.prototype = Object.create(cBaseFunction.prototype);
cFORMULATEXT.prototype.constructor = cFORMULATEXT; cFORMULATEXT.prototype.constructor = cFORMULATEXT;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cHYPGEOM_DIST() { function cHYPGEOM_DIST() {
cBaseFunction.call(this, "HYPGEOM.DIST"); cBaseFunction.call(this, "HYPGEOM.DIST");
this.isXLFN = true; this.isXLFN = true;
} }
cHYPGEOM_DIST.prototype = Object.create(cBaseFunction.prototype); cHYPGEOM_DIST.prototype = Object.create(cBaseFunction.prototype);
cHYPGEOM_DIST.prototype.constructor = cHYPGEOM_DIST; cHYPGEOM_DIST.prototype.constructor = cHYPGEOM_DIST;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cMUNIT() { function cMUNIT() {
cBaseFunction.call(this, "MUNIT"); cBaseFunction.call(this, "MUNIT");
this.isXLFN = true; this.isXLFN = true;
} }
cMUNIT.prototype = Object.create(cBaseFunction.prototype); cMUNIT.prototype = Object.create(cBaseFunction.prototype);
cMUNIT.prototype.constructor = cMUNIT; cMUNIT.prototype.constructor = cMUNIT;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cPDURATION() { function cPDURATION() {
cBaseFunction.call(this, "PDURATION"); cBaseFunction.call(this, "PDURATION");
this.isXLFN = true; this.isXLFN = true;
} }
cPDURATION.prototype = Object.create(cBaseFunction.prototype); cPDURATION.prototype = Object.create(cBaseFunction.prototype);
cPDURATION.prototype.constructor = cPDURATION; cPDURATION.prototype.constructor = cPDURATION;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cQUERYSTRING() { function cQUERYSTRING() {
cBaseFunction.call(this, "QUERYSTRING"); cBaseFunction.call(this, "QUERYSTRING");
this.isXLFN = true; this.isXLFN = true;
} }
cQUERYSTRING.prototype = Object.create(cBaseFunction.prototype); cQUERYSTRING.prototype = Object.create(cBaseFunction.prototype);
cQUERYSTRING.prototype.constructor = cQUERYSTRING; cQUERYSTRING.prototype.constructor = cQUERYSTRING;
/** /**
* @constructor * @constructor
* @extends {AscCommonExcel.cBaseFunction} * @extends {AscCommonExcel.cBaseFunction}
*/ */
function cWEBSERVICE() { function cWEBSERVICE() {
cBaseFunction.call(this, "WEBSERVICE"); cBaseFunction.call(this, "WEBSERVICE");
this.isXLFN = true; this.isXLFN = true;
} }
cWEBSERVICE.prototype = Object.create(cBaseFunction.prototype); cWEBSERVICE.prototype = Object.create(cBaseFunction.prototype);
cWEBSERVICE.prototype.constructor = cWEBSERVICE; cWEBSERVICE.prototype.constructor = cWEBSERVICE;
})(window); })(window);
...@@ -347,7 +347,7 @@ AscCommon.loadSdk = function (sdkName, callback) { ...@@ -347,7 +347,7 @@ AscCommon.loadSdk = function (sdkName, callback) {
"../cell/graphics/pdfprinter.js", "../cell/graphics/pdfprinter.js",
"../cell/model/ConditionalFormatting.js", "../cell/model/ConditionalFormatting.js",
"../cell/model/FormulaObjects/parserFormula.js", "../cell/model/FormulaObjects/parserFormula.js",
"../cell/model/FormulaObjects/_xlfnFunctions.js", "../cell/model/FormulaObjects/xlfnFunctions.js",
"../cell/model/FormulaObjects/dateandtimeFunctions.js", "../cell/model/FormulaObjects/dateandtimeFunctions.js",
"../cell/model/FormulaObjects/engineeringFunctions.js", "../cell/model/FormulaObjects/engineeringFunctions.js",
"../cell/model/FormulaObjects/cubeFunctions.js", "../cell/model/FormulaObjects/cubeFunctions.js",
......
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