summaryrefslogtreecommitdiffstats
path: root/formula
Commit message (Collapse)AuthorAgeFilesLines
* gbuild: drop empty use_packages callsDavid Tardon2013-04-243-9/+0
| | | | | | | Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* gbuild: drop uses of removed packagesDavid Tardon2013-04-243-4/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-2319-3166/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-226-132/+24
|
* stash the label widget for shrink mode in the edit, not the buttonCaolán McNamara2013-04-174-26/+27
| | | | | | | | | | 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
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0715-113/+113
| | | | | | | | 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
* new module i18nlangtagEike Rathke2013-04-052-2/+2
| | | | | | | | | | | Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
* ResMgr with LanguageTagEike Rathke2013-03-292-3/+2
| | | | Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
* -Wunused-macrosStephan Bergmann2013-03-271-1/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* First cut on checking the token array on whether we could do vectorization.Kohei Yoshida2013-03-193-0/+16
| | | | | | Not tested yet. Change-Id: I87f8a8595229d8d8e83526dc0334891d253cf2c7
* Use initializer in ctor.Kohei Yoshida2013-03-191-5/+10
| | | | Change-Id: I2721c083e26654f5ce5cc636d652cb4d50a158ad
* Fix indentation.Kohei Yoshida2013-03-191-1/+1
| | | | Change-Id: Ia277ac4e9eeb34a2b0244ebb5f09c428f5cf2b64
* Move GetHash() from FormulaTokenArray to ScTokenArray.Kohei Yoshida2013-03-192-53/+0
| | | | | | To allow access to reference tokens. Change-Id: I3e2d2653722005c04b6d26e1a4ddfce0a459ef37
* Implement (partially?) and test formula token array hash function.Kohei Yoshida2013-03-191-1/+48
| | | | | | | For now, we don't factor in any differences in reference tokens in the generated hash values. Change-Id: Ie9836228eaad9c74edd884c3e8c4b273979760fd
* Skeleton for generating a hash value from an array of token.Kohei Yoshida2013-03-192-0/+7
| | | | | | To be implemented... Change-Id: I4704f06b50dcc9dd5e1af9c3531ecd498015811c
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-192-5/+5
| | | | | | | | | | | 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>
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|
* fdo#60691 add modelines to *.src and *.hrc filesBorim2013-03-089-0/+24
| | | | | | | | | 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
* make link RefButton and widget for shrunk dialog title explicitCaolán McNamara2013-03-084-21/+26
| | | | Change-Id: Ia6dd6cc4cf89b067310639bc3da72abbc6fa1ad2
* Resolves: fdo#58630 crash with refEdit button in SfxTabDialogCaolán McNamara2013-03-082-2/+6
| | | | Change-Id: I11d6a0f1d4852aab1fe08671fd9c2a0dac0825a7
* fdo#60148 Clean up warnings from the Clang compiler pluginnccuong2013-03-061-1/+0
| | | | | | | | 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>
* make formula refButton and refEdit loadable from .uiCaolán McNamara2013-03-052-2/+35
| | | | Change-Id: I2ad13cd8de2c0f8f5672a30c3c1117708368b05f
* make RefButton quick help toggle saying shrink/expandCaolán McNamara2013-03-054-1/+20
| | | | Change-Id: Id5b5518a0cb3982ebc398e57499c5c240ee7d683
* doubled includesThomas Arnhold2013-03-041-2/+0
| | | | Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* ocMacro and ocExternal need to be recalculated on load, fdo#60977Markus Mohrhard2013-02-251-3/+3
| | | | Change-Id: I9e69ca2feae44bc645e8a49e349557f0933a23eb
* loplugin: unused variablesThomas Arnhold2013-02-251-1/+0
| | | | Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
* loplugin: unused variablesThomas Arnhold2013-02-241-1/+0
| | | | Change-Id: I7fc203900256839e679bf73b717d121fedc42087
* ocColumn and ocRow do not need recalc on load, fdo#60645 relatedEike Rathke2013-02-151-0/+2
| | | | Change-Id: I34fc7af10aca3484d30b443c6b0257451a218ed5
* renamed SetRecalcMode...() to SetExclusiveRecalcMode...()Eike Rathke2013-02-153-12/+13
| | | | | | | To emphasize exclusiveness of the four basic recalc modes renamed the corresponding methods. Change-Id: If6f99d2c84e4a042a3a3e3640cf416d306a2d0c5
* use AddRecalcMode(RECALCMODE_ONLOAD), fdo#60645 relatedEike Rathke2013-02-151-3/+3
| | | | | | | Instead of SetRecalcModeOnLoad() which sets the exclusive bit overriding RECALCMODE_ALWAYS use AddRecalcMode() that handles these cases. Change-Id: Ieeeff67d4dda1493e8c48f231b870513f655839a
* CELL needs to be recalculated during import as well, fdo#60645Markus Mohrhard2013-02-141-0/+2
| | | | Change-Id: If981199f01d4b33270d82c65fb033fa51222fb62
* fdo#60322 add calc function SKEWP as in ODFF v1.2Winfried Donkers2013-02-083-2/+10
| | | | | | | Change-Id: I4851df1473fc7788af1ac642bb0fb527ec872821 Reviewed-on: https://gerrit.libreoffice.org/2020 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* remove a useless PMD report, possibly checked in by mistakeAndras Timar2013-02-061-190/+0
| | | | Change-Id: Ia3ce43629346c6c705ea6f0aff8e3002b420913b
* remove obsolete hidother.src filesAndras Timar2013-02-061-41/+0
| | | | Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
* fdo#57180 add calc function NUMBERVALUE as defined in ODFF1.2Winfried Donkers2013-02-021-1/+1
| | | | | | | | | | | | Conflicts: sc/source/filter/excel/xlformula.cxx sc/source/filter/oox/formulabase.cxx Change-Id: I6ee01764ae9fc27854fd3bd8a630b9d3560192e5 Reviewed-on: https://gerrit.libreoffice.org/1477 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* make it possible to update DDE links after loading, fdo#59032Markus Mohrhard2013-01-301-0/+3
| | | | Change-Id: Iba49bec62cb9081cdcd9410215f269b59c1be304
* ODFF: write RRI as RRI, not ZGZEike Rathke2013-01-301-1/+1
| | | | | | | | | | | | 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
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-262-0/+4
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* restore the helpid for impress animation dialog after initializationCaolán McNamara2013-01-241-3/+2
| | | | | | | Document and centralize the uses of undoing the helpid clear after helpid->uniqueid hack Change-Id: I4e651235407a0eca26dc0acfc089ef8f8ce57b13
* import inherited number formats with cached values, fdo#59724Markus Mohrhard2013-01-241-0/+3
| | | | Change-Id: I698f60daf4e591b57d8d99c130d2e524dc10c306
* fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac2013-01-221-4/+4
| | | | | | | | | 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>
* Changed SetText() / GetText() to take/return OUStringChr. Rossmanith2013-01-211-1/+1
| | | | | | | | | 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>
* fdo#56124 IFERROR IFNA Excel import/exportEike Rathke2013-01-121-0/+2
| | | | Change-Id: I796e99f8893cb48fa2351f7799bb247a3488ce69
* fdo#56124 IFERROR IFNA function names were swappedEike Rathke2013-01-111-2/+2
| | | | Change-Id: I3d13ab04b126a3268352df93a7ed4a35d7a085f2
* fdo#56124 changes to "add functions IFERROR and IFNA"Eike Rathke2013-01-112-15/+57
| | | | | | | | | * 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
* fdo#56124 add functions IFERROR and IFNA to calc as in ODFF1.2Winfried Donkers2013-01-115-36/+66
| | | | Change-Id: I6403b51ac8c710ad3b8d2625e1482971f50e6b1d
* fdo#58539: Correctly set cached matrix formula result.Kohei Yoshida2013-01-092-2/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* Some cppcheck cleaning in formulaJulien Nabet2012-12-222-6/+5
| | | | Change-Id: I410ab7bbd74b616fcb0a3ed3b0c917cebeac23c6
* tabs to spacesEike Rathke2012-12-151-24/+24
| | | | Change-Id: Id832383518af0dd77e401e40512a890265b5d83e