Commit Graph

79 Commits

Author SHA1 Message Date
Markus Mohrhard
42cb26ba2b Revert "don't delete ScPatternAttr from doc pool for swap, i#118877"
This reverts commit 9020826566.
2012-07-15 03:44:02 +02:00
Markus Mohrhard
9020826566 don't delete ScPatternAttr from doc pool for swap, i#118877
the original apache commit is quite ugly and should not be used!!

Change-Id: Id02d2cf474e49b97bfe285fe76867d1b1d944ec3
2012-07-13 08:34:41 +02:00
Markus Mohrhard
6c8ec4ad8e Revert "Revert "export all style information to xls/xlsx, fdo#46738""
Lesson: Never trust that nobody was crazy enough to use my commits!

This reverts commit 9e9e53a2d9.
2012-07-09 01:40:58 +02:00
Markus Mohrhard
9e9e53a2d9 Revert "export all style information to xls/xlsx, fdo#46738"
This reverts commit 5d123a0b0e.

Conflicts:

	sc/source/core/data/attarray.cxx

Change-Id: Ie4bd09d2350faf0689c375d6a3f0f2b307cedcae
2012-07-09 01:33:35 +02:00
Michael Stahl
8b45939485 replace enum SvxBorderStyle with css::table::BorderLineSyle
Change-Id: I1dadb53f46b23f92d34061ef78dda872bdbcda67
2012-07-04 17:55:45 +02:00
Michael Stahl
463e59d680 rename SvxBorderLine::SetStyle to something unambiguous
Change-Id: Iec70985319a64cdc3630e15499ac304a7f1aabae
2012-06-25 12:46:17 +02:00
Markus Mohrhard
ecc2805d64 correctly set new conditional format
#

Change-Id: I6dc3f1cd99cd15aa3dad72a1417f3e2c1af0108d
2012-06-11 08:01:26 +02:00
Thomas Arnhold
13887f4848 Remove superfluous include comments
Change-Id: Icd57ca7fd89e30c190c1b06dbe67c30bea8d1b59
2012-06-09 04:51:38 +02:00
Markus Mohrhard
655d61042f make color formats and conditional formats a sheet property
TODO:
- UNO needs some love to accept this change
  - we need a new uno interface for conditional formats in 4.0
- copy/paste
- undo/redo

Change-Id: I2c8a233888a95c7298dfb151d1c12b6a6a58520d
2012-05-24 12:38:11 +02:00
Eike Rathke
816f65da41 resolved fdo#41214 crash due to offset error 2012-05-24 12:40:05 +02:00
Eike Rathke
435c117c1c some optimization of ScAttrArray::GetLastVisibleAttr()
Method assumed that not much attribution happens below data and started from
the end of attribution, in the case of not much attribution it worked fine.
For the case of many differently formatted areas with a sufficiently large
area of visibly equal attribution near data end it was a bottle neck looping
over unnecessarily many comparisons. Start at data end instead. For the case
of not much attribution it doesn't really matter, and for the case of no
sufficiently large area below data end it doesn't matter at all and compares
the same number of entries. The drawback would be a large area near
attribution end with many small areas between data end and the large area.

Observed with test case of fdo#46160
2012-05-14 18:18:52 +02:00
Markus Mohrhard
5d123a0b0e export all style information to xls/xlsx, fdo#46738
Fixes that if more than 84 empty but formatted rows at the end of a file
have been found the export skipped those rows.
2012-03-27 05:18:10 +02:00
Caolán McNamara
629cd5caad callcatcher: update list 2012-01-10 10:09:29 +00:00
Norbert Thiebaud
2721235724 remove include of pch header from sc 2011-11-27 13:20:15 -06:00
Eike Rathke
d0aedf87a6 sal_Bool to bool 2011-11-10 15:54:48 +01:00
Markus Mohrhard
128947050b sal_Bool->bool in ScDocument 2011-11-07 03:26:31 +01:00
Markus Mohrhard
5b47818367 merge area does not need to be increased if a shadow is attached 2011-09-06 23:53:43 +02:00
Gabor
0e9d01756c debug build errors 2011-08-23 14:05:22 +01:00
Caolán McNamara
aca6b30d64 ByteString::->rtl::OStringBuffer 2011-07-21 09:27:56 +01:00
Jacek Wolszczak
45df4e3859 Replace DBG_* with OSL_* in sc/source/core 2011-05-27 06:03:37 +02:00
Cédric Bosdonnat
7d34d4b5d2 Moved SvxBorder* into editeng namespace to avoid duplicate DOUBLE on windows 2011-03-28 11:19:00 +02:00
Cédric Bosdonnat
89d3e8a842 Switching the order of the SetLinesWidth arguments 2011-03-19 17:56:23 +01:00
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
Thomas Arnhold
4eaadbac94 Use OSL_DEBUG_LEVEL 2 2011-03-13 16:44:10 +01:00
Thomas Arnhold
ea6ae37c1b Move DBG_ERROR to OSL_FAIL for strings GetBuffer() 2011-03-13 16:44:09 +01:00
Kohei Yoshida
12343c1556 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 2011-03-10 20:21:13 -05:00
Guillaume Poussel
68d51d0040 Remove bogus comments. 2011-03-02 21:32:22 +01:00
Thomas Arnhold
a6e69f8fcd Move DBG_ERROR to OSL_FAIL 2011-03-02 14:58:56 +01:00
Alfonso Eusebio
449c729fc6 Call-catcher: removed unused functions in calc
Removed unused functions from calc using the call-catcher list available
in Easy Tasks (first batch).
2011-02-01 09:26:56 -05:00
Thomas Arnhold
4f5cee76c8 Remove DBG_INVALIDATE 2011-02-01 14:17:04 +01:00
Mikhail Voytenko
cd42389ad6 removetooltypes01: #i112600# remove tooltypes from sc 2011-01-17 13:20:22 +01:00
Topround aka Zathuras
4de38f4e20 Remove commented out code
Also remove else blocks that were then emptied.

