Commit graph

17198 commits

Author SHA1 Message Date
Takeshi Abe
6b280c938d delete NULL is safe 2011-10-07 10:24:24 +09:00
Caolán McNamara
0e600dd280 VALGRIND=memcheck => sc unit test discovered bug. 2011-10-06 12:01:31 -04:00
Caolán McNamara
2f632a0b39 woah, that's very not right 2011-10-06 10:10:34 +01:00
Markus Mohrhard
df1dc6edd4 fix for fdo#41381: local range names don't work with INDIRECT 2011-10-06 02:52:37 +02:00
Kohei Yoshida
f82ee56374 bnc#722045: Display page background color/image properly.
A regression from 3.3.  Calc wouldn't display page background color
or image in print preview.  This was a side effect of the removal
of the high-contract mode.

In 3.3, Calc purpusefully wouldn't show background color/image when
the app is in high contrast mode.  Now that the mode has been removed,
the code acted as though the high contract mode is always on, which
caused the background color/image to always be hidden in print preview.
2011-10-05 17:12:41 -04:00
Jan Holesovsky
4b23e3a6d8 fdo#41478 follow-up cleanup. 2011-10-05 17:34:48 +02:00
Olivier Hallot
556ef85430 Fix for bug fdo#41478 [UI]add "Protect Sheet" command in sheet popup menu
The fix adds a new entry in the sheet popup menu with Protect Sheet command
followinf the discussion in UX list, as indicated in the bug.
2011-10-05 17:34:47 +02:00
Kohei Yoshida
c1c115ccf7 String -> rtl::OUString. 2011-10-05 10:20:43 -04:00
Caolán McNamara
253576484f can replace ScfTools::AppendCString with SvStream::ReadCString 2011-10-05 08:58:12 +01:00
Kohei Yoshida
0e1de41755 bnc#719887: Encode virtual paths to local volume correctly.
When exporting to xls, we weren't encoding the so-called virtual paths
(used for recording external workbook paths etc) correctly when the
external docs were located under the same drive as the referencing doc.
This patch fixes this.
2011-10-04 21:59:17 -04:00
Noel Power
93580dbf23 bnc#705977 apply control name before control is inserted into Forms container 2011-10-04 11:58:34 +01:00
Caolán McNamara
2f18bcdeee WaE: add braces 2011-10-03 13:37:47 +01:00
Muthu Subramanian
15202ad5b2 n717290: Feature to allow string constants in chart ranges.
Chart ranges specifically for labels can now be of the form
="Label1". This allows labels to be picked from chart data (from UI)
rather than from the sheet.
2011-10-03 16:32:35 +05:30
Olivier Hallot
737ab5165c Fix for bug fdo#41310 - Need more room for localized string
The following patch resizes the sheet protection dialog to
display localized strings without truncation

Sizes adjusted for fontsize = 10
2011-10-03 09:28:51 +01:00
Olivier Hallot
56a12cfb13 fdo#41396 - Need more room for localized string (III)
Resizes one string in the named interval dialog to
display localized strings without truncation

Sizes adjusted for fontsize = 10
2011-10-01 23:39:55 -05:00
Olivier Hallot
4591fccc87 fdo#41393 - Need more room for localized string
Resizes the multiple operations dialog to
display localized strings without truncation

