Commit graph

19791 commits

Author SHA1 Message Date
Norbert Thiebaud
992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
Pierre-André Jacquod
88611e702a fdo#42286 call correctly GetDataArea to avoid unwanted shrinking
GetDataArea flags documented and call from ExtendedDataArea adapted.
2011-11-27 19:17:29 +01:00
Markus Mohrhard
6c8f7589de create a base class for macros_test
For tests that need file import you can now choose between FiltersTest
or MacrosTest as base class.

FiltersTest imports through SfxObjectShell and does not have any ui
MacrosTest imports through Desktop::LoadComponentFromURL and initializes
the ui, therefore it needs to run headless
2011-11-27 08:22:39 +01:00
Markus Mohrhard
9fceb2fc10 missing virtual constructor 2011-11-27 08:22:38 +01:00
Markus Mohrhard
8039cd4d7d ManageNames: improve layout of Define Names dialog 2011-11-26 06:31:24 +01:00
Markus Mohrhard
0fe2786e3c ManageNames: improve layout of dialog 2011-11-26 06:31:24 +01:00
Markus Mohrhard
59e0854dd3 ManageNames: make the header bar work correctly 2011-11-26 06:31:24 +01:00
Markus Mohrhard
8bbf33d89b no need to convert between upper name and normal name 2011-11-26 06:31:24 +01:00
Markus Mohrhard
e85b2daa9b ManageNames:the Reference button should be disabled like the range field 2011-11-26 06:31:23 +01:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
François Tigeot
eda3e5dcb6 Disable password test on DragonFly 2011-11-25 09:42:09 +01:00
David Tardon
fba911fea7 gsl_getSystemTextEncoding -> osl_getThreadTextEncoding 2011-11-25 09:07:49 +01:00
Eike Rathke
31012ab9d7 Fixed #i116848# Shapes are at wrong position
# Original author: Niklas Nebel <nn@openoffice.org>

Taken from OOO340 repository, changeset 7ebd38de6d70 introduced with CWS dr78.
2011-11-25 01:01:17 +01:00
Eike Rathke
8a838b9fbf calc69: #i118068# handle all-hidden case in ScDrawUtil::CalcScale
# Original author: Niklas Nebel <nn@openoffice.org>

