summaryrefslogtreecommitdiff
path: root/formula/source
AgeCommit message (Collapse)Author
2013-07-22fdo#46037: no more comphelper/configurationhelper.hxx in formula moduleJulien Nabet
Change-Id: I6ed4af811d96cb0ddbb2093d6627d4d39836a033
2013-07-02resolved fdo#35411 redefined MAXCODE 512 to FORMULA_MAXTOKENS 8192Eike Rathke
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
2013-06-16add initial version of WEBSERVICE functionMarkus Mohrhard
Change-Id: I8a835278c0d1b8f3a463aa5765b145410605aba4
2013-06-16inital work on FILTERXML functionMarkus Mohrhard
Change-Id: Ifb884a52b275df818812f8be6cd7650dcb97849d
2013-06-11Resolves: #i121120 Support RightB(), LeftB(), LenB() and MidB()Wang Lei
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
2013-06-07XubString->OUStringCaolán McNamara
Change-Id: I9404ef0d53a74e09a0db9781d004fcd0c573dd78
2013-05-15String.AppendAscii DropRicardo Montania
Signed-off-by: Luboš Luňák <l.lunak@suse.cz> https://gerrit.libreoffice.org/#/c/3892/ Change-Id: I12175a81f0a74546b5e00633176f204b9a3fb35c
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-04-30Handle range references for group calculation. This is still untested.Kohei Yoshida
Change-Id: I1eb1c217db66615028faa85720838579056dc150
2013-04-30Let's not use VectorArray struct. There is no use for it.Kohei Yoshida
Change-Id: Ic011143206c13fcbc1b3403bf5b7df46c6934899
2013-04-30Let's not forget to check this in...Kohei Yoshida
Curse the sc / formula split... Change-Id: Ib8d17ba63d05eb4df7e6918e0034d91dd82869e3
2013-04-30Add method to allow fetching of double array, and store it in token.Kohei Yoshida
Change-Id: If094dbf139e18ad23c73d6cf5a78ac4844132b14
2013-04-30Initial cut on vector formula ref tokens. Not used yet.Kohei Yoshida
Change-Id: I4b28c269759bc01bfc94cfdd6a1c651d03d829c7
2013-04-17stash the label widget for shrink mode in the edit, not the buttonCaolán McNamara
because we always have we a refedit, but sometimes not a refbutton, so set the label widget to use for the dialog shrink mode on the refedit instead of the refbutton. This way we get the shrunken dialog title bar updated with the label contents regardless of using the shrink button or clicking in the editbox and dragging the mouse around the spreadsheet triggering the shrink mode Change-Id: Ifdff01a30d5c65aa964d4bf544017a2927757d67
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-29ResMgr with LanguageTagEike Rathke
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-19First cut on checking the token array on whether we could do vectorization.Kohei Yoshida
Not tested yet. Change-Id: I87f8a8595229d8d8e83526dc0334891d253cf2c7
2013-03-19Use initializer in ctor.Kohei Yoshida
Change-Id: I2721c083e26654f5ce5cc636d652cb4d50a158ad
2013-03-19Fix indentation.Kohei Yoshida
Change-Id: Ia277ac4e9eeb34a2b0244ebb5f09c428f5cf2b64
2013-03-19Move GetHash() from FormulaTokenArray to ScTokenArray.Kohei Yoshida
To allow access to reference tokens. Change-Id: I3e2d2653722005c04b6d26e1a4ddfce0a459ef37
2013-03-19Implement (partially?) and test formula token array hash function.Kohei Yoshida
For now, we don't factor in any differences in reference tokens in the generated hash values. Change-Id: Ie9836228eaad9c74edd884c3e8c4b273979760fd
2013-03-19Skeleton for generating a hash value from an array of token.Kohei Yoshida
To be implemented... Change-Id: I4704f06b50dcc9dd5e1af9c3531ecd498015811c
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08make link RefButton and widget for shrunk dialog title explicitCaolán McNamara
Change-Id: Ia6dd6cc4cf89b067310639bc3da72abbc6fa1ad2
2013-03-08Resolves: fdo#58630 crash with refEdit button in SfxTabDialogCaolán McNamara
Change-Id: I11d6a0f1d4852aab1fe08671fd9c2a0dac0825a7
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-05make formula refButton and refEdit loadable from .uiCaolán McNamara
Change-Id: I2ad13cd8de2c0f8f5672a30c3c1117708368b05f
2013-03-05make RefButton quick help toggle saying shrink/expandCaolán McNamara
Change-Id: Id5b5518a0cb3982ebc398e57499c5c240ee7d683
2013-02-25ocMacro and ocExternal need to be recalculated on load, fdo#60977Markus Mohrhard
Change-Id: I9e69ca2feae44bc645e8a49e349557f0933a23eb
2013-02-25loplugin: unused variablesThomas Arnhold
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
2013-02-24loplugin: unused variablesThomas Arnhold
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-15ocColumn and ocRow do not need recalc on load, fdo#60645 relatedEike Rathke
Change-Id: I34fc7af10aca3484d30b443c6b0257451a218ed5
2013-02-15renamed SetRecalcMode...() to SetExclusiveRecalcMode...()Eike Rathke
To emphasize exclusiveness of the four basic recalc modes renamed the corresponding methods. Change-Id: If6f99d2c84e4a042a3a3e3640cf416d306a2d0c5
2013-02-15use AddRecalcMode(RECALCMODE_ONLOAD), fdo#60645 relatedEike Rathke
Instead of SetRecalcModeOnLoad() which sets the exclusive bit overriding RECALCMODE_ALWAYS use AddRecalcMode() that handles these cases. Change-Id: Ieeeff67d4dda1493e8c48f231b870513f655839a
2013-02-14CELL needs to be recalculated during import as well, fdo#60645Markus Mohrhard
Change-Id: If981199f01d4b33270d82c65fb033fa51222fb62
2013-02-08fdo#60322 add calc function SKEWP as in ODFF v1.2Winfried Donkers
Change-Id: I4851df1473fc7788af1ac642bb0fb527ec872821 Reviewed-on: https://gerrit.libreoffice.org/2020 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-01-30make it possible to update DDE links after loading, fdo#59032Markus Mohrhard
Change-Id: Iba49bec62cb9081cdcd9410215f269b59c1be304
2013-01-30ODFF: write RRI as RRI, not ZGZEike Rathke
ODF OpenFormula defines the function RRI, the legacy OOo XML format stored that as ZGZ but that was not changed for the ODFF implementation. Correctly read/write RRI now but still accept ZGZ to be able to load existing documents. See also http://docs.oasis-open.org/office/v1.2/cs01/OpenDocument-v1.2-cs01-part2.html#RRI Change-Id: I617eaa37ff483e9a02a218e8432ba918f54bd61a
2013-01-24restore the helpid for impress animation dialog after initializationCaolán McNamara
Document and centralize the uses of undoing the helpid clear after helpid->uniqueid hack Change-Id: I4e651235407a0eca26dc0acfc089ef8f8ce57b13
2013-01-22fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac
Also used the new OUString::number(...) methods. Change-Id: I3174c43d56d1ae359901bb8a13fe0096f2c74808 Reviewed-on: https://gerrit.libreoffice.org/1766 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith
replaced lots of Len() with isEmpty() Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0 Reviewed-on: https://gerrit.libreoffice.org/1795 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-12fdo#56124 IFERROR IFNA Excel import/exportEike Rathke
Change-Id: I796e99f8893cb48fa2351f7799bb247a3488ce69
2013-01-11fdo#56124 IFERROR IFNA function names were swappedEike Rathke
Change-Id: I3d13ab04b126a3268352df93a7ed4a35d7a085f2
2013-01-11fdo#56124 changes to "add functions IFERROR and IFNA"Eike Rathke
* reimplemented actual ScIfError() function for matrix cases and simpler pop/push of non-error values * various smaller adaptions, see also inline comments of https://gerrit.libreoffice.org/1522 Change-Id: I80a8235a2cbb548c0ef993862e76741af46e30d2
2013-01-11fdo#56124 add functions IFERROR and IFNA to calc as in ODFF1.2Winfried Donkers
Change-Id: I6403b51ac8c710ad3b8d2625e1482971f50e6b1d
2013-01-09fdo#58539: Correctly set cached matrix formula result.Kohei Yoshida
During the import, a cached matrix value only has an empty matrix of correct geometry, plus the token type of the top-left cell. The rest of the elements are imported as hybrid values. For now, this seems to do the trick. In the future we may want to change it to fully populate the matrix cache value during the import, and skip setting the hybrid values for the non-top-left elements. This commit also make several other trivial changes: * Mark pRawToken mutable so that we can mark those IsFoo() methods const. * Move the ScCompiler instance from static instance to member of ScXMLImport. Since we don't need the instance to persist once the import is over, this is more appropriate. Change-Id: I1abde03c0fcd91b02ef4dbf8b5526f7965eaf19c
2012-12-22Some cppcheck cleaning in formulaJulien Nabet
Change-Id: I410ab7bbd74b616fcb0a3ed3b0c917cebeac23c6
2012-12-15tabs to spacesEike Rathke
Change-Id: Id832383518af0dd77e401e40512a890265b5d83e