Commit graph

22592 commits

Author SHA1 Message Date
Kohei Yoshida
3965636e9e n#689442: Don't forget to create undo object for normal merging. 2011-04-26 12:32:58 -04:00
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
Kohei Yoshida
9698bb97a9 Fixed layout problem on Windows. It was not entirely platform independent. 2011-04-25 13:40:16 -04: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
Robert Nagy
899cecdc41 disable the testCVE unittest for now because it breaks in some cases 2011-04-21 12:55:48 +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
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
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
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
Markus Mohrhard
aec67afa21 fix for fdo#34763 add method Copy to ScVbaWorksheets 2011-04-15 15:00:23 +01:00
Kohei Yoshida
f671eccb83 New test for function evaluation with missing parameters. 2011-04-14 22:46:33 -04:00
Kohei Yoshida
6bd7d86f35 Removed an unused argument from a function. Let's make it simpler. 2011-04-14 22:24:41 -04:00
Kohei Yoshida
8728b663a2 fdo#34306: Insert a missing token for an ocSep followed by an ocClose.
Turns out that this behavior is more compatible with Excel's own
formula parser, *and* it fixes the error when parsing the test
document from the bug.

With this, we don't have to skip the trailing missing parameters
when importing XLS docs.
2011-04-14 21:48:42 -04:00
Kohei Yoshida
c67cfdb5a7 Revert "fdo#34306: Append fake parameter in case of un-even parameter count."
This reverts commit b45254a0d973e1da278d5e8d269b688628f2603f.

This is not the right approach, as re-saving the document to xls would
mess it up again.
2011-04-14 17:36:05 -04:00
Kohei Yoshida
5d771d92ea fdo#34306: Append fake parameter in case of un-even parameter count.
GETPIVOTDATA requires an even number of parameters.  But in Excel you
can leave the last parameter blank, which, when imported to Calc, gets
stripped off by the import filter.

Rather than supporting an empty parameter like Excel does, which requires
a bit more effort both in the import filter and the formula interpreter,
let's have the GETPIVOTDATA function compensate for the missing parameter
in-situ by adding an imaginary empty string as the extra parameter.
2011-04-14 16:04:16 -04:00
Caolán McNamara
307498002d windows needs BRAND_BASE_DIR as well 2011-04-14 17:40:36 +03:00
Kohei Yoshida
fb52f6262e Incorrect index value checking & use operator[] over at().
Take into account that the index value gets subtracted by 1 during
index value check.  Also, the index access follows after a range
value check, so there is no need to call at(), operator[] will do.
2011-04-13 23:19:36 -04:00
Kohei Yoshida
164317eda5 Convert OLE links from XLS doc into external ranges on import.
Linked cell ranges that are OLE links to other Excel documents were
previously ignored on import.  Let's import them but convert them
into external references which are more robust than OLE links.
2011-04-13 22:53:04 -04:00
Kohei Yoshida
18d6092b76 Silly indentation errors, remove friend statement, bool over sal_Bool. 2011-04-13 02:10:58 -04:00
Katarina Machalkova
2c2ea10d44 fdo#35345: Don't overwrite hidden cells in drag-fill operation
Also i#89232. Extracting relevant parts from 'calc66' CWS
2011-04-12 23:50:03 +02:00
Bjoern Michaelsen
0ebbbaccdb cleaning Module_sc.mk after cherry-picking 2011-04-12 18:10:54 +02:00
Bjoern Michaelsen
5cdd5c77d7 starting sc_ucalc unit test 2011-04-12 17:53:51 +02:00
Bjoern Michaelsen
b8d3e53102 fdo#36128: disabled testCVEs for now in ucalc.cxx as it fails 2011-04-12 17:03:10 +02:00
Bjoern Michaelsen
d00bf4bb5e reenable ucalc.cxx unittest in gbuild 2011-04-12 17:02:59 +02:00
Fridrich Štrba
87c7796cf9 fix a mixup with calling conventions 2011-04-12 11:39:46 +02:00
Petr Mladek
682f96553d Version 3.3.99.1, tag libreoffice-3.3.99.1 (3.4.0-beta1) 2011-04-11 17:52:53 +02:00
Kohei Yoshida
2f7564cb08 Update the source range with data in the pivot cache.
Pivot table's source range is stored in DCONREF record; however,
sometimes the real data range is larger than what DCONREF says, in
which case the real data size is specified in the pivot cache stream.
We need to properly resize the source range in such scenarios.
2011-04-08 12:44:31 -04:00
Kohei Yoshida
302acfdea9 Forgot to remove printf. 2011-04-07 14:33:32 -04:00
Cédric Bosdonnat
32cefbced2 i#20348: made the ordinal suffixe autocorrection internationalized 2011-04-07 18:27:14 +02:00
Markus Mohrhard
48b23fbd5e fix cast to implementation objects failure from some vba objects
old calls attempting to cast to implementation objects now fail ( and crash on access ) because we now wrap some objects via a aggregation proxy. This patch fixes this
2011-04-07 17:14:41 +01:00
Kohei Yoshida
bc617d8135 Ported calc-string-number.diff from the build repo.
This change allows string numbers (even fractional numbers) to be
treated as numbers.  Note that fractional numbers are local-dependent,
and the current locale's number formatting is used to interpret them.
2011-04-06 23:41:59 -04:00
Kohei Yoshida
31cc9baa5c Renamed methods for consistency. 2011-04-06 16:09:47 -04:00
Kohei Yoshida
181030a3a3 Fixed horizontal alignment issues for vertical text with text wrap on. 2011-04-06 16:01:56 -04:00
Kohei Yoshida
c00869115d Branching in the main function to call appropriate sub-methods. 2011-04-06 16:01:56 -04:00
Kohei Yoshida
bf8226c605 Do the same for top-bottom text direction. 2011-04-06 16:01:56 -04:00
Kohei Yoshida
b84097fa26 Extracted a method that adjust hyperlinks in PDF output. 2011-04-06 16:01:56 -04:00
Kohei Yoshida
ebd4a8d8fe More sharing of common code blocks. 2011-04-06 16:01:56 -04:00
Kohei Yoshida
9771ab7586 Extracted a method to read cell content. That code is common in both methods. 2011-04-06 16:01:56 -04:00
Kohei Yoshida
9c4e7d41c6 More cleanups. 2011-04-06 16:01:56 -04:00
Kohei Yoshida
c60c5c1223 isVerticallyOriented() is always true in this method. 2011-04-06 16:01:56 -04:00
Kohei Yoshida
4d37821409 Asianl vertical is always false in bottom-top orientation. 2011-04-06 16:01:56 -04:00
Kohei Yoshida
519c03240f Remove the code that's not relevant to the bottom-top orientation. 2011-04-06 16:01:56 -04:00