Commit graph

19594 commits

Author SHA1 Message Date
Kohei Yoshida
f6d50b0ebb Make multi-item query possible. 2011-11-14 17:05:59 -05:00
Kohei Yoshida
625025f6c2 Aggregate all these local functions into a class.
This also reduces the number of parameters in each function.
2011-11-14 17:05:59 -05:00
Kohei Yoshida
3b58e5871f Marking methods const where possible. 2011-11-14 17:05:59 -05:00
Kohei Yoshida
05dc62da44 Extracted compare-by-value and compare-by-string into functions. 2011-11-14 17:05:58 -05:00
Kohei Yoshida
51494ab729 Likewise, adjusted the test cases for MATCH to handle mixed comparisons. 2011-11-14 12:07:48 -05:00
Kohei Yoshida
2f61bdff44 Modified VLOOKUP test case to account for mixed comparisons.
When the lookup value is of type Text, and the last match is of type
Number, it should return #N/A according to the ODFF spec.
2011-11-14 11:58:35 -05:00
Kohei Yoshida
ebdd9c3007 Revert "Revert "Removing the mixed comparison flag, which is no longer needed.""
This reverts commit 7d7036c235.
2011-11-14 10:37:47 -05:00
Caolán McNamara
27beae53bf make this a little more pleasing to the eye, logic unchanged 2011-11-14 14:43:30 +00:00
Caolán McNamara
fb754a0df8 original would unconditionally truncate to nLen 2011-11-14 12:19:09 +00:00
Christina Rossmanith
fff1cec87f Remove String::Fill() usage 2011-11-14 11:56:04 +00:00
Caolán McNamara
d6f9f1edc8 ByteString->rtl::OString[Buffer] 2011-11-14 07:35:57 +00:00
Caolán McNamara
0ddc688ab4 stray pointless aByteLine 2011-11-14 07:35:56 +00:00
Stephan Bergmann
c1758889cb Heavily simplified utl::ConfigManager. 2011-11-11 22:49:21 +01:00
Kohei Yoshida
7d7036c235 Revert "Removing the mixed comparison flag, which is no longer needed."
This reverts commit eaea417bfd.
2011-11-11 12:16:06 -05:00
Winfried Donkers
98a10b638a translation of german comments to english plus rename of define MAX_COL_HEIGHT 2011-11-11 15:02:40 +00:00
Stephan Bergmann
19b8dd5ded No need for test/user-template/user/registry. 2011-11-11 13:47:27 +01:00
Caolán McNamara
6ddb02bad5 ByteString->rtl::OString 2011-11-11 11:55:04 +00:00
Stephan Bergmann
f66ac29343 Make .component files directly usable within UNO_SERVICES.
* solenv/bin/createcomponent.xslt simply surrounds it output by <components>.
* solenv/gbuild/CppunitTest.mk got new functions
gb_CppunitTest_add[_old]_component[s] (like their gb_RdbTarget_ predecessors).
* This obsoleted current uses of solenv/gbuild/RdbTarget.mk, which also does not
work currently, as it catenates the input component files instead of passing
them through packcomponents.xslt (which now takes care about the surrounding
<components> in the input).  In the future, it will likely be combined with the
recently added solenv/gbuild/ComponentsTarget.mk.
2011-11-11 10:53:23 +01:00
Kohei Yoshida
eaea417bfd Removing the mixed comparison flag, which is no longer needed.
This flag was introduced years ago to deal with Excel's behavior on
incorrectly sorted data range. But later versions of Excel no longer
follow that behavior & keeping this flag would make the evaluation
code unnecessarily more complex & hard to adopt to multi-item matching.
2011-11-10 15:45:53 -05:00
Kohei Yoshida
e67181c0f1 Re-enabled textural in-exact comparison in unit test for MATCH.
It was the code that checks for the VBA mode that was throwing the
exception.
2011-11-10 15:26:10 -05:00
Eike Rathke
7fd6237966 sal_Bool to bool 2011-11-10 15:54:49 +01:00
Eike Rathke
38f46105e9 sal_Bool to bool 2011-11-10 15:54:49 +01:00
Eike Rathke
d0aedf87a6 sal_Bool to bool 2011-11-10 15:54:48 +01:00
Eike Rathke
bdb2df3820 Fixed fdo#36247 mismatch between drawing layer and cell grid
* Ensure that the drawing layer's map mode scaling factors match the new
  heights and widths after resize.
