Commit graph

22930 commits

Author SHA1 Message Date
Kohei Yoshida
b26ccbb70a n#677917: Try a bit harder to determine the number format of a dimension.
The old code always took the number format of the first member of the
dimension.  We should at least try the first 10 members to determine
what number format to use.

BTW this is just a stop-gap measure; to fix it properly we need to
use a better cache table structure that properly marks empty cells.
2011-04-26 17:14:11 -04:00
Kohei Yoshida
597bd66fc6 Prefer empty() over size() where it makes sense. 2011-04-26 16:43:54 -04:00
Kohei Yoshida
ee7ec39b3b Let's use the constant in unonames.hxx to be consistent. 2011-04-26 16:40:34 -04:00
Kohei Yoshida
d5f16e508f Put more source local functions into anonymous namespace. 2011-04-26 14:33:32 -04:00
Kohei Yoshida
423904ecc6 Fixed doubly nested anonymous namespaces. 2011-04-26 14:25:24 -04:00
Kohei Yoshida
daa5f4f346 Moved ScDPOutputImpl into the source file of ScDPOutput.
The point of having an impl class is so that we can hide it in the
implementation.  Let's keep this in an anonymous namespace to keep
its symbols from being exported.
2011-04-26 14:21:05 -04:00
Kohei Yoshida
ebf9e2f0dc Killed more sal_Bool family & tabs. 2011-04-26 13:15:36 -04:00
Kohei Yoshida
f0fc8d79da Ugh! 2011-04-26 13:11:11 -04:00
Kohei Yoshida
6b22b46470 Let's make the class name more descriptive and be consistent. 2011-04-26 13:08:28 -04:00
Kohei Yoshida
908b446620 killed sal_Bool and tabs. 2011-04-26 13:02:07 -04:00
Markus Mohrhard
0990f159a5 support export of sheet local anonymous db data to excel binary 2011-04-26 12:34:16 -04:00
Markus Mohrhard
a627e42b98 make excel binary import use anonymous db data 2011-04-26 12:34:07 -04:00
Markus Mohrhard
c29cc3f4f5 make VbaWorksheet Autofilter work with sheet local DBData 2011-04-26 12:33:57 -04:00
Kohei Yoshida
3965636e9e n#689442: Don't forget to create undo object for normal merging. 2011-04-26 12:32:58 -04:00
Kohei Yoshida
c0c3091c23 n#689442: Don't forget to create undo object for normal merging. 2011-04-26 12:23:45 -04:00
Muthu Subramanian
624f379510 n#677811 HTML Export Fixes. More might be required!!!
* Fixed ColGroup export - it should be groups of them
  not all <col> listed there.
* <TBODY> should be exported only when THEAD and TFOOT
  are exported.
* Fixed many export of attributes, values need to be
  double quoted.
2011-04-26 21:43:48 +05:30
Muthu Subramanian
46f47b09b6 n#677811: Adjust/Shrink the ranges while copying.
The copy (ctrl+C) ranges are shrunk
iff the whole row or column is selected.
2011-04-26 21:37:30 +05:30
Petr Mladek
7e1da8e7f2 Version 3.3.99.3, tag libreoffice-3.3.99.3 (3.4.0-beta3) 2011-04-26 17:09:08 +02:00
Markus Mohrhard
ff0fec9260 fixed problem with return value in ScVbaWorksheet::createSheetCopyInNewDoc 2011-04-26 09:33:25 +01:00
Markus Mohrhard
5c07a11e3b support export of sheet local anonymous db data to excel binary 2011-04-25 17:05:26 -04:00
Markus Mohrhard
b8a80761b0 make excel binary import use anonymous db data 2011-04-25 16:22:13 -04:00
Markus Mohrhard
b6f878cd89 make VbaWorksheet Autofilter work with sheet local DBData 2011-04-25 16:22:09 -04:00
Kohei Yoshida
34ffc0609c Merge commit 'ooo/DEV300_m106' into m106 2011-04-25 15:21:51 -04:00
Kohei Yoshida
9698bb97a9 Fixed layout problem on Windows. It was not entirely platform independent. 2011-04-25 13:40:16 -04:00
Francois Tigeot
0be38078bf Remove OS/2 support 2011-04-25 08:15:30 +02:00
David Tardon
5edc9bb7ac remove obsoleted dep 2011-04-24 12:03:41 +02:00
David Tardon
69f0b91202 use the new UNO-related defs from CppunitTarget 2011-04-24 09:35:45 +02:00
Kohei Yoshida
ac5a0bf3c5 Excel only allows strings that are up to 32767 chars long (0x7FFF).
And if we exceed this limit even in one cell, Excel refuses to load
the whole document.
2011-04-22 20:53:57 -04:00
Kohei Yoshida
85c2c4cbd5 Fixed address input box to work in R1C1 mode.
Previously, typing a valid address in the address input box while
in R1C1 mode caused an invalid range error.  This commit fixes it.
2011-04-22 11:57:36 -04:00
Kayo Hamid
ee0110327a cppcheck inefficient checking for emptiness
From cppcheck: Using xxxx.empty() instead of xxxx.size() can be faster.
 xxxx.size() can take linear time but xxxx.empty() is guaranteed to take
 constant time
