cabf650ad0
sal_Bool->bool
...
Change-Id: I3589b3fb44ad57140567338809513b3df7c7eba5
2014-02-19 13:04:57 +02:00
ae2f7da4f9
sal_Bool->bool
...
Change-Id: Id5cbf2c94e3d3ff27cdb8998e2b7b3b712b537ec
2014-02-19 13:04:57 +02:00
4003da2f87
sal_Bool->bool
...
Change-Id: Id314bacb8af5c75ecce73a0b7cfee45f36db93da
2014-02-19 13:04:56 +02:00
ac73516da3
Spelling fix: s/martix/matrix
...
Change-Id: Ieba5e6b1c1f32125a4c266e5252d9c1bc729f061
2014-02-18 10:12:31 +02:00
2e71918d49
sal_Bool->bool
...
Change-Id: I628c1506573c7d5ec182048a20ed996c9ae879c4
2014-02-18 10:08:03 +02:00
d548b250db
Drop unnecessary #include
...
Change-Id: Ib9ab63cdf21f54b1611de37c5538a300a1b39ba6
2014-02-18 13:24:11 +09:00
bb39bea2e6
sal_Bool->bool
...
Change-Id: I475daf63c9548176f37449a26731cb176cf0ea3e
2014-02-14 14:15:20 +02:00
07d60f88f2
Typo: adress -> address
...
Change-Id: I8b6c66b6919f84c36e43a716d4d62fea5cde6568
2014-02-10 15:58:05 +01:00
3cbfcee36d
xub_StrLen and tools/string.hxx final straw
...
Thre is still some 0xffff limit left and possibly some
less than gracefully handled overflow/error cases
Change-Id: I00957ee3a30b02f73918ea49d7353056263dc638
Reviewed-on: https://gerrit.libreoffice.org/7787
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2014-02-03 07:44:28 +00:00
8185ecf65a
fdo#73146 Add Excel 2010 functions
...
PERCENTILE.EXC, PERCENTILE.INC
PERCENTRANK.EXC, PERCENTRANK.INC
QUARTILE.EXC, QUARTILE.INC
RANK.EQ, RANK.AVG
Function ScInterpreter::ScRank() has been rewritten to give the function
the same way of computing as the related functions in this patch.
Change-Id: If3096b265bd47ca5f4afcab7ff746f7c8511df82
Reviewed-on: https://gerrit.libreoffice.org/7319
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2014-01-30 12:30:56 +00:00
53ba2eefb0
fdo#63154 Removed unused solar.h ref. in basic and formula
...
Change-Id: Ibf30f29653568929e65ebd897cef474a6838d5cc
Reviewed-on: https://gerrit.libreoffice.org/7735
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-01-30 11:31:13 +00:00
5b1e440304
fdo#72793 Add Excel 2010 functions
...
T.DIST, T.DIST.2T, T.DIST.RT, T.INV, T.INV.2T, T.TEST
Also, fixed some incorrect string assignments in
formula/source/core/resource/core_resource.src from previously
added Excel 2010 functions.
Change-Id: Ia4d13e7597d2a054d345a08b66b878f91c43f872
Reviewed-on: https://gerrit.libreoffice.org/7226
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2014-01-27 14:14:19 +00:00
602c87b425
Window::PreNotify should return bool
...
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-18 00:37:49 +01:00
9c09211bce
Add internal cell function __DEBUG_VAR to sniff arbitrary internal state.
...
Useful for debugging in a more flashy way. But never ever document this
for end users. If you are an end user reading this, use this at your
own risk. You have been warned.
Change-Id: Ibbdb45f576287f707106327704754ffaec27ba3c
2013-12-20 20:09:51 -05:00
924f9d7ea8
fdo#72158 Add Excel 2010 functions
...
LOGNORM.DIST, LOGNORM.INV, NORM.DIST, NORM.INV, NORM.S.DIST, NORM.S.INV
Change-Id: I695e0645642af1757a1dd7d7f0f15c9515e21309
Reviewed-on: https://gerrit.libreoffice.org/6883
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-12-16 20:25:45 +00:00
d1e1cd128c
remove unused code (ancient Calc function ZELLERROR)
...
code has no function, except that calc documents with formula
ZELLERROR will not produce an error. But the formula is not
interpreted, so remains 'dead code'.
Change-Id: I6e7df7040a0273bcd3ebd497055924b7afdd3311
Reviewed-on: https://gerrit.libreoffice.org/7018
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-12-13 14:09:18 +00:00
ca015ac131
convert formula::FormEditData from xub_StrLen->sal_Int32
...
Change-Id: I0127079ef3ee6bde8e36f2a83ef1f568b9f15568
2013-12-03 11:34:48 +02:00
c310019e75
convert formula::FormulaDlg_Impl from xub_StrLen->sal_Int32
...
Change-Id: Id3229083c1e2ad0cfcb01e9dfa6fa66eb5f5604a
2013-12-03 11:34:48 +02:00
b882c046ee
convert FormulaHelper from xub_StrLen to sal_Int32
...
Change-Id: Ib866c39b2bb5a3cf81b899dc38ea548e3762fc9e
2013-12-03 11:34:48 +02:00
d9b4c8ea81
Convert FormulaHelper::GetNextFunc xub_StrLen->salInt32
...
Change-Id: Ief8c4b4699b3f6ffe1cb02d3dae43ad5a0c4c89e
2013-12-03 11:34:47 +02:00
418b5df94b
convert getSuppressedArgumentCount from xub_StrLen -> sal_Int32
...
convert IFunctionDescription::getSuppressedArgumentCount from xub_StrLen
-> sal_Int32
Change-Id: Iee7a094a6f067fa57ee828c434417f7583c0f32b
2013-12-03 11:34:47 +02:00
35afee4de1
convert IFormulaEditorHelper::*Selection methods from xub_StrLen to sal_Int32
...
Change-Id: Ia7a6241c651106427e636bdc08085b97a2a41407
2013-12-03 11:34:46 +02:00
5a5b35c979
added isOOXML()
...
Change-Id: I9e088e1d6679297884d71604b03537b73ee3387c
2013-12-02 22:06:22 +01:00
bd77c4d178
Remove useless comments in funcutil.
...
Change-Id: I2a5f70a45e1101c72a9dc973e1a783f716400ad2
2013-12-01 13:07:25 +01:00
8539039e0c
fdo#71936 Add Excel 2010 functions GAMMA.DIST, GAMMA.INV, GAMMALN.PRECISE
...
Change-Id: I96f6beb34c1ce7f7191c6e9d379145ba98320c87
Reviewed-on: https://gerrit.libreoffice.org/6775
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-11-29 11:12:20 -06:00
e434c1ce05
fdo#71722 add Excel 2010 functions
...
EXPON.DIST, HYPGEOM.DIST, POISSON.DIST, WEIBULL.DIST
Change-Id: Ib9f648739ec0af90cdf2f576c7f548a6acb7b4a6
Reviewed-on: https://gerrit.libreoffice.org/6748
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-11-22 05:37:39 -06:00
5a1fa54952
fdo#71436 add Excel 2010 functions for F-distribution
...
Added F.DIST.RT, F.INV.RT, F.TEST, which are renamed
FDIST, FINV and FTEST and handle the right tail F-distribution.
Added F.DIST and F.INV, which are new functions and handle
the left tail F-distribution.
Change-Id: Ia7fa26a25f3188249f280733d6111951e2600704
Reviewed-on: https://gerrit.libreoffice.org/6701
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-11-20 12:25:18 -06:00
c32045fcf3
Make FormulaCompiler explicitly non-copyable.
...
Change-Id: Ie0618c7e6e3854d54f117c3fe957925f3f81ac46
2013-11-18 17:25:37 -05:00
8819e69095
Remove unused member.
...
Change-Id: I8331251f77fb202375370a425e01862aa0f6310d
2013-11-14 23:53:52 -05:00
d9a914fe5b
Identify methods that don't modify internal state and mark them const.
...
Change-Id: Ie63d93d51640bfb80dc02bb226d742c2f9be96d8
2013-11-14 23:53:51 -05:00
53b2d2ce0c
fdo#71350 add Excel 2010 function CONFIDENCE.NORM and CONFIDENCE.T
...
Change-Id: I341b0c7a61047627aac1f12bc4653b6f9e65b2e3
Reviewed-on: https://gerrit.libreoffice.org/6625
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-11-14 19:03:53 +00:00
10515c6c6f
fixed file format mappings always have RESOURCE_BASE separators
...
Change-Id: I7ac93f742b469156cd8eb3f8171c7e05a98598ad
2013-11-13 18:38:52 +01:00
debe0835ca
introduced FormulaGrammar::GRAM_OOXML with FormulaLanguage::OOXML
...
FormulaLanguage::XL_ENGLISH is not OOXML, unconditionally using
SymbolsEnglishXL with RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML spoils
the grammars of FormulaLanguage::XL_ENGLISH that are not OOXML.
Change-Id: Id885d1c033cd15dc7b11c6490be3a98500027d37
2013-11-13 17:15:59 +01:00
3ac4277ba1
Thread-safe way to check for presence of references in formula tokens.
...
Change-Id: I995668d1e183dc0dae4f354889bc13053e858723
2013-11-11 16:17:28 -05:00
38016f9d22
fdo#65108 inter-module includes <>
...
Change-Id: I6d9f67e26a213d14aa9114e612781fbd8c223637
2013-11-09 18:48:37 -06:00
75601529a8
fdo#70797 add Excel 2010 functions
...
CHISQ.DIST, CHISQ.INV, CHISQ.TEST, CHISQ.DIST.RT, CHISQ.INV.RT
Change-Id: If32530a82b2e5fa1aa30a8c80090742be5acf3eb
Reviewed-on: https://gerrit.libreoffice.org/6611
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-11-08 11:34:04 -06:00
7220b55f63
Correct reference count type.
...
Change-Id: Id7902c8d21d22a6d5f3740a6bd72e0c1213461e7
2013-11-06 20:56:46 -05:00
29d1303e23
Use atomic increment and decrement for thread-safe reference count.
...
Change-Id: I630298b1c37a6d23c1aa17aabc1c9b2dcb48608a
2013-11-06 20:40:23 -05:00
e362bc7892
fdo#71081 add Excel 2010 functions BINOM.DIST and BINOM.INV
...
Change-Id: Iaecccd9ec6ab6a08c6c7ee8c024a3eba48ca1682
Reviewed-on: https://gerrit.libreoffice.org/6521
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-11-04 11:12:52 -06:00
6d2f42199c
fdo#71008 add Excel 2010 functions BETA.DEST and BETA.INV
...
Change-Id: I65863031cc2795713bf80c17dfc787e2700a556a
Reviewed-on: https://gerrit.libreoffice.org/6505
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-10-31 16:26:05 +00:00
781363934a
fdo#61002 add Excel 2010 functions VAR.P and VAR.S
...
Change-Id: I23f286eaaef79d196a65e8079b62cf577539e9f1
Reviewed-on: https://gerrit.libreoffice.org/6477
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-10-30 17:54:28 +00:00
4a122d1e61
fdo#44134 adding Excel 2010 functions STDEV.P and STDEV.S
...
Change-Id: If7b2767a69285ac72fa7120b1149a66f118cce8f
Reviewed-on: https://gerrit.libreoffice.org/6354
Tested-by: Eike Rathke <erack@redhat.com >
Reviewed-by: Eike Rathke <erack@redhat.com >
2013-10-25 13:07:32 +00:00
1130a359cb
fixincludeguards.sh: include - the rest
...
Change-Id: If1ee11da444a7f96f2d8668b277540da0bb4dbe9
2013-10-23 23:22:31 +02:00
a7724966ab
Bin comments that claim to say why some header is included
...
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
42def53fb1
remove unnecessary tools/string.hxx includes
...
Change-Id: I8ed341aeef90584dfc545a794f999e3adc08dd72
2013-10-21 14:26:32 +01:00
3629a512b5
New constructor that takes both numeric and string arrays.
...
Change-Id: I9c48f340a0349e5f1ba772fcd783924c79b07616
2013-10-18 23:22:40 -04:00
c30a2c4baf
More eye-pleasing way of checking for valid vector array...
...
Change-Id: If2f47a7d98a4cbc9e09dc98c1bb0e11f8f889265
2013-10-18 23:22:39 -04:00
7586151cbe
Allow vector array tokens to store both numeric and string values.
...
This is achieved by storing two physical arrays in each vector
reference array.
Change-Id: Iafb9e57b86e57e75eed8ff692a6d882c2049f710
2013-10-18 23:22:39 -04:00
ccbebd991b
fdo#70000 add support for COVARIANCE.P and COVARIANCE.S functions
...
These functions have been introduced with Excel 2010, but were not
supported yet in calc.
COVARIANCE.P (population) replaces the COVAR function, but the COVAR
function remains present (in Excel as well as in calc).
COVARIANCE.S (sample) is a new function.
Change-Id: If5501b4090fb716adfb3d121c7898528fd1b7ad4
Reviewed-on: https://gerrit.libreoffice.org/6135
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-10-18 19:04:09 +00:00
7333881bb7
Formula tokens, formula cells and formula interpreters to use shared strings.
...
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
2013-10-11 12:14:27 -04:00