Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
35a2ac10
Commit
35a2ac10
authored
Sep 15, 2017
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename _xlfnFunctions.js to xlfnFunctions.js
parent
ba63f0f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
225 additions
and
225 deletions
+225
-225
build/configs/webexcel.json
build/configs/webexcel.json
+1
-1
cell/model/FormulaObjects/xlfnFunctions.js
cell/model/FormulaObjects/xlfnFunctions.js
+223
-223
common/Local/jio.js
common/Local/jio.js
+1
-1
No files found.
build/configs/webexcel.json
View file @
35a2ac10
...
...
@@ -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"
,
...
...
cell/model/FormulaObjects/
_
xlfnFunctions.js
→
cell/model/FormulaObjects/xlfnFunctions.js
View file @
35a2ac10
/*
* (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
);
common/Local/jio.js
View file @
35a2ac10
...
...
@@ -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
"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment