Commit graph

296689 commits

Author SHA1 Message Date
Markus Mohrhard
fe5f715cad and another missing component for xls 2011-11-18 22:34:12 +01:00
Markus Mohrhard
21c437d17b allow testing of bugfiles in sc's filters-test 2011-11-18 22:34:12 +01:00
Markus Mohrhard
5455ffb97e add component files so that we can import all ods, xls, xlsx in tests 2011-11-18 22:34:12 +01:00
Markus Mohrhard
84de459738 fix crash in dociter.cxx during import 2011-11-18 22:34:12 +01:00
Michael Stahl
986ac894f4 SwSectionFrm: s/sal_Bool/bool/ 2011-11-18 22:24:21 +01:00
Michael Stahl
eedfbf5b8b fdo#42865: let's try map file for windows only 2011-11-18 22:24:21 +01:00
Caolán McNamara
6c1ac01a4a fdo#42534: SwRootFrm: clear SwLayouter in dtor
This crash is probably a regression introduced by CWS swlayoutrefactoring.
2011-11-18 22:24:20 +01:00
Michael Stahl
9de2110e5b SwCursor::RestoreSavePos: assert on invalid position 2011-11-18 22:24:20 +01:00
Tomofumi Yagi
af0333e586 fdo#40831: SwCursor::RestoreSavePos:
Check that position is valid, so the cursor does not point to a
non-existent node.
2011-11-18 22:24:20 +01:00
Michael Stahl
82a716f29c fdo#40831: SwView::ExecSearch:
Replace may delete nodes, so the current cursor position must be stored
in a way so that it is corrected when nodes are removed.
2011-11-18 22:24:19 +01:00
Michael Stahl
e0d4e6f22a i#102333: SwDoc::ReplaceRangeImpl:
The fix for this (230fcf4a45) was not
quite right; there are 2 different join modes, and moving the cursor
backward is required in one of them, but not the other.

This can be seen when doing replace all ^$ with several consecutive
empty lines.
2011-11-18 22:24:19 +01:00
Michael Stahl
74f53711fa SwDoc::ReplaceRange: prevent assertion 2011-11-18 22:24:19 +01:00
Michael Stahl
72318173b6 SwUndoReplace::Impl::UndoImpl: prevent assertion:
unregister SwIndex local variable from node to be deleted
2011-11-18 22:24:19 +01:00
Michael Stahl
0fbd0bbfec SwWrtShell::GetDoStrings: bogus assertion 2011-11-18 22:24:18 +01:00
Michael Stahl
0d09e4025e ComponentTarget: do not generate broken component files 2011-11-18 22:24:18 +01:00
Michael Stahl
fa0512fe72 xmlsecurity: fix typo 2011-11-18 22:24:17 +01:00
Michael Stahl
a042c2a6ab svidl: write dependencies with cygwin paths 2011-11-18 22:24:11 +01:00
Kohei Yoshida
43cab25e27 Get top10, empty and non-empty special queries to work. 2011-11-18 16:20:24 -05:00
Kohei Yoshida
aaad72db33 Execute launching of standard filter dialog. 2011-11-18 15:51:19 -05:00
Kohei Yoshida
27434041af We probably don't need to do this for the new popup. 2011-11-18 15:44:18 -05:00
Kohei Yoshida
e2aca79c01 Register modes for non-standard autofiltering options. 2011-11-18 15:40:12 -05:00
Kohei Yoshida
ab5c5c9d80 Fix painting of autofilter buttons. 2011-11-18 15:26:58 -05:00
Kohei Yoshida
de171082fc Use scoped_ptr instead of auto_ptr; auto_ptr is deprecated. 2011-11-18 14:37:47 -05:00
Kohei Yoshida
e046efdbb5 Removing the switch. Now we use the new autofilter popup for good. 2011-11-18 14:13:25 -05:00
Kohei Yoshida
bf034403ac String to rtl::OUString. 2011-11-18 14:13:25 -05:00
Kohei Yoshida
e48ea72a2f A little cleanup. 2011-11-18 14:13:25 -05:00
Kohei Yoshida
c4e782743b Now we can import OR'ed conditions as single multi-item query.
But some restrictions do apply.
2011-11-18 14:13:25 -05:00
Kohei Yoshida
6437ca4293 sal_Bool to bool and other cleanup. 2011-11-18 14:13:24 -05:00
Kohei Yoshida
73ed12a506 We can now append query entry; no need to have this first empty member. 2011-11-18 14:13:24 -05:00
Kohei Yoshida
88c456a0dc Parse the query data first, then committing the query entries later.
This gives us the change to examine the query data and do some
special-casing depending.
2011-11-18 14:13:24 -05:00
Kohei Yoshida
f3083a10f3 Reduce indentation level by early bail out. 2011-11-18 14:13:24 -05:00
Kohei Yoshida
1e428385d2 sal_Bool to bool. 2011-11-18 14:13:24 -05:00
Kohei Yoshida
4f8976be9a Used constants if possible. 2011-11-18 14:13:23 -05:00
Kohei Yoshida
3c8348017b Finally load the multi-match conditions properly. 2011-11-18 14:13:23 -05:00
Kohei Yoshida
e85842d3d0 Set the db range to the query param first to calculate absolute column IDs.
It's less hacky this way.
2011-11-18 14:13:23 -05:00
Kohei Yoshida
e7e2f7c22a I need to parse the range up-front. 2011-11-18 14:13:23 -05:00
Kohei Yoshida
dff8c99b01 Populate the query entries directly. 2011-11-18 14:13:22 -05:00
Kohei Yoshida
25ef3f6b47 Pick up more boolean data directly. 2011-11-18 14:13:22 -05:00
Kohei Yoshida
0960ec3e1b Simplified & clarified the connection logic. 2011-11-18 14:13:22 -05:00
Kohei Yoshida
d540bdccf5 Let's use std::vector instead. 2011-11-18 14:13:22 -05:00
Kohei Yoshida
bbf435963e Removed pointless inlining of methods. 2011-11-18 14:13:22 -05:00
Kohei Yoshida
1249182e1c Store case sensitivity flag directly. 2011-11-18 14:13:21 -05:00
Kohei Yoshida
ba92fb9347 Store filter orientation in the query param. 2011-11-18 14:13:21 -05:00
Kohei Yoshida
ff6da5057d Started working on de-UNO-izing the filter import.
The idea is to keep a local ScQueryParam, have the XML parser fill it
as it parses, then commit that to the DB data.  Currently, the parser
stores it as UNO filter data, then we convert it to ScQueryParam at the
end.  Not very efficient.
2011-11-18 14:13:21 -05:00
Kohei Yoshida
1e39e93af9 Added handler to handle the new <table:filter-set-item> elements.
The export is working, while the import part is still in progress.
2011-11-18 14:13:21 -05:00
Kohei Yoshida
825d516672 Replace DeleteQuery with RemoveEntryByField.
The latter takes care of iterating through the elements.
2011-11-18 14:13:20 -05:00
Kohei Yoshida
5ca8b63c03 A little cleanup. 2011-11-18 14:13:20 -05:00
Kohei Yoshida
965d933ed9 Remove the query entry when all items are selected. 2011-11-18 14:13:20 -05:00
Kohei Yoshida
e2177c733e Now the new popup works somewhat as expected. 2011-11-18 14:13:20 -05:00
Kohei Yoshida
6c0242cddd Unused local var. 2011-11-18 14:13:19 -05:00