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

rename _xlfnFunctions.js to xlfnFunctions.js

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