Jan Holesovsky
e6064484fa
Merge remote-tracking branch 'origin/integration/dev300_m101'
...
Conflicts:
chart2/source/controller/main/UndoManager.cxx
chart2/source/tools/RegressionCurveHelper.cxx
sc/inc/address.hxx
sc/inc/attrib.hxx
sc/inc/bigrange.hxx
sc/inc/callform.hxx
sc/inc/cell.hxx
sc/inc/chartarr.hxx
sc/inc/chartlis.hxx
sc/inc/chgtrack.hxx
sc/inc/collect.hxx
sc/inc/compiler.hxx
sc/inc/detdata.hxx
sc/inc/document.hxx
sc/inc/fillinfo.hxx
sc/inc/olinetab.hxx
sc/inc/prnsave.hxx
sc/inc/queryparam.hxx
sc/inc/sc.hrc
sc/inc/scabstdlg.hxx
sc/inc/table.hxx
sc/inc/validat.hxx
sc/inc/zforauto.hxx
sc/source/core/data/documen2.cxx
sc/source/core/data/document.cxx
sc/source/core/data/table1.cxx
sc/source/core/tool/address.cxx
sc/source/core/tool/token.cxx
sc/source/filter/excel/frmbase.cxx
sc/source/filter/excel/impop.cxx
sc/source/filter/excel/xename.cxx
sc/source/filter/inc/formel.hxx
sc/source/filter/inc/xename.hxx
sc/source/filter/xml/xmlexprt.cxx
sc/source/filter/xml/xmlnexpi.cxx
sc/source/filter/xml/xmlnexpi.hxx
sc/source/ui/dbgui/filtdlg.cxx
sc/source/ui/inc/docfunc.hxx
sc/source/ui/inc/namedlg.hxx
sc/source/ui/namedlg/namedlg.cxx
sc/source/ui/src/namedlg.src
2011-03-18 15:33:40 +01:00
David Tardon
0932d7f0f0
initialize member
2011-03-18 13:20:22 +01:00
Kohei Yoshida
22db10974a
Fixed data loss during pivot table export to XLS.
2011-03-18 00:21:28 -04:00
obo
d3bd824556
CWS-TOOLING: integrate CWS chart55
2011-03-16 09:56:18 +01:00
Caolán McNamara
9e0a09e89c
WaE: silence some warnings
2011-03-16 08:44:25 +00:00
obo
b491f91e8d
CWS-TOOLING: integrate CWS chart51
2011-03-16 09:28:51 +01:00
Kohei Yoshida
6509f546d0
ScRangeName doesn't need to store ScDocument pointer.
2011-03-15 23:51:41 -04:00
Kohei Yoshida
9b4d6050c9
Common part into an own method.
2011-03-15 23:51:41 -04:00
Kohei Yoshida
e060bf8475
Implemented redo.
2011-03-15 23:51:41 -04:00
Kohei Yoshida
4e564d3395
Fixed undo, caused by a silly copy-n-paste.
2011-03-15 23:51:41 -04:00
Kohei Yoshida
23ae9e4a45
Hopefully implemented the undo part, plus lazy-init the global range name.
...
Went through the code to make sure we check for NULL pointer before doing
anything with the global range name instance. Calling GetRangeName()
initializes the range name instance on-demand.
2011-03-15 23:51:41 -04:00
Kohei Yoshida
d4b5eac375
Implement undo and redo for real.
2011-03-15 23:51:41 -04:00
Kohei Yoshida
3098641cba
Added skeleton for undo of all range names, global and local.
2011-03-15 23:51:41 -04:00
Kohei Yoshida
225b335176
Implement ModifyAllRangeNames(), minus undo.
2011-03-15 23:51:41 -04:00
Kohei Yoshida
a040ea619d
Extracted macro-based method into real method (for better context tagging).
...
Macro-based methods don't get tagged correctly in my editor which
screws up cross-referencing.
2011-03-15 23:51:40 -04:00
Kohei Yoshida
979e023be8
Store all range names from the dialog to the document.
...
But I have yet to implement ScDocFunc::ModifyAllRangeNames().
2011-03-15 23:51:40 -04:00
Kohei Yoshida
ba862bbca4
Retrieve sheet-local names and populate the dialog with them.
2011-03-15 23:51:40 -04:00
Kohei Yoshida
b43ad3a6cf
Removed useless comments.
2011-03-15 23:51:40 -04:00
Kohei Yoshida
aa65005ba4
More cleanups.
2011-03-15 23:51:40 -04:00
Kohei Yoshida
f0a0ac5106
Use data member and member methods instead of global and macros...
2011-03-15 23:51:40 -04:00
Kohei Yoshida
4b6758383c
Code cleanups.
2011-03-15 23:51:40 -04:00
Kohei Yoshida
65f4809a0a
Added new list box for the scopes, and adjusted the dialog layout.
2011-03-15 23:51:40 -04:00
Kohei Yoshida
3732372d58
Removed the old sheet local name mapping bits.
...
This was there for the VBA code to work around Calc's lack of
sheet local named ranges.
2011-03-15 23:51:40 -04:00
Kohei Yoshida
378c75a798
Get the unit test code to build.
2011-03-15 23:22:48 -04:00
Michael Meeks
970dfb78ae
more merge fixes, compiles and links now
2011-03-15 09:56:18 +00:00
Kohei Yoshida
1a5aaf0b88
Some attempts to get the VBA code to build.
2011-03-15 01:58:39 -04:00
Kohei Yoshida
0a95ed445f
Added missing definitions that caused linkage to fail.
2011-03-15 00:24:22 -04:00
Kohei Yoshida
2db8d16be6
Fixed part of the linkage problem due to multiple definitions.
2011-03-15 00:11:16 -04:00
Kohei Yoshida
4215f9c024
Fixed build breakages related to HID's.
2011-03-14 23:57:29 -04:00
Kohei Yoshida
fcfddd4fa7
Got optdlg.src to finally build.
2011-03-14 23:08:41 -04:00
Kohei Yoshida
7492dfe8e1
Fixed build breakage in sc/util.
2011-03-14 21:23:00 -04:00
Kohei Yoshida
9f26dfb93b
More on build errors and warnings.
2011-03-14 20:59:57 -04:00
Kohei Yoshida
ea62c27ed1
Fixed pivot.src, while keeping the new Help ID related changes.
2011-03-14 18:12:33 -04:00
Kohei Yoshida
9b50119fd9
Adding missing control ID.
2011-03-14 17:59:55 -04:00
Kohei Yoshida
bb06798a86
More stupid build fixes.
2011-03-14 17:51:41 -04:00
Kohei Yoshida
6f0b90c0f9
More build fixes in sc.
...
The breakages mostly caused by *non-conflicting* code changes from
Oracle. Meaningless variable renaming to reflect datapilot to
pivot table naming change, etc.
2011-03-14 16:40:08 -04:00
Kohei Yoshida
cd31f2448d
Various fixes for build breakages, for sc.
2011-03-14 16:24:03 -04:00
Michael Meeks
697a77f6ec
fix misc merge issues breaking the build
2011-03-14 17:34:17 +00:00
David Tardon
add2c16c03
make more space for the MoreButton's label
...
E.g., Japan localization needs it.
2011-03-14 06:39:56 +01:00
Bjoern Michaelsen
bd2ea8f871
making sc/source/filter compile again
2011-03-14 00:39:56 +01:00
Nicolas Christener
be3230aa76
translate german comments in /sc/inc
2011-03-13 19:40:00 +01:00
Nicolas Christener
e02b8039e7
translate german comments in /sc/inc
2011-03-13 19:40:00 +01:00
Thomas Arnhold
3ee28d800c
OSL_TRACE: Use format string for GetBuffer()
2011-03-13 16:44:11 +01:00
Thomas Arnhold
7dd39754e3
Move OSL_ENSURE(0,...) to OSL_FAIL(...)
2011-03-13 16:44:11 +01:00
Thomas Arnhold
fd3ae880bc
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
2011-03-13 16:44:11 +01:00
Thomas Arnhold
adab334178
Add missing osl/diagnose.h
2011-03-13 16:44:11 +01:00
Thomas Arnhold
7e8ed221da
Use OSL_DEBUG_LEVEL 2 and add osl/diagnose.h include
2011-03-13 16:44:11 +01:00
Thomas Arnhold
4eaadbac94
Use OSL_DEBUG_LEVEL 2
2011-03-13 16:44:10 +01:00
Thomas Arnhold
b1b309959e
Fix build: Use format string literals
2011-03-13 16:44:10 +01:00
Thomas Arnhold
8b77605b1e
Move DBG_TRACE to OSL_TRACE
2011-03-13 16:44:10 +01:00
Thomas Arnhold
a7680c1d49
Move DBG_TRACE to OSL_TRACE for strings GetBuffer()
2011-03-13 16:44:10 +01:00
Thomas Arnhold
0dfe94c514
Remove unused DBG_TRACESTR macro
2011-03-13 16:44:10 +01:00
Thomas Arnhold
ed0ced92f0
DBG_TRACESTR to OSL_TRACE for O*String
2011-03-13 16:44:10 +01:00
Thomas Arnhold
859a48975b
DBG_TRACESTR to OSL_TRACE for String
2011-03-13 16:44:10 +01:00
Thomas Arnhold
ccfca545f1
Move DBG_TRACESTR to OSL_TRACE for a OUString
2011-03-13 16:44:10 +01:00
Thomas Arnhold
b0dc341da6
Move DBG_TRACE to OSL_TRACE
2011-03-13 16:44:10 +01:00
Thomas Arnhold
5dd1ff4fe9
Move DBG_TRACE1 to OSL_TRACE
2011-03-13 16:44:10 +01:00
Thomas Arnhold
36971a269f
Move #ifdef DBG_UTIL to #if OSL_DEBUG_LEVEL > 1 for OSL_TRACE
2011-03-13 16:44:10 +01:00
Thomas Arnhold
997939f813
Move DBG_ERROR1 to OSL_TRACE for a macro
2011-03-13 16:44:10 +01:00
Thomas Arnhold
7b16e3d625
Move DBG_ERROR3 to OSL_TRACE
2011-03-13 16:44:09 +01:00
Thomas Arnhold
2f2b1951a7
Move DBG_ERROR2 to OSL_TRACE
2011-03-13 16:44:09 +01:00
Thomas Arnhold
884fae413f
Move DBG_ERROR1 to OSL_TRACE
2011-03-13 16:44:09 +01:00
Thomas Arnhold
735061e023
Move DBG_ERROR to OSL_FAIL for strings foo().GetBuffer()
2011-03-13 16:44:09 +01:00
Thomas Arnhold
ea6ae37c1b
Move DBG_ERROR to OSL_FAIL for strings GetBuffer()
2011-03-13 16:44:09 +01:00
Julien Nabet
96a7f1dd19
Methods can be const
2011-03-13 00:12:13 +01:00
Nicolas Christener
59ba9bfd9d
translate german comments in /sc/inc
2011-03-12 08:56:02 +01:00
Kohei Yoshida
620cbe0297
A little cleanup.
2011-03-11 16:01:36 -05:00
Kohei Yoshida
c7a03150d1
Properly export sheet local range names to XLS.
2011-03-11 16:01:36 -05:00
Kohei Yoshida
596fcdebaa
For now, we only import normal named expressions in sheet local scope.
2011-03-11 16:01:36 -05:00
Kohei Yoshida
50da3d1e56
Use boost::ptr_list for list containing heap objects.
2011-03-11 16:01:36 -05:00
Kohei Yoshida
f40f777986
Pick up sheet local named expressions during ODS import.
2011-03-11 16:01:36 -05:00
Kohei Yoshida
898f36da16
Export sheet-local range names to ODS.
2011-03-11 16:01:35 -05:00
Kohei Yoshida
ee25a401af
Reduced indent levels again.
2011-03-11 16:01:35 -05:00
Kohei Yoshida
5b586abd99
Extracted a method from a giant, mega method.
2011-03-11 16:01:35 -05:00
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
Kohei Yoshida
12343c1556
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
2011-03-10 20:21:13 -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
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
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
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
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
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
Kohei Yoshida
8868c24107
Moved the widgets a bit and shrank the dialog to make it look nicer.
2011-03-01 16:16:00 -05:00
Kohei Yoshida
2508c4d67b
Re-arranged widgets definitions a bit.
2011-03-01 16:15:59 -05:00
Kohei Yoshida
86c1bd3103
Put all the other pieces into place.
...
Now you can specify a named range as the data source for a new
data pilot table.
2011-03-01 16:15:59 -05:00
Kohei Yoshida
65b0689ed0
Initial change to display named range option in the source dialog.
2011-03-01 16:15:59 -05:00
Kohei Yoshida
6529718c22
Used boost::scoped_ptr to manage instances.
2011-03-01 16:15:59 -05:00
Kohei Yoshida
cf7f61b114
Extracted datapilot handling code into its own method.
2011-03-01 16:15:59 -05:00
Kohei Yoshida
f6fa663b13
Cleanups and comments.
2011-03-01 16:15:59 -05:00
Caolán McNamara
5dce0079bb
Revert part of cab7e33c which added ';' into the expression
2011-03-01 20:46:25 +00:00
Takeshi Abe
117066d1e9
Removed dead code
2011-03-02 03:14:31 +09:00
Kohei Yoshida
acbf368a3e
We call them field windows. Let's be consistent...
2011-03-01 11:41:36 -05:00
Kohei Yoshida
6cd44dd9c2
Refresh the field view when the source range changes.
...
Not doing so would cause phantom buttons in the field windows that
you can see but you can't touch....
2011-03-01 11:35:57 -05:00
Guillaume Poussel
9d1e66bd77
Remove bogus comments.
2011-03-01 14:29:24 +01:00
Guillaume Poussel
bd394abd2e
Remove bogus comments.
2011-03-01 13:01:24 +01:00
Kohei Yoshida
effc42d64e
Check for existance of cache before creating a new one.
...
Sometimes a cache is passed onto the cache table at construction
time, in which case the cache is already there by the time
CreateCacheTable() is called. We need to check that.
2011-03-01 00:44:42 -05:00
Kohei Yoshida
dddc5972da
Renamed ScDPTableDataCache to simply ScDPCache.
...
There were so many classes with 'DPTable' in them it was confusing.
2011-03-01 00:24:37 -05:00
Kohei Yoshida
f84427bfdd
Finally get the refresh to work properly.
2011-03-01 00:02:01 -05:00
Kohei Yoshida
716556f19c
Let's rename InvalidateSource() to ClearSource().
...
Because that's what the method does; it clears all the source data.
2011-02-28 22:48:11 -05:00
Kohei Yoshida
278610aab9
More cleanups.
...
ScDPObject::bRefresh flag is no longer used.
2011-02-28 22:02:53 -05:00
Kohei Yoshida
ed110de945
Remove old container that stored data caches.
...
We may revive this later when we decide to pool the data cache
once again.
2011-02-28 21:49:38 -05:00
Kohei Yoshida
a259eba2f7
More removal of cache ID related stuff.
2011-02-28 21:36:18 -05:00
Kohei Yoshida
e7db4c4fdc
Data cache is now stored in the cashe table object for now.
...
With this commit, data caches are no longer stored outside the cache
table and managed by their ID's. Each cache table stores and manages
its own data "cache", but then calling it a cache is a mis-nomer.
2011-02-28 21:27:41 -05:00
Kohei Yoshida
3b7bd5c1dd
Remove cache ID storage from ScDPSaveData.
2011-02-28 20:34:30 -05:00
Kohei Yoshida
c51037f84d
A little code cleanup.
2011-02-28 20:04:40 -05:00
Kohei Yoshida
e605f77032
Some whitespace cleanups.
...
Also, n is usually reserved to store container size; let's not use
it as loop counter.
2011-02-28 19:55:32 -05:00
Kohei Yoshida
e4445f4c73
Make sure everybody calls ScDPCacheTable::getOrder() publicly.
2011-02-28 19:34:44 -05:00
Kohei Yoshida
d444d877a1
Make sure nobody modifies the table cache outside of ScDPCacheTable.
...
Use const to ensure that nobody modifies the content of the table
cache outside of ScDPCacheTable.
2011-02-28 18:14:22 -05:00
Christian Lohmaier
633d352fb9
WaE: picky about comparison between signed and unsigned
2011-02-26 18:04:23 +01:00
Thomas Arnhold
660d565153
Move bogus OSL_ASSERT(msg) to OSL_FAIL(msg)
2011-02-26 10:47:20 +01:00
Takeshi Abe
73fc450c5e
Removed dead code
2011-02-25 22:04:36 +09:00
Takeshi Abe
be9469d388
Mark fall-through
2011-02-25 22:00:35 +09:00
Thomas Benisch [tbe]
fd37636ef1
chart51: #i116037# backout
2011-02-25 11:01:18 +01:00
Caolán McNamara
da9187707e
remove unused export.map
2011-02-24 20:47:07 +00:00
Michael Lefevre
4f290f3858
Remove commented variable
...
Still code cleaning.
2011-02-24 20:02:58 +01:00
Ingrid Halama [iha]
33e01cba51
chart51: merge with DEV300_m101
2011-02-24 17:39:29 +01:00
Thomas Benisch [tbe]
1b90402214
chart51: #i116037# backout
2011-02-24 16:47:38 +01:00
Thomas Benisch [tbe]
8e72893ce9
chart51: #i116037# backout
2011-02-24 16:29:02 +01:00
Julien Nabet
58737fb3f2
Remove "using namespace ::rtl"
2011-02-24 15:22:42 +01:00
Kohei Yoshida
e4ba8c9aed
Using * for pointer type is better than typedef to FooPtr.
...
It saves key stroke, 1 for '*' as oppposed to 3 for 'Ptr', and it
saves one line by not having to typedef for a (for pete's sake)
pointer type.
2011-02-23 21:58:23 -05:00
Michaël Lefèvre
dfa58beb6a
Remove bogus comment
...
Simplifie bug id comment, removing bogus comment by the way
2011-02-23 01:11:49 -05:00