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
02ed3a83
Commit
02ed3a83
authored
7 years ago
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete prototype.getInfo from all formulas
parent
e65898f4
No related merge requests found
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
0 additions
and
1712 deletions
+0
-1712
cell/model/FormulaObjects/dateandtimeFunctions.js
cell/model/FormulaObjects/dateandtimeFunctions.js
+0
-105
cell/model/FormulaObjects/engineeringFunctions.js
cell/model/FormulaObjects/engineeringFunctions.js
+0
-210
cell/model/FormulaObjects/financialFunctions.js
cell/model/FormulaObjects/financialFunctions.js
+0
-271
cell/model/FormulaObjects/informationFunctions.js
cell/model/FormulaObjects/informationFunctions.js
+0
-75
cell/model/FormulaObjects/logicalFunctions.js
cell/model/FormulaObjects/logicalFunctions.js
+0
-45
cell/model/FormulaObjects/lookupandreferenceFunctions.js
cell/model/FormulaObjects/lookupandreferenceFunctions.js
+0
-73
cell/model/FormulaObjects/mathematicFunctions.js
cell/model/FormulaObjects/mathematicFunctions.js
+0
-385
cell/model/FormulaObjects/statisticalFunctions.js
cell/model/FormulaObjects/statisticalFunctions.js
+0
-423
cell/model/FormulaObjects/textanddataFunctions.js
cell/model/FormulaObjects/textanddataFunctions.js
+0
-125
No files found.
cell/model/FormulaObjects/dateandtimeFunctions.js
View file @
02ed3a83
...
...
@@ -362,11 +362,6 @@
this
.
value
.
numFormat
=
14
;
return
this
.
value
;
};
cDATE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( year, month, day )
"
};
};
/**
* @constructor
...
...
@@ -483,11 +478,6 @@
}
};
cDATEDIF
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( start-date , end-date , unit )
"
};
};
/**
* @constructor
...
...
@@ -526,11 +516,6 @@
return
this
.
value
=
new
cError
(
cErrorType
.
wrong_value_type
);
}
};
cDATEVALUE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( date-time-string )
"
};
};
/**
* @constructor
...
...
@@ -600,11 +585,6 @@
new
cNumber
((
new
Date
((
val
-
AscCommonExcel
.
c_DateCorrectConst
)
*
c_msPerDay
)
).
getUTCDate
()),
0
);
}
};
cDAY
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( date-value )
"
};
};
/**
* @constructor
...
...
@@ -669,11 +649,6 @@
return
this
.
value
=
new
cNumber
(
days360
(
date1
,
date2
,
arg2
.
toBool
()));
};
cDAYS360
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( start-date , end-date [ , method-flag ] )
"
};
};
/**
* @constructor
...
...
@@ -747,11 +722,6 @@
return
this
.
value
=
new
cNumber
(
Math
.
floor
((
val
.
getTime
()
/
1000
-
val
.
getTimezoneOffset
()
*
60
)
/
c_sPerDay
+
(
AscCommonExcel
.
c_DateCorrectConst
+
1
)))
};
cEDATE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( start-date , month-offset )
"
};
};
/**
* @constructor
...
...
@@ -816,11 +786,6 @@
return
this
.
value
=
new
cNumber
(
Math
.
floor
((
val
.
getTime
()
/
1000
-
val
.
getTimezoneOffset
()
*
60
)
/
c_sPerDay
+
(
AscCommonExcel
.
c_DateCorrectConst
+
1
)));
};
cEOMONTH
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( start-date , month-offset )
"
};
};
/**
* @constructor
...
...
@@ -884,11 +849,6 @@
0
);
}
};
cHOUR
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( time-value )
"
};
};
/**
* @constructor
...
...
@@ -951,11 +911,6 @@
return
this
.
setCalcValue
(
new
cNumber
(
val
),
0
);
}
};
cMINUTE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( time-value )
"
};
};
/**
* @constructor
...
...
@@ -1023,11 +978,6 @@
c_msPerDay
)
).
getUTCMonth
()
+
1
),
0
);
}
};
cMONTH
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( date-value )
"
};
};
/**
* @constructor
...
...
@@ -1152,11 +1102,6 @@
}
return
this
.
value
=
new
cNumber
((
dif
<
0
?
-
1
:
1
)
*
count
);
};
cNETWORKDAYS
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( start-date , end-date [ , holidays ] )
"
};
};
/**
* @constructor
...
...
@@ -1190,11 +1135,6 @@
this
.
value
.
numFormat
=
22
;
return
this
.
value
;
};
cNOW
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
()
"
};
};
/**
* @constructor
...
...
@@ -1257,11 +1197,6 @@
return
this
.
setCalcValue
(
new
cNumber
(
val
),
0
);
}
};
cSECOND
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( time-value )
"
};
};
/**
* @constructor
...
...
@@ -1319,11 +1254,6 @@
this
.
value
.
numFormat
=
18
;
return
this
.
value
;
};
cTIME
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( hour, minute, second )
"
};
};
/**
* @constructor
...
...
@@ -1363,11 +1293,6 @@
return
this
.
value
=
new
cError
(
cErrorType
.
wrong_value_type
);
}
};
cTIMEVALUE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( date-time-string )
"
};
};
/**
* @constructor
...
...
@@ -1388,11 +1313,6 @@
this
.
value
.
numFormat
=
14
;
return
this
.
value
;
};
cTODAY
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
()
"
};
};
/**
* @constructor
...
...
@@ -1474,11 +1394,6 @@
return
this
.
value
=
new
cNumber
(
weekday
[
new
Date
((
arg0
.
getValue
()
-
(
AscCommonExcel
.
c_DateCorrectConst
+
1
))
*
c_msPerDay
).
getUTCDay
()]);
};
cWEEKDAY
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( serial-value [ , weekday-start-flag ] )
"
};
};
/**
* @constructor
...
...
@@ -1593,11 +1508,6 @@
new
cNumber
(
WeekNumber
(
Date
.
prototype
.
getDateFromExcel
(
arg0
.
getValue
()),
weekdayStartDay
,
type
));
};
cWEEKNUM
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( serial-value [ , weekday-start-flag ] )
"
};
};
/**
* @constructor
...
...
@@ -1719,11 +1629,6 @@
return
this
.
setCalcValue
(
new
cNumber
(
val
),
14
);
};
cWORKDAY
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( start-date , day-offset [ , holidays ] )
"
};
};
/**
* @constructor
...
...
@@ -1796,11 +1701,6 @@
0
);
}
};
cYEAR
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( date-value )
"
};
};
/**
* @constructor
...
...
@@ -1864,11 +1764,6 @@
// return this.value = diffDate2( val0, val1, arg2.getValue() );
};
cYEARFRAC
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( start-date , end-date [ , basis ] )
"
};
};
//----------------------------------------------------------export----------------------------------------------------
window
[
'
AscCommonExcel
'
]
=
window
[
'
AscCommonExcel
'
]
||
{};
...
...
This diff is collapsed.
Click to expand it.
cell/model/FormulaObjects/engineeringFunctions.js
View file @
02ed3a83
...
...
@@ -1080,11 +1080,6 @@
return
this
.
value
;
};
cBIN2DEC
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number )
"
};
};
/**
* @constructor
...
...
@@ -1149,11 +1144,6 @@
return
this
.
value
;
};
cBIN2HEX
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number [ , num-hex-digits ] )
"
};
};
/**
* @constructor
...
...
@@ -1218,11 +1208,6 @@
return
this
.
value
;
};
cBIN2OCT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number [ , num-hex-digits ] )
"
};
};
/**
* @constructor
...
...
@@ -1287,11 +1272,6 @@
return
this
.
value
;
};
cCOMPLEX
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( real-number , imaginary-number [ , suffix ] )
"
};
};
/**
* @constructor
...
...
@@ -1362,11 +1342,6 @@
return
this
.
value
;
};
cDEC2BIN
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number [ , num-hex-digits ] )
"
};
};
/**
* @constructor
...
...
@@ -1425,11 +1400,6 @@
return
this
.
value
;
};
cDEC2HEX
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number [ , num-hex-digits ] )
"
};
};
/**
* @constructor
...
...
@@ -1488,11 +1458,6 @@
return
this
.
value
;
};
cDEC2OCT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number [ , num-hex-digits ] )
"
};
};
/**
* @constructor
...
...
@@ -1540,11 +1505,6 @@
return
this
.
value
;
};
cDELTA
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number-1 [ , number-2 ] )
"
};
};
/**
* @constructor
...
...
@@ -1597,11 +1557,6 @@
return
this
.
value
;
};
cERF
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( lower-bound [ , upper-bound ] )
"
};
};
/**
* @constructor
...
...
@@ -1636,11 +1591,6 @@
return
this
.
value
;
};
cERFC
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( lower-bound )
"
};
};
/**
* @constructor
...
...
@@ -1688,11 +1638,6 @@
return
this
.
value
;
};
cGESTEP
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number [ , step ] )
"
};
};
/**
* @constructor
...
...
@@ -1764,11 +1709,6 @@
return
this
.
value
;
};
cHEX2BIN
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number [ , num-hex-digits ] )
"
};
};
/**
* @constructor
...
...
@@ -1816,11 +1756,6 @@
return
this
.
value
;
};
cHEX2DEC
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number )
"
};
};
/**
* @constructor
...
...
@@ -1891,11 +1826,6 @@
return
this
.
value
;
};
cHEX2OCT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number [ , num-hex-digits ] )
"
};
};
/**
* @constructor
...
...
@@ -1936,11 +1866,6 @@
return
this
.
value
;
};
cIMABS
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -1981,11 +1906,6 @@
return
this
.
value
;
};
cIMAGINARY
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2026,11 +1946,6 @@
return
this
.
value
;
};
cIMARGUMENT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2071,11 +1986,6 @@
return
this
.
value
;
};
cIMCONJUGATE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2118,11 +2028,6 @@
return
this
.
value
;
};
cIMCOS
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2170,11 +2075,6 @@
return
this
.
value
;
};
cIMCOSH
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2225,11 +2125,6 @@
return
this
.
value
;
};
cIMCOT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2281,11 +2176,6 @@
return
this
.
value
;
};
cIMCSC
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2337,11 +2227,6 @@
return
this
.
value
;
};
cIMCSCH
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2395,11 +2280,6 @@
return
this
.
value
;
};
cIMDIV
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number-1 , complex-number-2 )
"
};
};
/**
* @constructor
...
...
@@ -2442,11 +2322,6 @@
return
this
.
value
;
};
cIMEXP
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2493,11 +2368,6 @@
return
this
.
value
;
};
cIMLN
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2544,11 +2414,6 @@
return
this
.
value
;
};
cIMLOG10
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2595,11 +2460,6 @@
return
this
.
value
;
};
cIMLOG2
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2656,11 +2516,6 @@
return
this
.
value
;
};
cIMPOWER
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number, power )
"
};
};
/**
* @constructor
...
...
@@ -2758,11 +2613,6 @@
return
this
.
value
;
};
cIMPRODUCT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( argument-list )
"
};
};
/**
* @constructor
...
...
@@ -2803,11 +2653,6 @@
return
this
.
value
;
};
cIMREAL
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2854,11 +2699,6 @@
return
this
.
value
;
};
cIMSEC
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -2905,11 +2745,6 @@
return
this
.
value
;
};
cIMSECH
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
...
...
@@ -2958,11 +2793,6 @@
return
this
.
value
;
};
cIMSIN
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -3010,11 +2840,6 @@
return
this
.
value
;
};
cIMSINH
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -3057,11 +2882,6 @@
return
this
.
value
;
};
cIMSQRT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -3115,11 +2935,6 @@
return
this
.
value
;
};
cIMSUB
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number-1 , complex-number-2 )
"
};
};
/**
* @constructor
...
...
@@ -3218,11 +3033,6 @@
return
this
.
value
;
};
cIMSUM
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( argument-list )
"
};
};
/**
* @constructor
...
...
@@ -3270,11 +3080,6 @@
return
this
.
value
;
};
cIMTAN
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( complex-number )
"
};
};
/**
* @constructor
...
...
@@ -3346,11 +3151,6 @@
return
this
.
value
;
};
cOCT2BIN
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number [ , num-hex-digits ] )
"
};
};
/**
* @constructor
...
...
@@ -3398,11 +3198,6 @@
return
this
.
value
;
};
cOCT2DEC
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number )
"
};
};
/**
* @constructor
...
...
@@ -3467,9 +3262,4 @@
return
this
.
value
;
};
cOCT2HEX
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number [ , num-hex-digits ] )
"
};
}
})(
window
);
This diff is collapsed.
Click to expand it.
cell/model/FormulaObjects/financialFunctions.js
View file @
02ed3a83
This diff is collapsed.
Click to expand it.
cell/model/FormulaObjects/informationFunctions.js
View file @
02ed3a83
...
...
@@ -113,11 +113,6 @@
}
return
this
.
value
=
typeError
(
arg0
);
};
cERROR_TYPE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value)
"
};
};
/**
* @constructor
...
...
@@ -146,11 +141,6 @@
return
this
.
value
=
new
cBool
(
false
);
}
};
cISBLANK
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value)
"
};
};
/**
* @constructor
...
...
@@ -182,11 +172,6 @@
return
this
.
value
=
new
cBool
(
false
);
}
};
cISERR
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value)
"
};
};
/**
* @constructor
...
...
@@ -218,11 +203,6 @@
return
this
.
value
=
new
cBool
(
false
);
}
};
cISERROR
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value)
"
};
};
/**
* @constructor
...
...
@@ -259,11 +239,6 @@
return
this
.
value
=
new
cBool
((
arg0
.
getValue
()
&
1
)
==
0
);
}
};
cISEVEN
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(number)
"
};
};
/**
* @constructor
...
...
@@ -295,11 +270,6 @@
return
this
.
value
=
new
cBool
(
false
);
}
};
cISLOGICAL
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value)
"
};
};
/**
* @constructor
...
...
@@ -331,11 +301,6 @@
return
this
.
value
=
new
cBool
(
false
);
}
};
cISNA
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value)
"
};
};
/**
* @constructor
...
...
@@ -366,11 +331,6 @@
return
this
.
value
=
new
cBool
(
false
);
}
};
cISNONTEXT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value)
"
};
};
/**
* @constructor
...
...
@@ -402,11 +362,6 @@
return
this
.
value
=
new
cBool
(
false
);
}
};
cISNUMBER
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value)
"
};
};
/**
* @constructor
...
...
@@ -443,11 +398,6 @@
return
this
.
value
=
new
cBool
((
arg0
.
getValue
()
&
1
)
==
1
);
}
};
cISODD
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(number)
"
};
};
/**
* @constructor
...
...
@@ -471,11 +421,6 @@
return
this
.
value
=
new
cBool
(
false
);
}
};
cISREF
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value)
"
};
};
/**
* @constructor
...
...
@@ -507,11 +452,6 @@
return
this
.
value
=
new
cBool
(
false
);
}
};
cISTEXT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value)
"
};
};
/**
* @constructor
...
...
@@ -557,11 +497,6 @@
}
};
cN
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value)
"
};
};
/**
* @constructor
...
...
@@ -579,11 +514,6 @@
cNA
.
prototype
.
Calculate
=
function
()
{
return
this
.
value
=
new
cError
(
cErrorType
.
not_available
);
};
cNA
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
()
"
};
};
/**
* @constructor
...
...
@@ -619,9 +549,4 @@
return
this
.
value
=
new
cNumber
(
64
);
}
};
cTYPE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value)
"
};
};
})(
window
);
This diff is collapsed.
Click to expand it.
cell/model/FormulaObjects/logicalFunctions.js
View file @
02ed3a83
...
...
@@ -124,11 +124,6 @@
}
return
this
.
value
=
argResult
;
};
cAND
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(logical1, logical2, ...)
"
};
};
/**
* @constructor
...
...
@@ -146,11 +141,6 @@
cFALSE
.
prototype
.
Calculate
=
function
()
{
return
this
.
value
=
new
cBool
(
false
);
};
cFALSE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
()
"
};
};
/**
* @constructor
...
...
@@ -193,11 +183,6 @@
}
}
};
cIF
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(logical_test, value_if_true, value_if_false)
"
};
};
/**
* @constructor
...
...
@@ -231,11 +216,6 @@
return
this
.
value
=
arg
[
0
];
}
};
cIFERROR
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value, value_if_error)
"
};
};
/**
* @constructor
...
...
@@ -270,11 +250,6 @@
return
this
.
value
=
arg
[
0
];
}
};
cIFNA
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(value, value_if_na)
"
};
};
/**
* @constructor
...
...
@@ -313,11 +288,6 @@
return
this
.
value
=
new
cBool
(
!
arg0
.
tocBool
().
value
);
}
};
cNOT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(logical)
"
};
};
/**
* @constructor
...
...
@@ -388,11 +358,6 @@
}
return
this
.
value
=
argResult
;
};
cOR
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(logical1, logical2, ...)
"
};
};
/**
* @constructor
...
...
@@ -410,11 +375,6 @@
cTRUE
.
prototype
.
Calculate
=
function
()
{
return
this
.
value
=
new
cBool
(
true
);
};
cTRUE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
()
"
};
};
/**
* @constructor
...
...
@@ -500,9 +460,4 @@
return
this
.
value
=
argResult
;
};
cXOR
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(logical1, logical2, ...)
"
};
};
})(
window
);
This diff is collapsed.
Click to expand it.
cell/model/FormulaObjects/lookupandreferenceFunctions.js
View file @
02ed3a83
...
...
@@ -210,12 +210,6 @@
return
abs
?
(
A1RefType
?
'
$
'
+
val
:
val
)
:
(
A1RefType
?
val
:
'
[
'
+
val
+
'
]
'
);
};
cADDRESS
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( row-number , col-number [ , [ ref-type ] [ , [ A1-ref-style-flag ] [ , sheet-name ] ] ] )
"
};
};
/**
* @constructor
...
...
@@ -264,11 +258,6 @@
return
this
.
value
=
new
cError
(
cErrorType
.
wrong_value_type
);
};
cCHOOSE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( index , argument-list )
"
};
};
/**
* @constructor
...
...
@@ -295,11 +284,6 @@
}
return
this
.
value
=
(
range
?
new
cNumber
(
range
.
bbox
.
c1
+
1
)
:
new
cError
(
cErrorType
.
bad_reference
));
};
cCOLUMN
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( [ reference ] )
"
};
};
/**
* @constructor
...
...
@@ -327,11 +311,6 @@
return
this
.
value
=
(
range
?
new
cNumber
(
Math
.
abs
(
range
.
getBBox0
().
c1
-
range
.
getBBox0
().
c2
)
+
1
)
:
new
cError
(
cErrorType
.
wrong_value_type
));
};
cCOLUMNS
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( array )
"
};
};
/**
* @constructor
...
...
@@ -450,11 +429,6 @@
var
v
=
arg1
.
getWS
().
_getCellNoEmpty
(
bb
.
r1
+
numberRow
,
resC
);
return
this
.
value
=
checkTypeCell
(
v
);
};
cHLOOKUP
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( lookup-value , table-array , row-index-num [ , [ range-lookup-flag ] ] )
"
};
};
/**
* @constructor
...
...
@@ -547,13 +521,6 @@
return
this
.
value
=
res
?
res
:
new
cError
(
cErrorType
.
bad_reference
);
};
cINDEX
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( array , [ row-number ] [ , [ column-number ] ] )
"
+
this
.
name
+
"
( reference , [ row-number ] [ , [ column-number ] [ , [ area-number ] ] ] )
"
};
};
/**
* @constructor
...
...
@@ -629,11 +596,6 @@
return
this
.
value
=
ret
;
};
cINDIRECT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( ref-text [ , [ A1-ref-style-flag ] ] )
"
};
};
/**
* @constructor
...
...
@@ -779,11 +741,6 @@
}
}
};
cLOOKUP
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( lookup-value , lookup-vector , result-vector )
"
};
};
/**
* @constructor
...
...
@@ -889,11 +846,6 @@
return
this
.
value
=
findMatch
(
arg0
,
arg1
,
arg2
)
};
cMATCH
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( lookup-value , lookup-array [ , [ match-type ]] )
"
};
};
/**
* @constructor
...
...
@@ -994,11 +946,6 @@
return
this
.
value
;
};
cOFFSET
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( reference , rows , cols [ , [ height ] [ , [ width ] ] ] )
"
};
};
/**
* @constructor
...
...
@@ -1025,11 +972,6 @@
}
return
this
.
value
=
(
range
?
new
cNumber
(
range
.
bbox
.
r1
+
1
)
:
new
cError
(
cErrorType
.
bad_reference
));
};
cROW
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( [ reference ] )
"
};
};
/**
* @constructor
...
...
@@ -1057,11 +999,6 @@
return
this
.
value
=
(
range
?
new
cNumber
(
Math
.
abs
(
range
.
getBBox0
().
r1
-
range
.
getBBox0
().
r2
)
+
1
)
:
new
cError
(
cErrorType
.
wrong_value_type
));
};
cROWS
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( array )
"
};
};
/**
* @constructor
...
...
@@ -1124,11 +1061,6 @@
return
this
.
value
=
TransposeMatrix
(
arg0
);
};
cTRANSPOSE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( array )
"
};
};
/**
* @constructor
...
...
@@ -1321,11 +1253,6 @@
var
v
=
arg1
.
getWS
().
_getCellNoEmpty
(
resR
,
bb
.
c1
+
numberCol
);
return
this
.
value
=
checkTypeCell
(
v
);
};
cVLOOKUP
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( lookup-value , table-array , col-index-num [ , [ range-lookup-flag ] ] )
"
};
};
var
g_oVLOOKUPCache
=
new
VHLOOKUPCache
(
false
);
var
g_oHLOOKUPCache
=
new
VHLOOKUPCache
(
true
);
...
...
This diff is collapsed.
Click to expand it.
cell/model/FormulaObjects/mathematicFunctions.js
View file @
02ed3a83
This diff is collapsed.
Click to expand it.
cell/model/FormulaObjects/statisticalFunctions.js
View file @
02ed3a83
This diff is collapsed.
Click to expand it.
cell/model/FormulaObjects/textanddataFunctions.js
View file @
02ed3a83
...
...
@@ -130,11 +130,6 @@
return
this
.
value
=
new
cString
(
String
.
fromCharCode
(
arg0
.
getValue
()));
};
cCHAR
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number )
"
};
};
/**
* @constructor
...
...
@@ -172,11 +167,6 @@
return
this
.
value
=
new
cString
(
res
);
};
cCLEAN
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string )
"
};
};
/**
* @constructor
...
...
@@ -222,11 +212,6 @@
return
this
.
value
=
new
cNumber
(
arg0
.
toString
().
charCodeAt
());
};
cCODE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string )
"
};
};
/**
* @constructor
...
...
@@ -272,11 +257,6 @@
}
return
this
.
value
=
arg0
;
};
cCONCATENATE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(text1, text2, ...)
"
};
};
/**
* @constructor
...
...
@@ -332,11 +312,6 @@
}
return
this
.
value
=
arg0
;
};
cCONCAT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(text1, text2, ...)
"
};
};
/**
* @constructor
...
...
@@ -536,11 +511,6 @@
AscCommon
.
gc_nMaxDigCount
)[
0
].
text
);
return
this
.
value
;
};
cDOLLAR
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number [ , num-decimal ] )
"
};
};
/**
* @constructor
...
...
@@ -587,11 +557,6 @@
var
arg0val
=
arg0
.
getValue
(),
arg1val
=
arg1
.
getValue
();
return
this
.
value
=
new
cBool
(
arg0val
===
arg1val
);
};
cEXACT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(text1, text2)
"
};
};
/**
* @constructor
...
...
@@ -678,11 +643,6 @@
return
this
.
value
=
new
cNumber
(
res
+
1
);
};
cFIND
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string-1 , string-2 [ , start-pos ] )
"
};
};
/**
* @constructor
...
...
@@ -891,11 +851,6 @@
.
format
(
roundHelper
(
number
,
num_digits
).
getValue
(),
CellValueType
.
Number
,
AscCommon
.
gc_nMaxDigCount
)[
0
].
text
)
};
cFIXED
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( number [ , [ num-decimal ] [ , suppress-commas-flag ] ] )
"
};
};
/**
* @constructor
...
...
@@ -957,11 +912,6 @@
return
this
.
value
=
new
cString
(
arg0
.
getValue
().
substring
(
0
,
arg1
.
getValue
()))
};
cLEFT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string [ , number-chars ] )
"
};
};
/**
* @constructor
...
...
@@ -1008,11 +958,6 @@
return
this
.
value
=
new
cNumber
(
arg0
.
getValue
().
length
)
};
cLEN
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string )
"
};
};
/**
* @constructor
...
...
@@ -1058,11 +1003,6 @@
return
this
.
value
=
new
cString
(
arg0
.
getValue
().
toLowerCase
());
};
cLOWER
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(text)
"
};
};
/**
* @constructor
...
...
@@ -1133,11 +1073,6 @@
new
cString
(
arg0
.
getValue
().
substr
(
arg1
.
getValue
()
==
0
?
0
:
arg1
.
getValue
()
-
1
,
arg2
.
getValue
()))
};
cMID
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string , start-pos , number-chars )
"
};
};
/**
* @constructor
...
...
@@ -1273,11 +1208,6 @@
return
this
.
value
=
this
.
_findArrayInNumberArguments
(
oArguments
,
calcText
,
true
);
};
cNUMBERVALUE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(text, decimal_separator, group_separator )
"
};
};
/**
...
...
@@ -1356,11 +1286,6 @@
return
this
.
value
=
new
cString
(
proper
(
arg0
.
toString
()));
};
cPROPER
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string )
"
};
};
/**
* @constructor
...
...
@@ -1439,11 +1364,6 @@
return
this
.
value
=
new
cString
(
res
);
};
cREPLACE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string-1, start-pos, number-chars, string-2 )
"
};
};
/**
* @constructor
...
...
@@ -1518,11 +1438,6 @@
return
this
.
value
=
new
cString
(
arg0
.
getValue
().
repeat
(
arg1
.
getValue
()));
};
cREPT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(text, number_of_times)
"
};
};
/**
* @constructor
...
...
@@ -1573,11 +1488,6 @@
return
this
.
value
=
new
cString
(
arg0
.
getValue
().
substring
(
_number
<
0
?
0
:
_number
,
l
))
};
cRIGHT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string [ , number-chars ] )
"
};
};
/**
* @constructor
...
...
@@ -1680,11 +1590,6 @@
return
this
.
value
=
new
cNumber
(
res
+
1
);
};
cSEARCH
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string-1 , string-2 [ , start-pos ] )
"
};
};
/**
* @constructor
...
...
@@ -1778,11 +1683,6 @@
return
this
.
value
=
new
cString
(
res
);
};
cSUBSTITUTE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string , old-string , new-string [ , occurence ] )
"
};
};
/**
* @constructor
...
...
@@ -1816,11 +1716,6 @@
return
this
.
value
=
new
AscCommonExcel
.
cEmpty
();
}
};
cT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( value )
"
};
};
/**
* @constructor
...
...
@@ -1892,11 +1787,6 @@
this
.
value
.
numFormat
=
AscCommonExcel
.
cNumFormatNone
;
return
this
.
value
;
};
cTEXT
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( value , format )
"
};
};
/**
* @constructor
...
...
@@ -1933,11 +1823,6 @@
return
res
;
}).
replace
(
/^
\s
|
\s
$/g
,
""
))
};
cTRIM
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string )
"
};
};
/**
* @constructor
...
...
@@ -1969,11 +1854,6 @@
}
return
this
.
value
=
new
cString
(
arg0
.
getValue
().
toUpperCase
());
};
cUPPER
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
(text)
"
};
};
/**
* @constructor
...
...
@@ -2014,9 +1894,4 @@
}
};
cVALUE
.
prototype
.
getInfo
=
function
()
{
return
{
name
:
this
.
name
,
args
:
"
( string )
"
};
};
})(
window
);
This diff is collapsed.
Click to expand it.
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