Sizes adjusted for fontsize = 10
2011-10-01 23:39:12 -05:00
Caolán McNamara
11cc59815a use read_uInt8s_AsOString instead of hand-crafted loop 2011-09-30 09:09:27 +01:00
Matúš Kukan
8de6948e4f fix trunk gcc compile errors 2011-09-29 13:22:57 +02:00
Caolán McNamara
a336daff85 ByteString->rtl::OString 2011-09-29 09:33:47 +01:00
Caolán McNamara
2774cab826 add modelines 2011-09-29 09:33:46 +01:00
Caolán McNamara
eff6245f98 ByteString->rtl::OStringBuffer 2011-09-28 09:20:33 +01:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Markus Mohrhard
acbeb839aa move the checkboxes below the more button 2011-09-27 16:06:03 +02:00
Markus Mohrhard
74d3dd420b add "Manage Names..." entry to Name Box/ScPosWnd 2011-09-26 18:15:14 +02:00
Noel Power
5609c512cd move OCX_Control ( and subclasses ) and OCX control export to oox 2011-09-26 12:06:04 +01:00
Markus Mohrhard
7a195b81be Manage Names: braodcast change in range names now directly 2011-09-24 16:09:44 +02:00
Markus Mohrhard
ae992dbe6c add local range names to "Name Box"/ScPosWnd 2011-09-24 16:09:44 +02:00
Markus Mohrhard
e9159d142a handle local range names from name box/navigator correctly 2011-09-24 16:09:43 +02:00
Markus Mohrhard
3b6fc983f4 show local range names in navigator 2011-09-24 16:09:43 +02:00
Michael Meeks
c8dc737208 re-factor XPropertyList derivatives to use a rtl::Reference
This cleans up a lot of lifecycle nasties and cleans up some serious
cut/paste code duplication issues at the same time. Cleanup the
naming of ColorTable -> ColorList to match the impl. too
2011-09-24 08:33:46 +01:00
Markus Mohrhard
176b9ee183 Manage Names: add comments and remove dead code 2011-09-24 03:52:33 +02:00
Markus Mohrhard
87e3d71ca6 Manage Names: refactoring in namedlg.cxx 2011-09-24 03:52:33 +02:00
Markus Mohrhard
4e83a42e43 show only relevant range names 2011-09-24 03:52:33 +02:00
Markus Mohrhard
b7b1446520 fix crash, various button problems, memory leak 2011-09-24 03:52:33 +02:00
Markus Mohrhard
24f4f5bc7a Manage Names: set new entry as selected 2011-09-24 03:52:32 +02:00
Markus Mohrhard
c7ac093eb5 inital work for new "Manage Names" dialog
still missing:
 * change the more button to something more modern
 * change the position of the range options to the place below the more
 button
 * insert/paste button is missing
 * last inserted item should be selected by default
additional future improvements:
 * filters
 * search bar
2011-09-23 20:37:55 +02:00
Caolán McNamara
fee307d452 deugly HTMLOutFuncs::ConvertStringToHTML 2011-09-23 09:02:24 +01:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Caolán McNamara
94f6a72f7a Revert "remove newly unused methods", used again
This reverts commit 9693764946ac3f27a0170d7556ee62276d7c3dcb.
2011-09-21 09:47:39 +01:00
Caolán McNamara
41ad3fcdba callcatcher: remove newly unused methods 2011-09-21 09:47:38 +01:00
Thomas Arnhold
be6a8677a6 OSL_TRACE: Remove trailing newlines
Done with perl regex:
s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs;

- removed trailing whitespaces and (multiple) newlines
2011-09-21 09:28:39 +02:00
Kohei Yoshida
665d101195 Get DB range import from xlsx to work once again.
We need to map Excel's database ranges (or in Excel's terminology
"tables") to named db ranges because they may be referenced in formula
expressions.  Also, Excel tables are always of the form Table*[] when
used in formulas.  Skip the "[]" part then the preceding token is a
valid database range.
2011-09-20 17:12:46 -04:00
Regina Henschel
3e5edf6ca9 Add missing chart data point ODF1.2 standard symbols 2011-09-20 12:14:13 -04:00
Kohei Yoshida
012e7d8a28 sal_True to true. 2011-09-19 20:53:18 -04:00
Kohei Yoshida
0835658b7d Store previously selected tables in std::set. 2011-09-19 20:49:19 -04:00
Kohei Yoshida
c2ab21aa25 A little cleanup. 2011-09-19 20:19:16 -04:00
Kohei Yoshida
0783e78de2 Let's avoid modifying the selection data during search and replace.
The previous code was modifying the selection data (ScMarkData) in
a not-so-obvious fashion during the search and/or replace.  Let's only
modify selection in the view code to avoid surprises.  The document
model shouldn't be modifying the view model.

Those methods that were taking a reference to ScMarkData now take a
const reference instead.
2011-09-19 19:56:16 -04:00
Kohei Yoshida
5660bc7573 Pass as const reference where possible & indent fix. 2011-09-19 19:56:16 -04:00
Kohei Yoshida
2bb34a2f93 Removed an unnecessary anonymous temporary object. 2011-09-19 19:56:16 -04:00
Caolán McNamara
b8fdb51d76 Resolves: rhbz#738255 avoid crash on NULL pointer 2011-09-15 12:50:54 +01:00