Signed-off-by: Tor Lillqvist <tlillqvist@novell.com>
2011-01-14 17:04:02 +02:00
Julien Nabet
78f53deaed some cppcheckcleaning 2011-01-09 21:11:58 +00:00
Kevin Hunter
b81dc97bed Translate some comments, and remove some dead code 2010-10-22 09:28:50 +01:00
Povilas Kanapickas
ee9befa313 Removed lots of dead code. 2010-10-20 11:21:55 +02:00
Sebastian Spaeth
63bb42ab7d Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-13 10:57:18 +02:00
Kohei Yoshida
7da57d17b6 Ported calc-distributed-cell-text-*.diff from ooo-build.
This feature enables horizontal 'distributed' alignment and vertical
'justified' and 'distributed' alignments for cell contents in Calc.
Note that this feature relies on ODF 1.2 extended in order for the
relevant cell attributes to be saved in ODS.
2010-10-05 11:19:10 -04:00
Kohei Yoshida
ebc9c4ca0f Ported calc-perf-xls-import-cellstyles.diff from ooo-build.
Like the previous commit, this one improves performance of large
xls files.
2010-10-04 14:19:05 -04:00
Justin Malcolm
4c2fcdee19 This gets rid of a great number of the comments
There are a great number of places in calc where code is commented out
with lines staring in "//UNUSED".  Since 'git' is being used, there is
no reason to keep old code like this in comments.
2010-09-28 22:45:09 -04:00
Kohei Yoshida
4ef978de83 sc-overwrite-char-font-attrs.diff: overwrite character level font attributes
n#374580, i#53545, i#96853

Overwrite character level font attributes when changing them at cell level
2010-09-15 14:09:38 +02:00
obo
b3579d71c6 koheirowlimitperf: #i109369# #i109373# #i109384# #i109385# #i109386# #i109387# #i109388# #i109389# #i109391# #i109934# #i109935# #i110116# #i111531# #i111887# #i112190# #i30215# increased the row limit to 1 million, and integrated lots of speed optimization and bug fixes to ensure Calc remains usable after the row limit increase. 2010-06-23 13:38:34 +02:00
Vladimir Glazunov
6918fdbcc7 CWS-TOOLING: integrate CWS kohei04 2010-03-22 17:49:38 +01:00
Kohei Yoshida
b62a698b9c kohei04: tab to whitespace & BOOL to bool etc to make MSVC compiler happy. 2010-03-09 09:38:03 -05:00
Vladimir Glazunov
22e99ad710 CWS-TOOLING: integrate CWS changefileheader2 2010-02-17 10:32:35 +01:00
Jens-Heiner Rechtien
4573ccfffd changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Mathias Bauer
8c182c140a CWS svxsplit: merge with m71 2010-02-04 17:59:58 +01:00
Frank Schönheit
ea62ada1ce copying nn's fix from CWS dba321a herein, original commit comment: #i108488# #i108512# don't remove SC_MF_SCENARIO in ScAttrArray::InsertRow, block-wise skipping in zip stream 2010-01-21 07:54:11 +00:00
Mathias Bauer
bf5462ddf6 #i107450#: build all other modules with new editeng lib 2010-01-08 18:32:51 +01:00
Mathias Bauer
2273b2793c #i103496#: move some fontsubstitution stuff from vcl to unotools to get xmloff vcl free 2009-10-19 13:22:39 +02:00
Mathias Bauer
a293d0a7b1 #i103496#: split svtools; improve ConfitItems 2009-10-16 00:05:16 +02:00