Commit graph

21925 commits

Author SHA1 Message Date
Kohei Yoshida
156962189b Removed unnecessary static cast. 2011-03-11 16:01:35 -05:00
Kohei Yoshida
7c5aa536fb Reduced indent levels by early bail outs. 2011-03-11 16:01:35 -05:00
Kohei Yoshida
970cb4775a Consistent use of types to eliminate static casting. 2011-03-11 16:01:35 -05:00
Kohei Yoshida
2f301f30fc Simplified _ScRangeListTabs and also fixed crashers on XLS import.
Importing XLS documents with custom print ranges caused crash.
2011-03-11 16:01:34 -05:00
Kohei Yoshida
78f6f0ad78 Copy-n-paste error.... 2011-03-11 16:01:34 -05:00
Kohei Yoshida
e675af83c4 Search the sheet local range names as well when compiling formula.
This allows a sheet-local named range to be recognized when entered
into a cell inside a formula expression.
2011-03-11 16:01:34 -05:00
Kohei Yoshida
de8cbe8a44 Correctly import and interpret sheet local range names from XLS. 2011-03-11 16:01:34 -05:00
Kohei Yoshida
04c9caaf37 Store whether or not a range name is global during XLS import. 2011-03-11 16:01:34 -05:00
Kohei Yoshida
9008aac0ad Store additional flag for global vs local storage of named ranges.
Also, store sheet-local named ranges from Excel into the table
instead of the document.
2011-03-11 16:01:34 -05:00
Kohei Yoshida
a22bed643c Added range name container to ScTable. 2011-03-11 16:01:34 -05:00
Tibby Lickle
2144db0455 German comment transation for Calc filter dialog. 2011-03-11 09:59:09 -05:00
Tibby Lickle
9cb212ca16 Disabled auto-complete in Calc filter dialog - fix for bug 34898.
A hyphen character caused auto-complete to kick in, changing the user's choice of conditional operator to "=". This was not changed back if auto-complete option is overridden.
2011-03-11 09:59:09 -05:00
Nicolas Christener
ba13b3beee translate german comments in /sc/inc 2011-03-10 21:56:49 +01:00
Caolán McNamara
28bc2b2c4d silence some warnings 2011-03-09 11:02:22 +00:00
Kohei Yoshida
4be37d1bc9 Simple in-line comment. 2011-03-08 17:23:59 -05:00
Kohei Yoshida
014d7602e5 Added unit test for external references.
For now, we just test its caching behavior with in-memory document.
2011-03-08 17:14:26 -05:00
Kohei Yoshida
99745dbcbb Typo. 2011-03-07 22:20:20 -05:00
Kohei Yoshida
31dbdd1766 Properly invalidate cached sheet XML streams during reference update.
Failure to invalidate sheet streams during reference update caused
formula cross referenceing between sheets to totallly get borked.

The bug was originally reported in i#116833.
2011-03-07 22:14:53 -05:00
Kohei Yoshida
ecce776df1 New unit test for sheet stream's validity during reference update. 2011-03-07 22:08:43 -05:00
Kohei Yoshida
4bbd113b9c More BOOL to bool conversion. 2011-03-07 17:03:32 -05:00
Kohei Yoshida
22ffbb90a3 BOOL to bool conversion. 2011-03-07 16:40:29 -05:00
Julien Nabet
eb888e66ee First try of removing "using namespace ::com::sun::uno" 2011-03-07 20:17:42 +01:00
Kohei Yoshida
a077ebcb54 Duh! I forgot to loop. Silly me.
This caused saving of a document to ods to cause a crash unconditionally.
2011-03-07 12:10:43 -05:00
Julien Nabet
6dd5cc1f73 There were 2 times "using ::rtl::OUString" 2011-03-06 22:32:31 +01:00
Fridrich Štrba
a44a269f93 Fix windows build breakage 2011-03-06 16:28:04 +01:00
Kohei Yoshida
704dcf4d1d GetRangeAtBlock() to findByRange(), favor std::find_if over manual loop. 2011-03-05 16:02:19 -05:00
Kohei Yoshida
eb9ba62f38 Fixed a build breakage. 2011-03-05 15:32:27 -05:00
Kohei Yoshida
18a96804b7 Changed ScRangeData's index back to USHORT for now. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
d23aeeae68 Renamed FindIndex to findByIndex to be consistent with findByName. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
a4e0c61a04 Removed the Insert() method; let's use insert() across the board. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
7bd15deb60 Finally removed the old ScRangeName code for good!
Plus some build breakage fix.
2011-03-05 15:21:09 -05:00
Kohei Yoshida
6c5be702c2 Adjusted ScDocument::CopyRangeNamesFromClip() for the ScRangeName change. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
fe2ee40d95 Extracted duplicated code blocks into a separate method. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
be1b2028a0 Adjusted ScDocument::CopyRangeNamesToClip() for the ScRangeName change. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
b36d2db83f Adjusted ScDocument::TransferTab() for the ScRangeName change. 2011-03-05 15:21:09 -05:00
Kohei Yoshida
7b8504627a Adjusted the excel export code. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
4af2fdbb9a Reverted on index handling of range name objects. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
1a92b2d9a4 Adjusted ScSpecialFilterDlg for the ScRangeName change. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
01c1b155e3 Adjusted ScNamedRangeObj for the ScRangeName change. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
0e0b99c817 Adjusted ScAreaNameIterator for the ScRangeName change. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
70624edc40 More on adjusting for ScRangeName API change. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
726a7d3893 More on adjusting for ScRangeName's new API. 2011-03-05 15:21:08 -05:00
Kohei Yoshida
e40df3cb08 Added begin(), end() and implemented FindIndex(). 2011-03-05 15:21:08 -05:00
Kohei Yoshida
9b6c3f27f4 Identified and tagged all places where I need to modify. 2011-03-05 15:21:07 -05:00
Kohei Yoshida
0df4b4a860 Removed SearchNameUpper() in favor of findByUpperName(). 2011-03-05 15:21:07 -05:00
Kohei Yoshida
e422d9efc3 Removed SearchName() in favor of findByName(). 2011-03-05 15:21:07 -05:00
Kohei Yoshida
b2d3a5e2a3 More on re-working ScRangeName. 2011-03-05 15:21:07 -05:00
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