Kohei Yoshida
0278ebc50e
Implemented the new multi-value filter API.
2011-11-29 22:35:45 -05:00
Stephan Bergmann
d3c772229c
Use rtl::Reference<>.
2011-11-29 20:03:23 +01:00
Kohei Yoshida
380b7827d3
fdo#32826: Finally return the real selected sheets, and use it.
...
This should solve the problem reported in fdo#32826, which is, when
printing from print preview window always prints all sheets regardless
of currently selected sheets.
2011-11-29 00:04:23 -05:00
Kohei Yoshida
7a16f31752
New UNO API to return currently selected sheets.
...
Both from the sheet view and preview modes.
2011-11-29 00:04:23 -05:00
Kohei Yoshida
ffca779f37
Create an UNO controller object for the preview shell.
2011-11-29 00:04:23 -05:00
Kohei Yoshida
8724aa7d6d
Passed the selected sheet info to ScPreview.
2011-11-29 00:04:22 -05:00
Kohei Yoshida
12854c322f
sal_Bool to bool.
2011-11-29 00:04:22 -05:00
Kohei Yoshida
1dcb62fe48
fdo#43304: Allow empty field labels in pivot tables.
...
Empty field labels are replaced with the column name.
2011-11-28 17:32:47 -05:00
Eike Rathke
42e80ec68b
dr80: #i116460# performance of Excel file with many outlines
...
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1300438660 -3600
# Node ID aa7d08a12d7ee60c71eb4f2dc1241197e009c443
# Parent 49c53fbe0cd4d663f419b659c82618bd106282ef
2011-11-28 15:25:34 +01:00
Eike Rathke
22029818cb
dr78: #i115659# check validity of member and dimension settings
...
# HG changeset patch
# User Daniel Rentz [dr] <daniel.rentz@oracle.com>
# Date 1292344724 -3600
# Node ID 8ec1023e8658320deb61a5b3cdc40aeb9c3d34b1
# Parent 838c2fed9f13c5884d7cbc72c0239d1ec564dcb0
2011-11-28 15:25:31 +01:00
Eike Rathke
4775df29d3
dr78: #i92774# NPV evaluates arguments row-wise; ScHorizontalValueIterator
...
patch from <lvyue> with little modifications
# HG changeset patch
# User Eike Rathke [er] <eike.rathke@oracle.com>
# Date 1291410557 -3600
# Node ID 297b5255c27a9fa541bed948d675bba1c4d87ab0
# Parent ce99b09497844a0d893ab78cb15a2749fcc932bf
2011-11-28 15:25:29 +01:00
Eike Rathke
9dd0e2aabc
dr78: #i111413# new ODFF interpreter functions SEC, SECH, CSC, CSCH; patch from <regina>, slightly reworked
...
# HG changeset patch
# User Eike Rathke [er] <eike.rathke@oracle.com>
# Date 1291394833 -3600
# Node ID ff05fcb4fe392f8c336466982a25fdfda207515a
# Parent 4ca136c3f3c8eb330664884c2ff79e2027d8e4eb
2011-11-28 15:25:28 +01:00
Eike Rathke
cdbcb1a0d9
dr78: #i51508# use the correct MapMode for EditEngine when formatting for screen
...
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1291314860 -3600
# Node ID c2bc2890eae42a85c3f16085f9d7867799554839
# Parent 96608d83032e60946c80e0a5185a55843b74eb6f
2011-11-28 15:25:27 +01:00
Eike Rathke
f65345b112
dr78: #i115015# proper handling of add-in parameter arrays, merged with database functions QueryParam
...
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1290620646 -3600
# Node ID 96608d83032e60946c80e0a5185a55843b74eb6f
# Parent 427eca1ec1adf81ed3016bde2ef2b010c9fd9ed1
2011-11-28 15:25:27 +01:00
Norbert Thiebaud
c0bed9c72e
remove precompiled_xxx.hxx/cxx
2011-11-27 18:07:55 -06:00
Norbert Thiebaud
2721235724
remove include of pch header from sc
2011-11-27 13:20:15 -06:00
Eike Rathke
f37a539b79
calc67: #i117661# filterByPageDimension: don't overwrite source filter with page field selection
...
# Original author: Niklas Nebel <nn@openoffice.org>
* found as LGPLv3-only fix at svn rev 1167326 (http://svn.apache.org/viewvc?view=revision&revision=1167326 )
2011-11-25 01:01:15 +01:00
Markus Mohrhard
f47455e3cf
change ScRangeName's container to boost::ptr_map
2011-11-24 18:39:08 +01:00
Kohei Yoshida
808ca6d894
We still need to set the name to the 1st sheet.
...
This should fix the filters-test breakage.
2011-11-24 02:06:06 -05:00
Kohei Yoshida
92e03b8288
Cleaned up the ScTable declaration a bit.
...
* make it officially non-copyable. It was never copied anyway.
* retire std::auto_ptr which is deprecated. Let's use boost::scoped_ptr.
* some unused typedef's.
2011-11-23 23:34:18 -05:00
Kohei Yoshida
c4a3e29626
Reducing header dependency on markdata.hxx.
2011-11-23 21:32:39 -05:00
Kohei Yoshida
71fc346874
sal_Bool to bool.
2011-11-23 21:32:39 -05:00
Caolán McNamara
402ad3989d
unused ScRangeName::copyLocalNames
2011-11-23 23:16:43 +00:00
Kohei Yoshida
ba897375db
Let's throw out-of-bound exception on out-of-bound destination position.
2011-11-23 15:28:36 -05:00
Laurent Godard
2ee55872eb
importSheet from an external provided document
...
define a new interface XSpreadsheets2
clean some String in docuno.cxx while i'm at it.
2011-11-23 15:28:36 -05:00
Noel Power
6151ec073e
add mouse resize (and other bits ) to gsoc formulabar
2011-11-23 16:28:35 +00:00
Markus Mohrhard
e58dfb6210
ManageNames: move some strings to globstr.[sh]rc
2011-11-23 06:25:36 +01:00
Markus Mohrhard
9e8ae1d560
remove ScRangeName::findByName
...
this method was mmisused and is the source for some "bugs"
we don't allow case sensitive storage of range names and therefore it
does not amke sense to search by case sensitive names, use
ScRangeName::findByUpperName instead
Especially the uno implementation did behave wrongly and allowed to
create two names that were identicall for the model
2011-11-23 06:25:36 +01:00
Markus Mohrhard
1d2142fb96
ManageNames: add table to "Paste Names" dialog
2011-11-23 06:25:34 +01:00
Markus Mohrhard
b1097c4769
ManageNames: add undo to Define Names dialog
2011-11-23 06:25:33 +01:00
Markus Mohrhard
106f128f35
ManageNames: make global undo work again with dialog
2011-11-23 06:25:33 +01:00
Markus Mohrhard
1e6ad2af4b
ManageNames: restructure the code
...
move namepast.cxx to namedlg
namedefdlg is "modeless"(only in technical sense) and needs to be in sc
while namepast is modal and needs to be in scui
move the table implementation to an own file, we can reuse it for
namepast.cxx
2011-11-23 06:25:31 +01:00
Markus Mohrhard
411d95598f
Manage Names: add most logic to Define Name dialog
...
missing are:
-undo
-range options
-help
-test for correct expression is not working
2011-11-23 06:25:31 +01:00
Markus Mohrhard
7f8deb4f90
ManageNames: improve AddNames UI, no logic yet
2011-11-23 06:25:31 +01:00
Markus Mohrhard
8fd3c3ac9e
ManageNames: add menu and dialog for Add Name
2011-11-23 06:25:31 +01:00
Kohei Yoshida
a725d287a2
Unit test for cell function T with external references.
2011-11-22 22:32:05 -05:00
Kohei Yoshida
d714c17c21
i#117239: Prevent crash on load with pivot table.
...
The crash was due to recursive reference of GETPIVOTDATA within the
source range of the pivot table object referring to itself. The
solution is to disable self reference with GETPIVOTDATA function.
BTW, it goes without saying that, using GETPIVOTDATA inside the source
range of the very pivot table that it references is asking for trouble.
2011-11-21 12:12:37 -05:00
Jan Holesovsky
840e2f3ef5
Inline ScQueryEntry::Item::Item() to fix Windows build.
2011-11-20 15:15:26 +01:00
Markus Mohrhard
833567fa69
don't pass uno interface implementation directly
...
Passing the implementation instead of an uno reference may result in
lifetime problems if the passed interface is distroyed while the second
one is still valid
see rhbz#579817 with memcheck
2011-11-19 02:52:38 +01:00
Kohei Yoshida
88c456a0dc
Parse the query data first, then committing the query entries later.
...
This gives us the change to examine the query data and do some
special-casing depending.
2011-11-18 14:13:24 -05:00
Kohei Yoshida
dff8c99b01
Populate the query entries directly.
2011-11-18 14:13:22 -05:00
Kohei Yoshida
825d516672
Replace DeleteQuery with RemoveEntryByField.
...
The latter takes care of iterating through the elements.
2011-11-18 14:13:20 -05:00
Kohei Yoshida
965d933ed9
Remove the query entry when all items are selected.
2011-11-18 14:13:20 -05:00
Kohei Yoshida
e2177c733e
Now the new popup works somewhat as expected.
2011-11-18 14:13:20 -05:00
Kohei Yoshida
24568e6292
Handle query after the popup gets dismissed by clicking OK.
...
But it's not working right. :-(
2011-11-18 14:13:19 -05:00
Kohei Yoshida
9484286af6
Oops I forgot to remove the header include line.
2011-11-16 16:11:32 -05:00
Kohei Yoshida
4db12f8a93
More on reducing header dependency.
2011-11-16 16:07:08 -05:00
Kohei Yoshida
d37950cb16
This header doesn't need to include queryparam.hxx.
2011-11-16 15:44:09 -05:00
Kohei Yoshida
efab685286
Reduced header dependency on dbdata.hxx by better encapsulation.
2011-11-16 15:37:11 -05:00
Kohei Yoshida
3b1e88a8eb
Reset formula cell's changed flag only for those within visible range.
...
Especially avoid marking all cells in all sheets which would cause a
performance problem.
2011-11-15 16:55:49 -05:00