summaryrefslogtreecommitdiffstats
path: root/include/formula
Commit message (Collapse)AuthorAgeFilesLines
* Bin comments that claim to say why some header is includedTor Lillqvist2013-10-221-1/+1
| | | | | | They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
* remove unnecessary tools/string.hxx includesCaolán McNamara2013-10-211-1/+0
| | | | Change-Id: I8ed341aeef90584dfc545a794f999e3adc08dd72
* New constructor that takes both numeric and string arrays.Kohei Yoshida2013-10-181-0/+1
| | | | Change-Id: I9c48f340a0349e5f1ba772fcd783924c79b07616
* More eye-pleasing way of checking for valid vector array...Kohei Yoshida2013-10-181-0/+2
| | | | Change-Id: If2f47a7d98a4cbc9e09dc98c1bb0e11f8f889265
* Allow vector array tokens to store both numeric and string values.Kohei Yoshida2013-10-181-6/+20
| | | | | | | This is achieved by storing two physical arrays in each vector reference array. Change-Id: Iafb9e57b86e57e75eed8ff692a6d882c2049f710
* fdo#70000 add support for COVARIANCE.P and COVARIANCE.S functionsWinfried Donkers2013-10-182-1/+5
| | | | | | | | | | | | | 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>
* Formula tokens, formula cells and formula interpreters to use shared strings.Kohei Yoshida2013-10-111-20/+15
| | | | Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
* convert remains of String to OUString in formula moduleNoel Grandin2013-10-011-3/+1
| | | | Change-Id: Ieca67b54535a6e11ba8fc20f6d02c501f6b7affd
* Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara2013-09-254-10/+10
| | | | Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
* remove OUStringHashCode in favor of OUStringHashCaolán McNamara2013-09-171-10/+2
| | | | | | | (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
* convert the resust of include/formula/FormulaCompiler.hxx to OUStringNoel Grandin2013-09-171-8/+8
| | | | Change-Id: I7cbc371e90869c481a23450722a1a025b110b235
* convert formula::OpCodeHashMap from String to OUStringNoel Grandin2013-09-171-11/+11
| | | | Change-Id: Iabf95a16cc4df3a612b90ed9e07f2216f72bb976
* convert aCorrectedFormula in formula::FormulaCompiler to OUStringNoel Grandin2013-09-171-1/+1
| | | | Change-Id: I048ec33effc33e94943f5110d6a9a0937a1dfdfe
* convert formula::FormulaCompiler::OpCodeMap from String to OUStringNoel Grandin2013-09-171-6/+10
| | | | | | | | | | ..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
* convert aCorrectedSymbol in formula::FormulaCompiler from String to OUStringNoel Grandin2013-09-171-1/+3
| | | | Change-Id: I426b305fb8befffe0452e280d2097b6560843eef
* convert include/formula/IFunctionDescription.hxx from String to OUStringNoel Grandin2013-09-171-5/+5
| | | | Change-Id: Ie3d3a3a55b50fe0dcac6be70fcce01fa544c374f
* convert include/formula/formdata.hxx from String to OUStringNoel Grandin2013-09-171-16/+16
| | | | Change-Id: Ic5543744700a47e796178d664a710c1ea4faada0
* convert include/formula/formula.hxx from String to OUStringNoel Grandin2013-09-171-11/+11
| | | | Change-Id: Id3c1dfa97805dfa3a1978cd264380d5ef4a2287a
* convert include/formula/formulahelper.hxx from String to OUStringNoel Grandin2013-09-171-7/+7
| | | | Change-Id: I4ab7595cecede03b4ad2a4b9dbe373e67c2912f4
* introduced putCopyOpCode() to handle copyFrom()Eike Rathke2013-09-171-1/+16
| | | | | | ... and added bOverrideKnownBad handling Change-Id: I1b669771ec1aa0cdfa1c1bef0bcfccfad96fe727
* Correctly handle empty cells for string arrays too.Kohei Yoshida2013-09-101-2/+2
| | | | | | | | 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
* iString to OUString in some calc core codeMarkus Mohrhard2013-09-072-19/+19
| | | | Change-Id: I25fc70cfd01f5ad25f7362157796d3ddf06139e1
* Allow storage of string arrays in vector ref tokens.Kohei Yoshida2013-09-061-5/+20
| | | | Change-Id: Id2bc5a0343afeae387d896a9c369586a13081cd5
* Remove more unused methodsMarcos Paulo de Souza2013-09-031-1/+0
| | | | | | | Change-Id: I79548f9dd1b83ef940e7a1302cf7b728610fed4a Reviewed-on: https://gerrit.libreoffice.org/5757 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Add GRAM_ENGLISH_XL_OOX as supportedJulien Nabet2013-08-291-0/+1
| | | | | | | | See comment //! When adding new values adapt isSupported() below as well of this same file @Eike: ;-) Change-Id: Ifa70be0d88208499bef809cc234c86cb6045bcd3
* make this less error proneEike Rathke2013-08-141-2/+2
| | | | Change-Id: Ic349d1db5f63b0a2b6ba19eece630d831a912292
* corrected SC_OPCODE_STOP_2_PAR and SC_OPCODE_LAST_OPCODE_IDEike Rathke2013-08-141-9/+9
| | | | | | | | | 0946de1e2fbf8bd5ad3919429f648359d4464eca did not adapt SC_OPCODE_STOP_2_PAR and adapted SC_OPCODE_LAST_OPCODE_ID wrongly; LEFTB, LENB, MIDB and RIGHTB didn't work, didn't show up in the Function Wizard's Structure tab and also weren't saved to .xlsx Change-Id: I8d31c8c931e40d84e265bf80f76352f5a7190377
* XubString->OUStringCaolán McNamara2013-08-131-1/+1
| | | | Change-Id: I1db6254b23c5203c20c168989656d320f86a3bb9
* XubString->OUStringCaolán McNamara2013-08-121-1/+1
| | | | Change-Id: Ibcb2dd5861ad14e286596999b757ca5c41137626
* remove last uses of XubString in scCaolán McNamara2013-08-021-1/+1
| | | | Change-Id: I44c42f0268b0d7c2e77ab7e807610d39b7b7ea56
* resolved fdo#35411 redefined MAXCODE 512 to FORMULA_MAXTOKENS 8192Eike Rathke2013-07-021-2/+2
| | | | | | | | | | | Also renamed MAXJUMPCOUNT to FORMULA_MAXJUMPCOUNT but without changing the value as the runtime array size of ocChose depends on it, should be changed before. Eliminated the duplicated and error causing redefinition of both in sc/inc/compiler.hxx Change-Id: I0e87d1439c9564a4f475fcb2870ab51c3b586942
* add initial version of WEBSERVICE functionMarkus Mohrhard2013-06-162-2/+4
| | | | Change-Id: I8a835278c0d1b8f3a463aa5765b145410605aba4
* inital work on FILTERXML functionMarkus Mohrhard2013-06-162-2/+4
| | | | Change-Id: Ifb884a52b275df818812f8be6cd7650dcb97849d
* Resolves: #i121120 Support RightB(), LeftB(), LenB() and MidB()Wang Lei2013-06-112-2/+10
| | | | | | | | | | | | | | | | | Patch by: Zhang Lu Review by: Wang Lei (cherry picked from commit 424079cb8348d77e40f7d3291578bdffbe662f34) Conflicts: formula/inc/formula/compiler.hrc formula/inc/formula/opcode.hxx oox/source/xls/formulabase.cxx sc/inc/helpids.h sc/util/hidother.src sc/util/makefile.mk Change-Id: Ia04aa69aa2764842507b36ba7cc8c99e99a314e9
* XubString->OUStringCaolán McNamara2013-06-071-1/+1
| | | | Change-Id: I9404ef0d53a74e09a0db9781d004fcd0c573dd78
* A little more description for the new tokens.Kohei Yoshida2013-04-301-3/+9
| | | | Change-Id: I9b158bd4302a84202447a74ac90cf4e9f760c6a5
* added GRAM_ENGLISH_XL_OOX, FormulaLanguage::XL_ENGLISH with CONV_XL_OOXEike Rathke2013-04-301-0/+5
| | | | Change-Id: Idabf46bfdfa6092b0ae27fe4116382eaa00d5db9
* Handle range references for group calculation. This is still untested.Kohei Yoshida2013-04-301-6/+11
| | | | Change-Id: I1eb1c217db66615028faa85720838579056dc150
* Let's not use VectorArray struct. There is no use for it.Kohei Yoshida2013-04-301-11/+6
| | | | Change-Id: Ic011143206c13fcbc1b3403bf5b7df46c6934899
* Let's not forget to check this in...Kohei Yoshida2013-04-301-0/+4
| | | | | | Curse the sc / formula split... Change-Id: Ib8d17ba63d05eb4df7e6918e0034d91dd82869e3
* Add method to allow fetching of double array, and store it in token.Kohei Yoshida2013-04-301-3/+1
| | | | Change-Id: If094dbf139e18ad23c73d6cf5a78ac4844132b14
* Initial cut on vector formula ref tokens. Not used yet.Kohei Yoshida2013-04-302-0/+62
| | | | Change-Id: I4b28c269759bc01bfc94cfdd6a1c651d03d829c7
* Handle invariant group with single references.Kohei Yoshida2013-04-302-7/+36
| | | | Change-Id: Ifbbac2b11b1023a5cf3d21204c12b9740af09aaf
* execute move of global headersBjoern Michaelsen2013-04-2317-0/+3135
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a