Commit graph

22448 commits

Author SHA1 Message Date
Kohei Yoshida
d16c2a87cf Let's not assign an index here, but have one auto-generated on insertion. 2011-03-25 23:36:13 -04:00
Caolán McNamara
d2cc2887d2 WaE: Index has to be unsigned 2011-03-25 15:42:04 +00:00
Noel Power
f6df8d4cd8 take into account streamname and codename needed match casewise
in servuno on loading up vba modules we try to resolve the worksheet objects based on the codename, from the filter's point of view the streamname = the codename and although this is true they can differ in case ( rare ).
2011-03-25 11:47:02 +00:00
Petr Mladek
075f9682de set build depencencies against the new "translations" module 2011-03-25 12:14:28 +01:00
Caolán McNamara
628582e43c these can go now post types change 2011-03-24 16:48:45 +00:00
Tor Lillqvist
55a21cff92 Link with VBAHELPERLIB too
I don't know why we need to link with VBAHELPERLIB, it is supposed to
contain just inline methods that get compiled in from the headers and
not needed to be linked with, says Noel.

If it is just here in a unit test, no big deal. If it turns out that
this should and can be fixed in some other way, this commit can be
reverted.
2011-03-24 17:34:07 +02:00
Caolán McNamara
f6bf4636fa WaE: unused variables 2011-03-24 15:18:15 +00:00
Caolán McNamara
d478848f16 WaE: consistent struct/class declaration 2011-03-24 12:36:52 +00:00
Caolán McNamara
521c5da2e1 windows uses BRAND_BASE_DIR instead of OOO_BASE_DIR 2011-03-24 11:44:01 +00:00
Kohei Yoshida
74bdcea0a0 Fix a build breakage on FC11. 2011-03-24 02:05:15 -04:00
Kohei Yoshida
1bc121be4f Select the first checked position. (fdo#31220)
The dialog appears less confusing this way.
2011-03-24 01:54:19 -04:00
Kohei Yoshida
418be7d658 ScDBData now stores ScSubTotalParam as member.
This cleans up its implementation quite a bit.
2011-03-24 01:07:14 -04:00
Kohei Yoshida
436715dac8 sal_Bool to bool. 2011-03-24 00:06:49 -04:00
Kohei Yoshida
d7d3d778b5 Moved ScSubTotalParam from global.* into own files. 2011-03-23 23:11:07 -04:00
Kohei Yoshida
76ec3cad48 Removed unused code. 2011-03-23 22:48:07 -04:00
Kohei Yoshida
24e4e05ec7 Cleaned up ScSubTotalParam. 2011-03-23 22:39:34 -04:00
Kohei Yoshida
bb5f6fa636 Prefer early return and reduce indent level. 2011-03-23 22:23:01 -04:00
Kohei Yoshida
b0abfa40c2 Extracted method for subtotals function. 2011-03-23 22:20:32 -04:00
Kohei Yoshida
7dc9768fef These string ID's are no longer resolved. Do as Writer does. 2011-03-23 19:00:03 -04:00
Kohei Yoshida
5d6aa83dff Remove IMPL_FAMILY macro; this is too much. 2011-03-23 18:55:32 -04:00
Kohei Yoshida
b2d2a3f59d Detect error conditions during initial datapilot construction.
Failure to do so would cause an segfault down the road.
2011-03-23 17:18:01 -04:00
Kohei Yoshida
104d96b443 Updated doc. 2011-03-23 17:18:01 -04:00
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