Commit graph

22426 commits

Author SHA1 Message Date
Kohei Yoshida
2fb2ca5de1 Create data cache outside of the ScSheetDPData.
This will create a hook where we can detect error conditions before
going too deep.
2011-03-23 17:18:01 -04:00
Caolán McNamara
35966b3f52 unoxml.component seemed to move 2011-03-23 20:56:11 +00:00
Jan Holesovsky
099ef22601 Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/calc 2011-03-23 17:13:24 +01:00
Jan Holesovsky
acfdc69e78 Merge commit 'ooo/DEV300_m103'
Conflicts:
	sc/source/filter/starcalc/scflt.cxx
	sc/source/ui/unoobj/chart2uno.cxx
2011-03-23 16:58:51 +01:00
Katarina Machalkova
8f001b2911 Useless comments--, FIXME-- 2011-03-23 14:01:33 +01:00
Katarina Machalkova
b77de92805 Fixed binary import/export of MSO drawing objects
(related to row limit++ changes - bnc#504623, fdo#32106)
2011-03-23 13:30:19 +01:00
Katarina Machalkova
6bda3610fe Fixed binary import/export of formulas
(related to row limit++ changes - bnc#504623, fdo#32106)
2011-03-23 13:26:45 +01:00
Katarina Machalkova
6318254d63 Calc xlsx export row limit++ (bnc#504623, fdo#32106)
re-introducing the ability to export sheets with more than 65k rows
which disappeared with shared bin+OOXML filter transition
2011-03-23 13:22:51 +01:00
Kohei Yoshida
62caf690ce Don't auto-adjust date and time values per column width. (fdo#34484)
Actually we want to auto-adjust values per column width *only when*
the implicit number format is pure numeric.  Note that each cell may
have two associated number format types: one that's set by the user
explicitly, and one that's set by the formula interpreter inplicitly.
We need to care for both.
2011-03-22 22:58:36 -04:00
Kohei Yoshida
e9dda98dac Let's not clear single cell selection after enter-paste. (fdo#35116) 2011-03-22 19:52:39 -04:00
Kohei Yoshida
51fea25014 Added unit test for data area calculation. 2011-03-22 16:19:33 -04:00
Kohei Yoshida
93e5042671 Let's check for borders only when calculating printable pages.
The original change was introduced to allow printing of sheets that
only has cell borders without any data cells.  But, the change was
not put in the right scope, and ended up affecting all kinds of
run-time behaviors. (fdo#33621, fdo#33671)

Also fixed some uninitialized data numbers.
2011-03-22 13:38:54 -04:00
Caolán McNamara
116fc6f1bf Resolves: #i117506 dodgy lclConvertTimeInterval 2011-03-22 15:20:33 +00:00
Noel Power
1ded68b34e get excel vba import to work
use the correct servicename ( seems that is changed in the merge )
2011-03-22 15:04:31 +00:00
Michael Meeks
33c8073b3e fix mis-merge crash related to mis-aligned func. desc. resource reading 2011-03-22 13:26:29 +00:00
David Tardon
454df28682 beware of invalidated iterator 2011-03-22 14:11:39 +01:00
Caolán McNamara
2c47e10e1b get regression test working again 2011-03-22 11:49:41 +00:00
Caolán McNamara
c10e3bcf9d port regression tests to passive uno registration 2011-03-22 10:37:22 +00:00
Kohei Yoshida
a0872eae81 Fix seg faults on sheet deletion.
Sometimes a simple sheet removal causes segfault in certain types of
documents.  Not always reproducible, but this fix is certainly safer.
(n#680272)

Signed-off-by: Noel Power <nopower@novell.com>
2011-03-21 16:05:33 -04:00
Dózsa Bálint
74cac597d2 FIX BUG 32559 - calc 2011-03-21 12:10:06 +00:00
Caolán McNamara
d5d663c24d WaE: nColumnCount unused 2011-03-21 10:02:29 +00:00
Cédric Bosdonnat
dc78b91609 Fixed the odf import of border in calc: style was missing 2011-03-19 17:56:24 +01:00
Cédric Bosdonnat
0ffe180cf6 Added the new border types to the HTML export 2011-03-19 17:56:24 +01:00
Cédric Bosdonnat
9503970fda sc: don't draw the slanted border twice at all tp remove visual side effects 2011-03-19 17:56:24 +01:00
Cédric Bosdonnat
d1433fd922 sc: draw slanted borders using the drawinglayer primitives 2011-03-19 17:56:24 +01:00
Cédric Bosdonnat
f1731d3810 Using drawinglayer for the rotated cells horizontal borders 2011-03-19 17:56:23 +01:00
Cédric Bosdonnat
7893e658e8 Use svx::frame::DrawRange with the drawinglayer in calc now 2011-03-19 17:56:23 +01:00
Cédric Bosdonnat
89d3e8a842 Switching the order of the SetLinesWidth arguments 2011-03-19 17:56:23 +01:00
Cédric Bosdonnat
e881f7d231 Draw nice borders using drawinglayer 2011-03-19 17:56:23 +01:00
Thomas Arnhold
e52051f501 Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...) 2011-03-19 14:05:33 +01:00
Kohei Yoshida
083f8a897c Charts' title reference is stored as relative reference. (fdo#35015)
For whatever reason, chart's title name references are stored as
relative references as opposed to absolute references.  Store the
relative reference values to the absolute values since the ref token
helper methods only use the absolute values when joining.
2011-03-18 21:58:30 -04:00
Michael Meeks
d8420530bc fix array bounds problem that crept in from OO.o 2011-03-18 17:35:05 +01:00
Caolán McNamara
156784064a simplify lcl_GetRelativePos. 2011-03-18 11:33:09 -04:00
Jan Holesovsky
bfba2edf75 Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/calc 2011-03-18 16:03:14 +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
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
obo
9f608513ff CWS-TOOLING: integrate CWS obo55 2011-03-16 09:10:50 +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