Commit graph

19859 commits

Author SHA1 Message Date
Eike Rathke
dca69d5bb2 renamed Date::IsValid() to IsValidAndGregorian() to prevent misassumptions
Once smaller than 1582-10-15 decrementing a Date will not produce a valid date.
2011-11-30 02:05:22 +01:00
Stephan Bergmann
da65218ce1 Enabled sc/qa/complex again.
sc/qa/complex/calcPreview/ tests do not work automatically and have been left
alone.
2011-11-29 21:50:07 +01:00
Markus Mohrhard
92440ddb00 move sc's macros_test to the subsequenttest target 2011-11-29 20:29:03 +01:00
Stephan Bergmann
d3c772229c Use rtl::Reference<>. 2011-11-29 20:03:23 +01:00
Kohei Yoshida
36d950fb16 Let's not over-activate tab controls unnecessarily.
This interfares with the preview shell passing selected tabs back to
the view shell, by always selecting the first tab unconditionally.

The tabs get painted fine even without this call, so let's remove it.
2011-11-29 11:52:10 -05:00
Kohei Yoshida
654c4be03c Let's check the validity of sheet indices. You never know... 2011-11-29 11:52:10 -05:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Lior Kaplan
37f509e15d Replace formattings with formatting 2011-11-29 18:17:18 +02:00
Noel Power
71e7765566 detect TEXTMODIFIED event from EditEngine ( and add missing StopEditEngine )
not sure if the StopEditEngine method ever gets called but we should have it tunnel to the base class just in case.
2011-11-29 15:59:55 +00:00
Stephan Bergmann
8f32b3611e fdo#43304 is fixed, tests can be re-enabled. 2011-11-29 16:57:16 +01:00
Markus Mohrhard
792fb5b96f ManageNames: only calculate formula for visible range names 2011-11-29 10:44:45 +01:00
Markus Mohrhard
c21b1126b1 fix typo RangeOptions->Range Options 2011-11-29 10:44:45 +01:00
Kohei Yoshida
2d99262c2d fdo#32826: Preserve selected sheets after print preview ended. 2011-11-29 00:51:51 -05:00
Kohei Yoshida
2f92037b08 fdo#32826: Fixed the print preview inconsistency.
Now, the print preview should display the correct set of sheets
based on the print settings as well as what sheets are selected.
Previously, this was very quirky and inaccurate.
2011-11-29 00:27:57 -05:00
Kohei Yoshida
6a4bb3e17c More meaningless comments removed. 2011-11-29 00:04:24 -05:00
Kohei Yoshida
4bbef9595f Arg to CalcPages() no longer used. 2011-11-29 00:04:24 -05:00
Kohei Yoshida
8ea8144602 sal_Bool cleanup in ScPreview. 2011-11-29 00:04:24 -05:00
Kohei Yoshida
2761dd4894 Removed meaningless comments. 2011-11-29 00:04:23 -05: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
654d9eb40c These methods can be const. 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
Kohei Yoshida
fc4ba6d66e fdo#43304: Safeguard ourselves from potential crashes.
This is not a real fix, however.  Import of pivot table still fails
but is at least better than crashing.  A real fix is still being
worked on.
2011-11-28 17:32:46 -05:00
Stephan Bergmann
b8d2671fd0 Enabled sc/qa/unoapi again.
Currently often fails at shutdown, when Bridge::terminate ->
~ScAutoFormatObj -> ScGlobal::GetAutoFormat after ScGlobal::Clear
leads to ScAutoFormat ctor -> ScGlobal::GetRscString with null
ppRscString.
2011-11-28 22:05:47 +01:00
Stephan Bergmann
06a075ca72 Bogus if(a>b) wrapped in correct if(a>=b). 2011-11-28 22:05:46 +01:00
Stephan Bergmann
08d79b3084 Disabled tests failing due to fdo#43312. 2011-11-28 22:05:46 +01:00
Stephan Bergmann
eb76f71658 Disabled tests failing due to fdo#43309. 2011-11-28 22:05:45 +01:00
Stephan Bergmann
23b91df22b Disabled tests failing due to fdo#43308. 2011-11-28 22:05:45 +01:00
Stephan Bergmann
3ece0527eb Disabled tests failing due to fdo#43304. 2011-11-28 22:05:45 +01:00
Eike Rathke
b1f5616276 added CSC,SEC,CSCH,SECH to testFunctionLists 2011-11-28 15:25:35 +01: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
62e8e2a31a dr80: #i164410# optimized cell allocation in XCellRangeData::setDataArray() to improve performance of import filters
# HG changeset patch
# User Daniel Rentz [dr] <daniel.rentz@oracle.com>
# Date 1300094581 -3600
# Node ID 05c6b55810889860d2002614b870484de6581ccb
# Parent  564e24baaaae5e18c8bfa76811993fbefa571b5c
2011-11-28 15:25:34 +01:00
Eike Rathke
2c326f35eb dr78: #i104716# don't include SC_LAYER_HIDDEN in ScDrawLayer::GetPrintArea
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1297677053 -3600
# Node ID 93ac285b632c93ef8bf61c69789a33eac25bcedf
# Parent  95b9bc73220ec07d91ac8a99daab107417705b33
2011-11-28 15:25:33 +01:00
Eike Rathke
549df99fdc dr78: #i106580# handle SvxTextLineItem, base class of SvxUnderlineItem
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1297360398 -3600
# Node ID eef10dfbe87ed2caa242bea5bb505276d760cd34
# Parent  bbb6341ff7ab28ffdfbd712ae51248f98a1f208c
2011-11-28 15:25:33 +01:00
Eike Rathke
d8a85d728f dr78: #i116881# correct handling of cached page breaks for user-defined cell range, remove unused parameter in DoPrint
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1297188469 -3600
# Node ID be5ffcd423c49c0045ddeaf11702d44fbde8a8f1
# Parent  3157cd9d60c35f1bcb4c8f56e86cf76ab364e7ee
2011-11-28 15:25:33 +01:00
Eike Rathke
b66fb4c3c5 dr78: #i115009# broadcast BCA_BRDCST_ALWAYS if paint is locked
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1297094234 -3600
# Node ID 9c8756a321d727b8e1bf441876ebca00f38a932f
# Parent  de0464b37fb34e7b7e5735306536d9d9116cf14a
2011-11-28 15:25:32 +01:00
Eike Rathke
16252e44a3 dr78: #i116691# don't reduce decimals if formula is shown
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1297087576 -3600
# Node ID 37cf78c63d8ec7609c254e58316902d5bdb48618
# Parent  4e7aa2262f3ae26e6082f475ef06bbabf39b3e93
2011-11-28 15:25:32 +01:00
Eike Rathke
7e8eb75aea dr78: #i116426# use ODataAccessDescriptor for database import parameters, support bookmarks for selection
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1294842009 -3600
# Node ID e25621ed7fd31753eea52ee5ff3f0a6d170db9a9
# Parent  5ea5624904a5aa39bb40ce197c80a0a41f40b873
2011-11-28 15:25:31 +01:00
Eike Rathke
6b0c4cd205 dr78: #i71810# rework import of fill bitmap mode: ignore CHPICFORMAT record except for bar chart series/points and for 3D walls/floor
# HG changeset patch
# User Daniel Rentz [dr] <daniel.rentz@oracle.com>
# Date 1292431407 -3600
# Node ID bfc09856a08ece3043973bdb484f0fd51bbc91f2
# Parent  90e08c2834a1fd8b5b783240a9d181749871bd7a
2011-11-28 15:25:31 +01:00
Eike Rathke
e55541cbf0 dr78: #i115659# fix borked boolean logic
# HG changeset patch
# User Daniel Rentz [dr] <daniel.rentz@oracle.com>
# Date 1292346375 -3600
# Node ID 18e64e5db5d0d57b724ef390a7c2dea54b2253be
# Parent  8ec1023e8658320deb61a5b3cdc40aeb9c3d34b1
2011-11-28 15:25:31 +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
078796d286 dr78: #i115474# use correct defaults for clipboard text import options
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1292252971 -3600
# Node ID bd03086b10d4f378b4495aba27f524e1798a7cff
# Parent  31b53a2ec7e32f9560464f8a3b9f6c3e07b29083
2011-11-28 15:25:30 +01:00
Eike Rathke
885c328ba5 dr78: #i116044# correct handling of DataPilot grand total name
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1292000347 -3600
# Node ID 984bd7503f69a7ecc5d9e916b45b15c5f95c4a5b
# Parent  3462fe872c2af31b7276ef28a7b011f40369e2eb
2011-11-28 15:25:30 +01:00
Eike Rathke
6341603c29 dr78: #i111413# export secant functions to BIFF
# HG changeset patch
# User Daniel Rentz [dr] <daniel.rentz@oracle.com>
# Date 1291819312 -3600
# Node ID 5a17ebde41ab8db491a4fe4dae6245230dbd1c1d
# Parent  679f0bf9b2ad463ba7cc1855cf54769b3877b971
2011-11-28 15:25:30 +01:00
Eike Rathke
f62028b2fa dr78: #i115951# set ScColumn::bDoubleAlloc in DBaseImport
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1291736714 -3600
# Node ID c1cd4ae7c46490b2f199afd9c889f138ffa06a9e
# Parent  d7e6b1b9f73647c4be281748bc9d68a8773d1056
2011-11-28 15:25:30 +01:00
Eike Rathke
40f38c8c98 dr78: #i95280# avoid repeated progress bars in ScPrintFuncCache for all sheets
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1291652223 -3600
# Node ID d7e6b1b9f73647c4be281748bc9d68a8773d1056
# Parent  029c278f68940ca4f1ea089cf2ddc62ffdb13d87
2011-11-28 15:25:29 +01:00
Eike Rathke
b0477f94d4 dr78: #i106108# SetDocumentModified also for page margins
# HG changeset patch
# User Niklas Nebel <nn@openoffice.org>
# Date 1291638188 -3600
# Node ID 029c278f68940ca4f1ea089cf2ddc62ffdb13d87
# Parent  297b5255c27a9fa541bed948d675bba1c4d87ab0
2011-11-28 15:25:29 +01:00