Commit Graph

306 Commits

Author SHA1 Message Date
a29d20932c add initial version of WEBSERVICE function
Change-Id: I8a835278c0d1b8f3a463aa5765b145410605aba4
2013-06-16 16:07:37 +02:00
3b9620e18b inital work on FILTERXML function
Change-Id: Ifb884a52b275df818812f8be6cd7650dcb97849d
2013-06-16 15:59:06 +02:00
0946de1e2f Resolves: #i121120 Support RightB(), LeftB(), LenB() and MidB()
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-11 12:30:10 +01:00
4129130cab XubString->OUString
Change-Id: I9404ef0d53a74e09a0db9781d004fcd0c573dd78
2013-06-07 15:36:21 +01:00
8a9448aabc String.AppendAscii Drop
Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
https://gerrit.libreoffice.org/#/c/3892/

Change-Id: I12175a81f0a74546b5e00633176f204b9a3fb35c
2013-05-15 15:58:17 +02:00
e2e2cc6114 remove usage of RTL_CONSTASCII_USTRINGPARAM
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.

Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06 16:51:45 +02:00
e38d20c1e1 Handle range references for group calculation. This is still untested.
Change-Id: I1eb1c217db66615028faa85720838579056dc150
2013-04-30 13:10:44 -04:00
dfc3f290b5 Let's not use VectorArray struct. There is no use for it.
Change-Id: Ic011143206c13fcbc1b3403bf5b7df46c6934899
2013-04-30 13:10:43 -04:00
ee289aaf45 Let's not forget to check this in...
Curse the sc / formula split...

Change-Id: Ib8d17ba63d05eb4df7e6918e0034d91dd82869e3
2013-04-30 13:10:42 -04:00
20d4db0fe3 Add method to allow fetching of double array, and store it in token.
Change-Id: If094dbf139e18ad23c73d6cf5a78ac4844132b14
2013-04-30 13:10:41 -04:00
7fb73a8475 Initial cut on vector formula ref tokens. Not used yet.
Change-Id: I4b28c269759bc01bfc94cfdd6a1c651d03d829c7
2013-04-30 13:10:41 -04:00
1cc9bbfd57 gbuild: drop empty use_packages calls
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f
Reviewed-on: https://gerrit.libreoffice.org/3503
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:18:15 +00:00
c042cd05e9 gbuild: drop uses of removed packages
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac
Reviewed-on: https://gerrit.libreoffice.org/3502
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24 05:18:03 +00:00
b9337e22ce execute move of global headers
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details

Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23 22:20:31 +02:00
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
02179ab7e7 stash the label widget for shrink mode in the edit, not the button
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-17 10:25:10 +01:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
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-04-07 14:23:11 +02:00
876c619b94 new module i18nlangtag
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
2013-04-05 19:10:48 +02:00
5be14df244 ResMgr with LanguageTag
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-29 14:09:01 +01:00
aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
292ffa80bc First cut on checking the token array on whether we could do vectorization.
Not tested yet.

Change-Id: I87f8a8595229d8d8e83526dc0334891d253cf2c7
2013-03-19 13:40:24 -04:00
3a09e0078a Use initializer in ctor.
Change-Id: I2721c083e26654f5ce5cc636d652cb4d50a158ad
2013-03-19 13:40:24 -04:00
0a0deec6f1 Fix indentation.
Change-Id: Ia277ac4e9eeb34a2b0244ebb5f09c428f5cf2b64
2013-03-19 13:40:24 -04:00
198a722974 Move GetHash() from FormulaTokenArray to ScTokenArray.
To allow access to reference tokens.

Change-Id: I3e2d2653722005c04b6d26e1a4ddfce0a459ef37
2013-03-19 13:40:23 -04:00
6433ab29af Implement (partially?) and test formula token array hash function.
For now, we don't factor in any differences in reference tokens in the
generated hash values.

Change-Id: Ie9836228eaad9c74edd884c3e8c4b273979760fd
2013-03-19 13:40:22 -04:00
fa81354d0e Skeleton for generating a hash value from an array of token.
To be implemented...

