summaryrefslogtreecommitdiffstats
path: root/sc/inc/queryparam.hxx
Commit message (Collapse)AuthorAgeFilesLines
* loplugin: inlinesimplememberfunctionsNoel Grandin2014-06-091-1/+1
| | | | Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
* fixincludeguards.sh: scThomas Arnhold2014-04-191-2/+2
| | | | sorry, huge one...
* Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann2014-03-271-2/+2
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
* resolved fdo#71589 reimplemented horizontal range lookupEike Rathke2013-11-281-0/+1
| | | | | | | | | | | | | | | | | Regression introduced with ebdd9c300718bce454ef56a31d5d8fb699fc1822 (first eaea417bfdf8d06df2b7f2e42c904c32ce77e871) that removed the bMixedComparison member from ScQueryParam under the false assumption that is was only used to emulate a legacy Excel behavior. In fact it was also needed to do the at least horizontal range lookup in sorted mixed data, though didn't evaluate exactly the same conditions as Excel and defined in ODFF. Reimplemented a similar behavior for the new code structures but this time also checking for the additional condtion that a query ByString does not return the last numeric result and vice versa, which previously was missing. Change-Id: I46061777879ba5301bfcaca2d50cf87a994f93f2
* Store svl::SharedString in query entry items, and adjust all call sites.Kohei Yoshida2013-10-111-1/+7
| | | | Change-Id: Ifd3bbb84c7abbe983a017a169c7e05914ef33450
* fdo#62475 removed pointless commentsJelle van der Waa2013-08-311-10/+0
| | | | | | | Change-Id: Ifc9837e9f6e3c6a84e9f01c192f10271b184fb6d Reviewed-on: https://gerrit.libreoffice.org/5720 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* Reduce dependency on the matrix header.Kohei Yoshida2013-07-011-1/+1
| | | | Change-Id: Iade09d108aec78f8cbe92f9103f206d0c99fab8e
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-071-1/+1
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* re-base on ALv2 code. Includes:Michael Meeks2012-12-041-23/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches contributed by Herbert Duerr i#118735 prevent endless loop if vlookup/hlookup doesn't find anything http://svn.apache.org/viewvc?view=revision&revision=1239673 Patches contributed by Andre Fischer remove lp_solver http://svn.apache.org/viewvc?view=revision&revision=1199180 i#118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Armin Le-Grand i#118485 - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 i#118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 Patches contributed by lihuiibm i#108860 - Fix range validation. http://svn.apache.org/viewvc?view=revision&revision=1242846 i#118954 Chart data will lost after copy to different file http://svn.apache.org/viewvc?view=revision&revision=1301345 Patches contributed by Ariel Constenla-Haile Fix Linux build breaker: extra qualification on member http://svn.apache.org/viewvc?view=revision&revision=1301591 i#118696 - i#118697 - Fix some Sheet Tab Color API issues http://svn.apache.org/viewvc?view=revision&revision=1225428 i#118697 - Fix uninitialized variable http://svn.apache.org/viewvc?view=revision&revision=1225859 i#118771 - ScUndoImportTab should preserve tab background color http://svn.apache.org/viewvc?view=revision&revision=1230356 i#118921 - Repaint linked sheet tab background color after updating link http://svn.apache.org/viewvc?view=revision&revision=1245177 i#118927 - Undo/Redo "Update Link" does not reset sheet tab color http://svn.apache.org/viewvc?view=revision&revision=1245241 i#118747 - Copy tab color when transferring sheets across documents http://svn.apache.org/viewvc?view=revision&revision=1230355 Patch contributed by Oliver Rainer-Wittman i#118012 - methods <ScBroadcastAreaSlot::AreaBroadcast(..)> and <ScBroadcastAreaSlot::AreaBroadcastInRange(..)> adapt stl-container iteration in order to avoid destroyed iterators during iteration. http://svn.apache.org/viewvc?view=revision&revision=1297916 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 Patch contributed by Daniel Rentz calc69: #i116936# fix VBA symbol Cells http://svn.apache.org/viewvc?view=revision&revision=1172135 Patches contributed by leiw: i#118546 CPU 100% on switched off AutoCalculate with Conditional Formatting on date values http://svn.apache.org/viewvc?view=revision&revision=1301380 Re-add new function documentation. Many various cleanups. Add missing calc66: #o11817313# also look at formula result number format, remove redundant binaries.
* Use iterators over index access.Kohei Yoshida2012-06-061-1/+9
| | | | | | This makes ValidQuery *slightly* faster. Change-Id: I9fff6099b597d7a8d4d5a4358099348baa657802
* Populate the query entries directly.Kohei Yoshida2011-11-181-0/+1
|
* Replace DeleteQuery with RemoveEntryByField.Kohei Yoshida2011-11-181-2/+1
| | | | The latter takes care of iterating through the elements.
* Remove the query entry when all items are selected.Kohei Yoshida2011-11-181-1/+3
|
* Now the new popup works somewhat as expected.Kohei Yoshida2011-11-181-1/+1
|
* Handle query after the popup gets dismissed by clicking OK.Kohei Yoshida2011-11-181-0/+1
| | | | But it's not working right. :-(
* Revert "Revert "Removing the mixed comparison flag, which is no longer needed.""Kohei Yoshida2011-11-141-1/+0
| | | | This reverts commit 7d7036c235a92268f23cc04eab8abcb08cddeb3f.
* Revert "Removing the mixed comparison flag, which is no longer needed."Kohei Yoshida2011-11-111-0/+1
| | | | This reverts commit eaea417bfdf8d06df2b7f2e42c904c32ce77e871.
* Removing the mixed comparison flag, which is no longer needed.Kohei Yoshida2011-11-101-1/+0
| | | | | | | This flag was introduced years ago to deal with Excel's behavior on incorrectly sorted data range. But later versions of Excel no longer follow that behavior & keeping this flag would make the evaluation code unnecessarily more complex & hard to adopt to multi-item matching.
* Encapsulated empty and non-empty filter criteria.Kohei Yoshida2011-11-071-9/+0
| | | | Because those two conditions were not very obvious.
* forgot to amend these changes to my last commitMarkus Mohrhard2011-11-071-1/+1
|
* String->OUString in ScDocument and follow upMarkus Mohrhard2011-11-071-1/+1
|
* Moved ScQueryEntry into its own file set.Kohei Yoshida2011-11-051-43/+5
| | | | Because I'll be modifying this struct in the next few days...
* Hide the query strings member, and add relevant methods for it.Kohei Yoshida2011-11-041-3/+6
|
* Do the simple string equality matching in ScQueryEntry instead.Kohei Yoshida2011-11-041-1/+2
|
* Set pStr private and discovered several more direct access to this member.Kohei Yoshida2011-11-041-1/+3
|
* Remove direct access to the query string (pStr).Kohei Yoshida2011-11-041-0/+3
| | | | I'm about half-way through.
* Moved ScQueryEntry out of global.?xx to queryparam.?xx.Kohei Yoshida2011-11-041-0/+39
| | | | This is more appropriate.
* const correct ness etc & mutable only for lazy-initializing accessor.Kohei Yoshida2011-11-041-4/+5
|
* Let's not use a hard-coded MAXQUERY all over the place.Kohei Yoshida2011-11-041-1/+1
| | | | | | | For now, the maximum query size is determined by the size of the vector that holds the entries. For now, the size of the vector is fixed, and won't change. We may later work on making it dynamically sized, however...
* Removed the dynamic row bits from the db range. It was a hack.Kohei Yoshida2011-04-011-3/+1
| | | | | | This concept was there before the Hamburg added their own mechanism to allow dynamic expansion of db ranges. There is no need to have two of them, or it would cause weird problems.
* Merge remote-tracking branch 'origin/integration/dev300_m101'Jan Holesovsky2011-03-181-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: chart2/source/controller/main/UndoManager.cxx chart2/source/tools/RegressionCurveHelper.cxx sc/inc/address.hxx sc/inc/attrib.hxx sc/inc/bigrange.hxx sc/inc/callform.hxx sc/inc/cell.hxx sc/inc/chartarr.hxx sc/inc/chartlis.hxx sc/inc/chgtrack.hxx sc/inc/collect.hxx sc/inc/compiler.hxx sc/inc/detdata.hxx sc/inc/document.hxx sc/inc/fillinfo.hxx sc/inc/olinetab.hxx sc/inc/prnsave.hxx sc/inc/queryparam.hxx sc/inc/sc.hrc sc/inc/scabstdlg.hxx sc/inc/table.hxx sc/inc/validat.hxx sc/inc/zforauto.hxx sc/source/core/data/documen2.cxx sc/source/core/data/document.cxx sc/source/core/data/table1.cxx sc/source/core/tool/address.cxx sc/source/core/tool/token.cxx sc/source/filter/excel/frmbase.cxx sc/source/filter/excel/impop.cxx sc/source/filter/excel/xename.cxx sc/source/filter/inc/formel.hxx sc/source/filter/inc/xename.hxx sc/source/filter/xml/xmlexprt.cxx sc/source/filter/xml/xmlnexpi.cxx sc/source/filter/xml/xmlnexpi.hxx sc/source/ui/dbgui/filtdlg.cxx sc/source/ui/inc/docfunc.hxx sc/source/ui/inc/namedlg.hxx sc/source/ui/namedlg/namedlg.cxx sc/source/ui/src/namedlg.src
| * Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Kohei Yoshida2011-03-101-2/+2
| |\
| | * removetooltypes01: #i112600# remove tooltypes from scMikhail Voytenko2011-01-171-2/+2
| | |
* | | translate german comments in /sc/incNicolas Christener2011-03-131-1/+1
|/ /
* | Remove old RCS lines.Thomas Arnhold2011-01-211-3/+0
| |
* | Ported calc-formula-db-function-fix.diff from the build repo.Kohei Yoshida2011-01-191-0/+6
| | | | | | | | This patch fixes n#594332 and n#595713.
* | add modelines to .hxx files as wellCaolán McNamara2010-10-281-0/+3
| |
* | sc-dbrange-dynamic-resize.diff: Dynamically resize filtered range.Kohei Yoshida2010-09-151-0/+2
|/ | | | | | n#352662, i#85305 Dynamically resize filtered range when new data rows are present.
* last cleanup - use vector to store an array of ScQueryEntry, instead of the ↵Kohei Yoshida2009-09-161-6/+7
| | | | old-fashioned c-style dynamic array.
* removed the duplicated ScTable::ValidQuery.Kohei Yoshida2009-09-161-1/+5
|
* Moved the string flag from the iterator to the query param struct.Kohei Yoshida2009-09-161-0/+1
|
* #i102750# more work toward supporting external refs in DB functions. Still ↵Kohei Yoshida2009-09-091-14/+45
| | | | a long way to go...
* #i102750# initial refactoring in an effort to support external references in ↵Kohei Yoshida2009-09-091-0/+105
DSUM, DGET etc. Not finished yet.