Commit graph

22571 commits

Author SHA1 Message Date
Kohei Yoshida
ac211cd143 More work on ScRangeName re-work... 2011-03-05 15:21:07 -05:00
Kohei Yoshida
ef5b262fd5 Started re-working ScRangeName to use ptr_map instead of own container. 2011-03-05 15:21:07 -05:00
Caolán McNamara
8dd04b2bdc work around compiler problem 2011-03-05 10:53:39 +00:00
Christina Rossmanith
26524ba0d1 Removed /* ### ACHTUNG: Neuer Text in Resource? - lines from calc 2011-03-05 08:40:50 +01:00
Kohei Yoshida
6299330c2a Unit test for text and text number inputs. 2011-03-04 20:27:33 -05:00
Caolán McNamara
1b9fc8e85d Workaround dodgy compiler problem.
Bad parse from gcc-4.6.0 of...
pvfundlg.cxx: In function 'bool lclFillListBox(ListBoxType&, const com::sun::uno::Sequence<rtl::OUString>&, USHORT) [with ListBoxType = ListBox, USHORT = short unsigned int]':
pvfundlg.cxx:699:60:   instantiated from here
pvfundlg.cxx:74:55: error: invalid use of 'com::sun::uno::Sequence< <template-parameter-1-1> >::getConstArray [with E = rtl::OUString]' to form a pointer-to-member-function
pvfundlg.cxx:74:55: note:   a qualified-id is required
pvfundlg.cxx:74: confused by earlier errors, bailing out
2011-03-04 20:29:03 +00:00
Ingrid Halama
2e2bd7aab7 chart55: #i117183# bad autoscaling for date axis 2011-03-04 20:28:00 +01:00
Ingrid Halama
6b4fa7ab87 chart55: #i117185# correct object size 2011-03-04 20:16:58 +01:00
Kohei Yoshida
747cfc8a84 Oops. 2011-03-04 13:36:05 -05:00
Kohei Yoshida
56fbd3f75b Don't strip the first apostrophe from a text input. (fdo#34260)
Also removed the abuse of this behavior during datapilot output
construction.  Thanks largely to the unit test. :-)
2011-03-04 13:31:38 -05:00
Kohei Yoshida
02c94d293d Better error output in case something goes wrong during unit test. 2011-03-04 13:27:11 -05:00
Kohei Yoshida
58310ae426 Reduced indent level by early bail out. 2011-03-04 12:29:21 -05:00
Kohei Yoshida
f820e9b5ac BOOL to bool. 2011-03-04 12:26:52 -05:00
Ingrid Halama
e3e1ee8f96 chart55: #i117207# wrong layout with empty titles 2011-03-04 11:59:28 +01:00
Kohei Yoshida
c7a631d252 Check for the value being outside the numeric limit of 32-bit int. 2011-03-03 21:55:38 -05:00
Jan Holesovsky
f9f98386b2 findbar: Add the findbar to the menus above the Search dialog. 2011-03-03 23:56:25 +01:00
Kohei Yoshida
5f7dc0d4c7 Support external references in a whole bunch of other functions.
GetMatrix() now returns a matrix instance even from external single
and double ref tokens.  Let's use this to easily add support for
external refs to several functions at once.
2011-03-03 17:45:33 -05:00
Kohei Yoshida
251bb12036 Handle external references in LOOKUP, HLOOKUP and VLOOKUP. (fdo#33426) 2011-03-03 17:32:46 -05:00
Kohei Yoshida
2abcba4fb4 Support external reference range for INDEX function. (fdo#34938) 2011-03-03 17:10:29 -05:00
Kohei Yoshida
1deb3778ca I forgot to say that the last commit was signed off by Thorsten.
Commit hash: e301739e4439be4214de0ff9b1bd6c2142d6806e
Signed-off-by: Thorsten Behrens <thb@documentfoundation.org>
2011-03-03 14:31:41 -05:00
Kohei Yoshida
4ac51b9cd2 Fixed incorrect cursor navigation. (fdo#33756)
Block selection with keyboard was incorrect when the selected range
included hidden cells.  This also fixes one crasher on block
selection during formula reference mode i.e. type '=SUM(' and select
range via keyboard afterward.
2011-03-03 14:23:03 -05:00
Kohei Yoshida
e418258a4a Better fix for fdo#31939.
Turns out that the token array's recalc mode is set to "recalc always"
when it contains a volatile token during compilation.  We can re-use
that to mark the token array volatile before the interpretation starts.
The end result is the same, with better performance since we can avoid
re-scanning of the token array.

Signed-off-by: Michael Meeks <michael.meeks@novell.com>
2011-03-03 10:26:46 -05:00
Kohei Yoshida
a0ce81d25f Go through all tokens to look for a volatile one. (fdo#31939)
When a volatile token is inside a conditional function (such as IF),
*and* the evaluation of that conditional skips the volatile token
it would incorrectly mark the cell non-volatile.  The solution is
to scan through all tokens in the token array in the beginning of
the calculation and mark the cell volatile if one is found.
2011-03-03 10:26:14 -05:00
Ingrid Halama
15e9295ad8 chart55: #117185# legend entries get lost after moving the legend 2011-03-03 12:06:51 +01:00
iha
7f7df1e785 chart55: #117183# bad autoscaling for date axis 2011-03-03 11:37:57 +01:00
Kohei Yoshida
f8c96ac67e Added new test for volatile function NOW wrapped inside IF.
Inspired by fdo#31939.
2011-03-03 01:09:24 -05:00
Kohei Yoshida
ababcf5570 Better fix for fdo#31939.
Turns out that the token array's recalc mode is set to "recalc always"
when it contains a volatile token during compilation.  We can re-use
that to mark the token array volatile before the interpretation starts.
The end result is the same, with better performance since we can avoid
re-scanning of the token array.
2011-03-02 21:33:09 -05:00
Kohei Yoshida
24cbd0a4d1 Go through all tokens to look for a volatile one. (fdo#31939)
When a volatile token is inside a conditional function (such as IF),
*and* the evaluation of that conditional skips the volatile token
it would incorrectly mark the cell non-volatile.  The solution is
to scan through all tokens in the token array in the beginning of
the calculation and mark the cell volatile if one is found.
2011-03-02 20:44:56 -05:00
Kohei Yoshida
d022492ef9 Actually this will just do.... 2011-03-02 19:16:14 -05:00
Kohei Yoshida
3e6eb38766 Fixed the "jump to precedents" and "jump to dependents" functions. 2011-03-02 19:10:17 -05:00
Kohei Yoshida
9a6e2a0af3 No auto decimal adjustment when in "show formula" mode. (fdo#33665) 2011-03-02 18:09:36 -05:00
Kohei Yoshida
2daf897af6 Make sure these values are positive; we use them to resize arrays.
This fixes fdo#34350.
2011-03-02 16:14:54 -05:00
iha
341b1c22be chart55: #i112752# warning error 2011-03-02 22:04:54 +01:00
Guillaume Poussel
e9110d56c1 Remove bogus comments. 2011-03-02 21:32:23 +01:00
Guillaume Poussel
68d51d0040 Remove bogus comments. 2011-03-02 21:32:22 +01:00
Kohei Yoshida
56addc9890 Remove comment that's no longer true. 2011-03-02 14:43:56 -05:00
Kohei Yoshida
71872ffe74 We need to populate the cache with all sheet names even for in-memory doc.
This fixes fdo#34356 and fdo#34853.
2011-03-02 14:41:52 -05:00
Thomas Arnhold
9340d8fbe2 Remove diff stuff 2011-03-02 16:39:01 +01:00
Thomas Arnhold
a6e69f8fcd Move DBG_ERROR to OSL_FAIL 2011-03-02 14:58:56 +01:00
Caolán McNamara
775a632985 confirmed works under windows 2011-03-02 10:55:05 +00:00
Thomas Benisch [tbe]
57bc751b0a chart55: #i112752# missing data change updates from calc to chart 2011-03-02 10:55:17 +01:00
Kohei Yoshida
b8c551652b Replaced String with rtl::OUString. 2011-03-01 22:50:13 -05:00
Kohei Yoshida
0a36f0bad4 Hooray! No more ScfRefMap. 2011-03-01 20:59:46 -05:00
Kohei Yoshida
ceeabc7170 Another one on ScfRefMap to std::map conversion.
Is this the last one?
2011-03-01 20:52:26 -05:00
Kohei Yoshida
9ca9075d32 More on ScfRefMap to std::map conversion. 2011-03-01 20:49:29 -05:00
Kohei Yoshida
8323e33102 These ones are best converted to std::map. 2011-03-01 20:44:18 -05:00
Kohei Yoshida
422c348776 Another one on ScfRefMap to boost::ptr_map conversion. 2011-03-01 20:33:46 -05:00
Kohei Yoshida
f369679dcc More on ScfRefMap to boost::ptr_map. 2011-03-01 20:13:40 -05:00
Kohei Yoshida
070a499b5c Replaced another use of ScfRefMap with ptr_map. 2011-03-01 19:53:55 -05:00
Kohei Yoshida
dac3d1311b Replace use of ScfRefMap with boost::ptr_map. 2011-03-01 18:35:29 -05:00