2011-04-22 11:31:04 +02:00
Robert Nagy
899cecdc41 disable the testCVE unittest for now because it breaks in some cases 2011-04-21 12:55:48 +02:00
Robert Nagy
9864542a3f disable the testCVE unittest for now because it breaks in some cases 2011-04-20 23:05:49 +02:00
Kohei Yoshida
a7f85daf7a fdo#36365: Watch out for NULL pointer de-referencing.
This causes print preview to crash under certain circumstances.
2011-04-20 00:13:42 -04:00
Joseph Powers
f83f528f6a Fix compile issue. 2011-04-19 21:09:12 -07:00
Julien Nabet
8afda8d711 Easy Hack: Add visibility markup to all component_get* functions 2011-04-19 22:45:11 +02:00
Kohei Yoshida
5df4ea0137 Don't forget to NULL the pointer after deleting the instance. 2011-04-19 16:35:13 -04:00
Kohei Yoshida
17c9b3e6f1 fdo#33341: Copy print ranges when copying sheet. 2011-04-19 15:28:02 -04:00
Kohei Yoshida
e89d148fda Fixed indentation mis-match. 2011-04-19 14:38:09 -04:00
Petr Mladek
84a5eca1e7 Version 3.3.99.2, tag libreoffice-3.3.99.2 (3.4.0-beta2) 2011-04-19 18:58:45 +02:00
Kayo Hamid
d9fbee7892 prefer prefix ++/-- operators 2011-04-19 10:29:48 +01:00
Kohei Yoshida
5d20154c5e More accurate error messages. 2011-04-18 14:39:36 -04:00
Kohei Yoshida
9a2969195d New unit test for toggling relative/absolute reference (Shift-F4). 2011-04-18 13:29:36 -04:00
Caolán McNamara
293096186d Resolves: fdo#36128 fix up paths for gbuild 2011-04-18 12:46:46 -04:00
David Tardon
cdc48cc064 move the code to gbuild 2011-04-17 19:06:48 +02:00
Julien Nabet
979365cde8 Some cppcheck cleaning 2011-04-17 15:47:21 +02:00
Julien Nabet
4d24eef011 Remove useless tests 2011-04-17 09:15:30 +02:00
Bjoern Michaelsen
ea60126450 use gb_CppunitTest_uses_ure 2011-04-16 20:10:45 +02:00
Kohei Yoshida
600eed413e fdo#36124: Fix relative/absolute toggling in R1C1 mode. 2011-04-16 01:37:45 -04:00
Kohei Yoshida
925551e7c6 fdo#35142: Avoid importing unnamed styles from XLS.
This actually causes undefined behavior since every cell is supposed
to be associated with some style.  One thing affected by this is ODS
export (as described in the bug).
2011-04-15 12:46:01 -04:00
David Tardon
c357788e4d use SAL_DLLPUBLIC_EXPORT for consistency 2011-04-15 17:15:11 +02:00