2011-11-10 15:54:47 +01:00
Tim Hardeck
59445b80e7 removed leftovers of the Simple Handles option
Removed leftovers of the Simple Handles option which weren't
delete by the previous patch.
2011-11-10 14:28:57 +00:00
Laurent Godard
1833e05aeb ScRangeData aName to OUString 2011-11-10 05:20:35 +01:00
Kohei Yoshida
0f6bb1763f Added text values to the mix.
Textural evaluations throw an UNO exception, however.  I need to look
into this.
2011-11-09 17:36:09 -05:00
Kohei Yoshida
ecea4e54e1 Added new unit test for MATCH function.
Only ascending and descending in-exact matches for now.
2011-11-09 17:36:08 -05:00
Kohei Yoshida
4c53798989 Devided built-in cell function tests into separate functions. 2011-11-09 17:36:08 -05:00
Daisuke Nishino
ff9fab243b Removed SvStringsSortDtor 2011-11-09 16:52:56 +00:00
Kohei Yoshida
02b368e392 Reduced scoping. 2011-11-09 10:12:50 -05:00
Kohei Yoshida
bee2c41e76 sal_Bool to bool. 2011-11-09 10:06:55 -05:00
Kohei Yoshida
696fb8582f Fixed the wrong keyboard selection behavior in reference mode.
This one is pretty bad, especially for those who like to select
ranges using keyboard.
2011-11-08 20:46:16 -05:00
Kohei Yoshida
5d1a991692 Test case for VLOOKUP (in-exact lookup on sorted range). 2011-11-08 17:16:59 -05:00
Kohei Yoshida
b45ef26980 Added test for COUNTIF. 2011-11-08 17:16:59 -05:00
Kohei Yoshida
6303b977ed Put each function test in a separate scope, just to be consistent... 2011-11-08 17:16:59 -05:00
Kohei Yoshida
5d1052ce60 String to rtl::OUString. 2011-11-08 11:01:40 -05:00
Tim Hardeck
ec4f69493b removed Simple Handles option
Removed the unnecessary option "Simple Handles" with all related
functions and icons.
2011-11-08 16:39:14 +01:00
Caolán McNamara
e6c7a339c4 exclude windows for now as well 2011-11-08 13:16:44 +00:00
Caolán McNamara
a97b76604f xsec_xmlsec component filename is different under windows 2011-11-08 12:15:35 +00:00
Andras Timar
a2dacd9205 remove empty Text [ x-comment ] entries 2011-11-08 11:28:33 +01:00
Kohei Yoshida
128f280839 These are no longer needed. 2011-11-07 23:39:04 -05:00
Kohei Yoshida
43a98be551 No need to include this header. 2011-11-07 22:58:18 -05:00
Kohei Yoshida
5897d4a60f Encapsulated empty and non-empty filter criteria.
Because those two conditions were not very obvious.
2011-11-07 22:56:53 -05:00
Markus Mohrhard
4687fe4917 fdo#36100: show blink borders for cut like we do for copy 2011-11-08 04:51:44 +01:00
Markus Mohrhard
0405deaf2d we only have one sheet in the new PostIt test 2011-11-08 04:51:43 +01:00
Kohei Yoshida
a3ddd330bd Test for filtering empty and non-empty cells. 2011-11-07 21:34:03 -05:00
Kohei Yoshida
cbe46bbe3e Simplified the filter test a bit, and clear the filter afterward. 2011-11-07 21:34:03 -05:00
Kohei Yoshida
97453f1eab Another bug. 2011-11-07 21:33:03 -05:00
Kohei Yoshida
5f31abed9d Fixed a silly bug. 2011-11-07 21:33:03 -05:00