* found as LGPLv3-only fix at svn rev 1172138 (http://svn.apache.org/viewvc?view=revision&revision=1172138)

Plus the original comment from the replaced code why it is there, to fix
#i116848#
2011-11-25 01:01:17 +01:00
Eike Rathke
73d344c18e calc69: #i117952# invalidate page breaks when print range is removed
# Original author: Niklas Nebel <nn@openoffice.org>

* found as LGPLv3-only fix at svn rev 1172137 (http://svn.apache.org/viewvc?view=revision&revision=1172137)
2011-11-25 01:01:17 +01:00
Eike Rathke
871b87f9d3 calc69: #i117893# call GetSizePixel before setting bIsInPaint
# Original author: Niklas Nebel <nn@openoffice.org>

* found as LGPLv3-only fix at svn rev 1172136 (http://svn.apache.org/viewvc?view=revision&revision=1172136)
2011-11-25 01:01:16 +01:00
Eike Rathke
36018b12c4 calc68: #i117728# allocate row/column outline buffers according to BIFF sheet size, not Calc sheet size
# Original author: Daniel Rentz [dr] <daniel.rentz@oracle.com>

* found as LGPLv3-only fix at svn rev 1166947 (http://svn.apache.org/viewvc?view=revision&revision=1166947)
2011-11-25 01:01:16 +01:00
Eike Rathke
d0cd63da64 adapted FormatDetector patch to reality 2011-11-25 01:01:15 +01:00
Eike Rathke
a185c4c15b calc67: #i117735# use calc FormatDetector for XLS again, handle Excel 2003 XML directly in XLS detection
# Original author: Niklas Nebel <nn@openoffice.org>

* found as LGPLv3-only fix at svn rev 1167327 (http://svn.apache.org/viewvc?view=revision&revision=1167327)
2011-11-25 01:01:15 +01: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
Noel Power
50171e5137 tweak toolbar layout for gsoc formula/input bar & other misc changes
summary:
* tweak toolbar layout to layout the toolbar items aligned to top of highest
item
* make Capture/ReleaseMouse logic much simpler
* make resize detection simpler
* control toolbar height ( e.g. don't let visible grid area be overrun by
toolbar )
2011-11-24 19:49:15 +00:00
Markus Mohrhard
f47455e3cf change ScRangeName's container to boost::ptr_map 2011-11-24 18:39:08 +01:00
Markus Mohrhard
f2931c64d8 ManageNames: moving the header separator now updates the table too 2011-11-24 18:39:08 +01:00
Caolán McNamara
89f057a09d ditch dbg_dump 2011-11-24 15:29:52 +00: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
5992e15796 i#97680, fdo#43152: Load this file without crashing.
The document contains invalid sheet names.  We check it on load, sees
it invalid, decide not to append sheet.  The next time the importer
tries to put cell data into it thinking the sheet has already been
created, the sheet instance is not there, and it crashes.

The solution I used is to go ahead and append new sheet with a default
name in case the supplied sheet name is invalid.
2011-11-24 01:19:10 -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
Kohei Yoshida
0215f8b194 fdo#39589: Avoid using ulimit_cast between signed and unsigned.
If you do, things go very very wrong.  These *limit_cast try to be
clever and check ranges of various types before casting, but they
fail to do the right thing when casting a signed integer into unsigned.
2011-11-23 18:29:04 -05:00
Caolán McNamara
709c1f365b remove various EraseLeadingAndTrailingChars 2011-11-23 23:16:45 +00:00
Caolán McNamara
402ad3989d unused ScRangeName::copyLocalNames 2011-11-23 23:16:43 +00:00
erack
ac0a752acd impress212: export images with relative links
# User Daniel Rentz [dr] <daniel.rentz@oracle.com>

 * found as LGPLv3-only fix at svn rev 1167625 (http://svn.apache.org/viewvc?view=revision&revision=1167625)
2011-11-23 23:34:57 +01:00
Kohei Yoshida
f8625e8fba Simplify it a bit. 2011-11-23 15:44:01 -05: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
Stephan Bergmann
5d7964a5c4 -Werror=unused-but-set-variable fix 2011-11-23 18:24:59 +01:00
Noel Power
6151ec073e add mouse resize (and other bits ) to gsoc formulabar 2011-11-23 16:28:35 +00:00
Jan Holesovsky
039cbb0935 'const_iterator' instead of 'iterator' to fix Windows build. 2011-11-23 14:45:47 +01:00
Caolán McNamara
b7ea361014 add stripStart, can replace EraseTrailingChars 2011-11-23 10:10:09 +00:00
Caolán McNamara
20153742d2 add a stripStart, can replace EraseLeadingChars 2011-11-23 10:10:08 +00:00
Markus Mohrhard
a22ce3e448 ManageNames: only update the range names if we really changed data 2011-11-23 09:01:40 +01:00
Markus Mohrhard
68c591429f ManageNames: set correct text for multiselection 2011-11-23 09:01:40 +01:00
Markus Mohrhard
6a56210854 ManageNames: disable some elements if table is empty 2011-11-23 09:01:40 +01:00
Markus Mohrhard
717438333e ManageNames: disable paste buttons if table is empty 2011-11-23 09:01:39 +01:00
Markus Mohrhard
c35bd5f3c4 ManageNames: handle formula errors in Define Names dialog correctly 2011-11-23 08:05:07 +01:00
Markus Mohrhard
ab63c12395 ManageNames: make pasting of multiple names working and fix crash 2011-11-23 06:25:36 +01: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
f3c7c1e4ce ManageNames: add missing licence headers 2011-11-23 06:25:35 +01:00