summaryrefslogtreecommitdiff
path: root/include/formula
AgeCommit message (Collapse)Author
2013-12-03convert formula::FormEditData from xub_StrLen->sal_Int32Noel Grandin
Change-Id: I0127079ef3ee6bde8e36f2a83ef1f568b9f15568
2013-12-03convert formula::FormulaDlg_Impl from xub_StrLen->sal_Int32Noel Grandin
Change-Id: Id3229083c1e2ad0cfcb01e9dfa6fa66eb5f5604a
2013-12-03convert FormulaHelper from xub_StrLen to sal_Int32Noel Grandin
Change-Id: Ib866c39b2bb5a3cf81b899dc38ea548e3762fc9e
2013-12-03Convert FormulaHelper::GetNextFunc xub_StrLen->salInt32Noel Grandin
Change-Id: Ief8c4b4699b3f6ffe1cb02d3dae43ad5a0c4c89e
2013-12-03convert getSuppressedArgumentCount from xub_StrLen -> sal_Int32Noel Grandin
convert IFunctionDescription::getSuppressedArgumentCount from xub_StrLen -> sal_Int32 Change-Id: Iee7a094a6f067fa57ee828c434417f7583c0f32b
2013-12-03convert IFormulaEditorHelper::*Selection methods from xub_StrLen to sal_Int32Noel Grandin
Change-Id: Ia7a6241c651106427e636bdc08085b97a2a41407
2013-12-02added isOOXML()Eike Rathke
Change-Id: I9e088e1d6679297884d71604b03537b73ee3387c
2013-12-01Remove useless comments in funcutil.Tomaž Vajngerl
Change-Id: I2a5f70a45e1101c72a9dc973e1a783f716400ad2
2013-11-29fdo#71936 Add Excel 2010 functions GAMMA.DIST, GAMMA.INV, GAMMALN.PRECISEWinfried Donkers
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-22fdo#71722 add Excel 2010 functionsWinfried Donkers
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-20fdo#71436 add Excel 2010 functions for F-distributionWinfried Donkers
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-18Make FormulaCompiler explicitly non-copyable.Kohei Yoshida
Change-Id: Ie0618c7e6e3854d54f117c3fe957925f3f81ac46
2013-11-14Remove unused member.Kohei Yoshida
Change-Id: I8331251f77fb202375370a425e01862aa0f6310d
2013-11-14Identify methods that don't modify internal state and mark them const.Kohei Yoshida
Change-Id: Ie63d93d51640bfb80dc02bb226d742c2f9be96d8
2013-11-14fdo#71350 add Excel 2010 function CONFIDENCE.NORM and CONFIDENCE.TWinfried Donkers
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-13fixed file format mappings always have RESOURCE_BASE separatorsEike Rathke
Change-Id: I7ac93f742b469156cd8eb3f8171c7e05a98598ad
2013-11-13introduced FormulaGrammar::GRAM_OOXML with FormulaLanguage::OOXMLEike Rathke
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-11Thread-safe way to check for presence of references in formula tokens.Kohei Yoshida
Change-Id: I995668d1e183dc0dae4f354889bc13053e858723
2013-11-09fdo#65108 inter-module includes <>Norbert Thiebaud
Change-Id: I6d9f67e26a213d14aa9114e612781fbd8c223637
2013-11-08fdo#70797 add Excel 2010 functionsWinfried Donkers
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-06Correct reference count type.Kohei Yoshida
Change-Id: Id7902c8d21d22a6d5f3740a6bd72e0c1213461e7
2013-11-06Use atomic increment and decrement for thread-safe reference count.Kohei Yoshida
Change-Id: I630298b1c37a6d23c1aa17aabc1c9b2dcb48608a
2013-11-04fdo#71081 add Excel 2010 functions BINOM.DIST and BINOM.INVWinfried Donkers
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-10-31fdo#71008 add Excel 2010 functions BETA.DEST and BETA.INVWinfried Donkers
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-30fdo#61002 add Excel 2010 functions VAR.P and VAR.SWinfried Donkers
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-25fdo#44134 adding Excel 2010 functions STDEV.P and STDEV.SWinfried Donkers
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-23fixincludeguards.sh: include - the restThomas Arnhold
Change-Id: If1ee11da444a7f96f2d8668b277540da0bb4dbe9
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-21remove unnecessary tools/string.hxx includesCaolán McNamara
Change-Id: I8ed341aeef90584dfc545a794f999e3adc08dd72
2013-10-18New constructor that takes both numeric and string arrays.Kohei Yoshida
Change-Id: I9c48f340a0349e5f1ba772fcd783924c79b07616
2013-10-18More eye-pleasing way of checking for valid vector array...Kohei Yoshida
Change-Id: If2f47a7d98a4cbc9e09dc98c1bb0e11f8f889265
2013-10-18Allow vector array tokens to store both numeric and string values.Kohei Yoshida
This is achieved by storing two physical arrays in each vector reference array. Change-Id: Iafb9e57b86e57e75eed8ff692a6d882c2049f710
2013-10-18fdo#70000 add support for COVARIANCE.P and COVARIANCE.S functionsWinfried Donkers
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-11Formula tokens, formula cells and formula interpreters to use shared strings.Kohei Yoshida
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
2013-10-01convert remains of String to OUString in formula moduleNoel Grandin
Change-Id: Ieca67b54535a6e11ba8fc20f6d02c501f6b7affd
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-17remove OUStringHashCode in favor of OUStringHashCaolán McNamara
(and as always if you find one, you can be sure there are 6 others in there when you grep for them) Change-Id: I9296ddbdda266c7b6d8a0ac0bc13ec5b6340cee7
2013-09-17convert the resust of include/formula/FormulaCompiler.hxx to OUStringNoel Grandin
Change-Id: I7cbc371e90869c481a23450722a1a025b110b235
2013-09-17convert formula::OpCodeHashMap from String to OUStringNoel Grandin
Change-Id: Iabf95a16cc4df3a612b90ed9e07f2216f72bb976
2013-09-17convert aCorrectedFormula in formula::FormulaCompiler to OUStringNoel Grandin
Change-Id: I048ec33effc33e94943f5110d6a9a0937a1dfdfe
2013-09-17convert formula::FormulaCompiler::OpCodeMap from String to OUStringNoel Grandin
..and add some convenience methods sal_Unicode getSymbolChar sal_Unicode GetNativeSymbolChar since most call sites are only interested in the first char of the symbol. Change-Id: I6aeb43b055b849e71cb1f62c3efe79d6a4cc10bd
2013-09-17convert aCorrectedSymbol in formula::FormulaCompiler from String to OUStringNoel Grandin
Change-Id: I426b305fb8befffe0452e280d2097b6560843eef
2013-09-17convert include/formula/IFunctionDescription.hxx from String to OUStringNoel Grandin
Change-Id: Ie3d3a3a55b50fe0dcac6be70fcce01fa544c374f
2013-09-17convert include/formula/formdata.hxx from String to OUStringNoel Grandin
Change-Id: Ic5543744700a47e796178d664a710c1ea4faada0
2013-09-17convert include/formula/formula.hxx from String to OUStringNoel Grandin
Change-Id: Id3c1dfa97805dfa3a1978cd264380d5ef4a2287a
2013-09-17convert include/formula/formulahelper.hxx from String to OUStringNoel Grandin
Change-Id: I4ab7595cecede03b4ad2a4b9dbe373e67c2912f4
2013-09-17introduced putCopyOpCode() to handle copyFrom()Eike Rathke
... and added bOverrideKnownBad handling Change-Id: I1b669771ec1aa0cdfa1c1bef0bcfccfad96fe727
2013-09-10Correctly handle empty cells for string arrays too.Kohei Yoshida
Because we need to make a distinction between an empty cell and a string cell containing zero-length string, I decided to switch to using rtl_uString* array and use NULL values as empty cells. Change-Id: I5bedb593507f34782e41a8a900602d445e5b1f6f
2013-09-07iString to OUString in some calc core codeMarkus Mohrhard
Change-Id: I25fc70cfd01f5ad25f7362157796d3ddf06139e1
2013-09-06Allow storage of string arrays in vector ref tokens.Kohei Yoshida
Change-Id: Id2bc5a0343afeae387d896a9c369586a13081cd5