Change-Id: I4704f06b50dcc9dd5e1af9c3531ecd498015811c
2013-03-19 13:40:21 -04:00
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
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-19 09:00:26 +00:00
79b0046ba0 remove legacy build.pl prj/build.lst files. 2013-03-14 17:05:51 +00:00
a0296296fb fdo#60691 add modelines to *.src and *.hrc files
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-08 21:02:26 +00:00
213524cf5a make link RefButton and widget for shrunk dialog title explicit
Change-Id: Ia6dd6cc4cf89b067310639bc3da72abbc6fa1ad2
2013-03-08 13:42:32 +00:00
4e0c6a0ac7 Resolves: fdo#58630 crash with refEdit button in SfxTabDialog
Change-Id: I11d6a0f1d4852aab1fe08671fd9c2a0dac0825a7
2013-03-08 13:42:32 +00:00
a6b9173005 fdo#60148 Clean up warnings from the Clang compiler plugin
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-06 12:59:26 +00:00
a9b33fc304 make formula refButton and refEdit loadable from .ui
Change-Id: I2ad13cd8de2c0f8f5672a30c3c1117708368b05f
2013-03-05 14:28:41 +00:00
edef1887ff make RefButton quick help toggle saying shrink/expand
Change-Id: Id5b5518a0cb3982ebc398e57499c5c240ee7d683
2013-03-05 12:35:29 +00:00
26e37ca4c7 doubled includes
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04 13:58:40 +01:00
b768611724 remove all d.lst
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
a11f944b4c ocMacro and ocExternal need to be recalculated on load, fdo#60977
Change-Id: I9e69ca2feae44bc645e8a49e349557f0933a23eb
2013-02-25 08:16:31 +01:00
89003e9bd8 loplugin: unused variables
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
2013-02-25 03:14:01 +01:00
d5caf6898b loplugin: unused variables
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-24 17:44:31 +01:00
61c72ef4be ocColumn and ocRow do not need recalc on load, fdo#60645 related
Change-Id: I34fc7af10aca3484d30b443c6b0257451a218ed5
2013-02-15 14:16:14 +01:00
a60712be0e renamed SetRecalcMode...() to SetExclusiveRecalcMode...()
To emphasize exclusiveness of the four basic recalc modes renamed the
corresponding methods.

Change-Id: If6f99d2c84e4a042a3a3e3640cf416d306a2d0c5
2013-02-15 13:57:27 +01:00
ff319d0526 use AddRecalcMode(RECALCMODE_ONLOAD), fdo#60645 related
Instead of SetRecalcModeOnLoad() which sets the exclusive bit overriding
RECALCMODE_ALWAYS use AddRecalcMode() that handles these cases.

Change-Id: Ieeeff67d4dda1493e8c48f231b870513f655839a
2013-02-15 13:57:27 +01:00
9c55eab030 CELL needs to be recalculated during import as well, fdo#60645
Change-Id: If981199f01d4b33270d82c65fb033fa51222fb62
2013-02-14 21:50:27 +01:00
df931a5b0f fdo#60322 add calc function SKEWP as in ODFF v1.2
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-02-08 09:50:20 +00:00
39518d155e remove a useless PMD report, possibly checked in by mistake
Change-Id: Ia3ce43629346c6c705ea6f0aff8e3002b420913b
2013-02-06 14:51:42 +01:00
5acf58bbde remove obsolete hidother.src files
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-02-06 14:51:42 +01:00
06b8f15c8d fdo#57180 add calc function NUMBERVALUE as defined in ODFF1.2
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>
2013-02-02 16:51:23 +00:00
63e3d8671e make it possible to update DDE links after loading, fdo#59032
Change-Id: Iba49bec62cb9081cdcd9410215f269b59c1be304
2013-01-30 22:10:05 +01:00
8f9cb3dddd ODFF: write RRI as RRI, not ZGZ
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-30 01:49:31 +01:00
a53586f4ef gbuild: do not copy boost headers around
- 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
2013-01-26 22:20:06 +01:00