summaryrefslogtreecommitdiff
path: root/sc/inc/dptabres.hxx
AgeCommit message (Collapse)Author
2013-10-20drop unnecessary tools/string includesCaolán McNamara
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-03de-GetBuffer calcCaolán McNamara
Change-Id: I6bb013cc32d5b363dd08738543b1fb834d39f516
2013-08-31fdo#62475 removed pointless commentsJelle van der Waa
Change-Id: Ifc9837e9f6e3c6a84e9f01c192f10271b184fb6d Reviewed-on: https://gerrit.libreoffice.org/5720 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-07-11fdo#66655: Get GETPIVOTDATA to work again.Kohei Yoshida
1) Compare data field name as it is displayed in the table output. 2) In the result tree, store field member names as strings as displayed in the table output, instead of as ScDPItemData. GETPIVOTDATA operates on displayed cell values and do textural comparison. There is no use storing ScDPItemData which screws up value lookup in the result tree. Change-Id: I31bc03a6800f4fadf2ba1180d1958354d43e8a07
2013-07-01Start moving all these DEBUG_FOO into calcmacros.hxx.Kohei Yoshida
This header was formerly dpmacros.hxx, now renamed to calcmacros.hxx. Change-Id: I2ed768b7c5678f5216b1e93df2c0cede0c548be4
2013-04-19fdo#60300: Work-in-progress change to rework pivot table core.Kohei Yoshida
The idea is to avoid parsing the pivot table sheet output in order to calculate GETPIVOTDATA. The table outout is configurable, and it will only be more configurable in the future. The gist of my rework is to calcualte the result of GETPIVOTDATA with the internl result tree alone. Also, the same result tree can be used for drill down too, which also currently parses the table output, therefore subject to the same limitation & fragility. Change-Id: Ib0147e2aa2b710dfd627df7f535a685301214a52
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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
2013-02-15Add a quick way to dump the content of pivot table result tree.Kohei Yoshida
This is to be used for debugging. Change-Id: Ie5a5ebd66a701937ab806e2370ded85ba557de5b
2013-02-14Disable DumpState() and its friends when not debugging pivot code.Kohei Yoshida
I was just about to add a similar set of functions to dump the internals, but I can re-use these. Change-Id: I212f0a6ea7a32233991f6cdb64e27be39c5af2ee
2013-02-14Why in the world would anyone pass an integer as a const reference...Kohei Yoshida
Change-Id: Ibd205e972c3c16ef68db2909496704c05161c4e8
2013-02-14This should be a struct & let's not put everything in header.Kohei Yoshida
Change-Id: Ic9b56092d5dcc3f2dc48d8f0909cb1e3f967c3d5
2013-02-14Actually we can just swap them. The originals are not used after this call.Kohei Yoshida
This avoids redundant copying of vectors. Change-Id: I1da8295774a1a39fd4df021fee1a3036134067a8
2013-02-14Use std::vector instead of C-style arrays.Kohei Yoshida
Change-Id: I593c6c50aeb4ead723076d01e7113de154e2557d
2013-02-14Pass ScDPSource to ScDPResultData as a reference.Kohei Yoshida
Change-Id: Ia864643c8285de76cb9b026b93b396abd897202d
2013-02-14Misc cleanup - scope reduction, string, class description etc.Kohei Yoshida
Change-Id: I607efcda0f24d6d6c6b1359858fed417475ccde1
2013-02-14More boolean cleanups.Kohei Yoshida
Change-Id: I27dc69f92a196137cb218fa5254e40dbe920f7c0
2013-02-14String to OUString.Kohei Yoshida
Change-Id: I04abefbb43f65406a01690e62ab7b8ea6c4f9eb9
2013-02-14Massive sal_Bool to bool conversion.Kohei Yoshida
Change-Id: I9fa22b4c5a85b0ddf83a1d7b0e8be0a1134ea19a
2013-02-13ScDPValueData->ScDPValue. The last 'Data' sounds very redundant.Kohei Yoshida
Change-Id: I218315a0583ce6b0f10969b364a7a717ad309212
2013-01-04Remove SC_DP_MAX_FIELDS from ScDPRunningTotalState too.Kohei Yoshida
Change-Id: I60bf45fd5148692adafb050189247f211293a3d1
2013-01-04Remove hard-coded upper field limit from ScDPInitState.Kohei Yoshida
This was going to cause trouble sooner or later.... Change-Id: I5eea2ba7b1cc4e358a0192b4863d79596549bad9
2013-01-03fdo#58004: Fix out-of-bound access to std::vector.Kohei Yoshida
Two things were wrong with the old code: 1) it didn't check for out-of-bound access, and 2) used SC_DP_MAX_FIELDS as the upper bound of dimension members, when in fact SC_DP_MAX_FIELDS was the upper bound of dimensions themselves,. not their members. We shouldn't impose such upper bounds actually, at least not in the core implementation. We should do that in the UI code if we really have to. Change-Id: I307d4f34d2b0be84f0fd2b93a6270ffce2448bdf
2013-01-03Let's first fix this horrible formatting.Kohei Yoshida
Change-Id: I562ad42818fa7a6bfc765b7484a28ff1800b2949
2012-12-04re-base on ALv2 code. Includes:Michael Meeks
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.
2012-10-31Rename the files to reflect the class name change.Kohei Yoshida
Change-Id: I6223cd12ab539cd19555c0b23f2bce73f519a31f
2012-10-31Rename ScDPCacheTable to ScDPFilteredCache.Kohei Yoshida
I always wanted to do this. The new name reflects what it really does better than the old one. Change-Id: I3c90cce06d482f1453936ff3916eef9663bb417b
2012-07-30remove unnecessary includes of svl/svarray.hxxCaolán McNamara
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-06-23removed unused forward declarations of classTakeshi Abe
except moving ScPostIt into source/filter/inc/xeescher.hxx Change-Id: I85fbfe88e30edce5a48a65c494ced7b2129964ff
2012-03-23A little clean up.Kohei Yoshida
2012-03-12Remove unused code in dptabresSantiago Martinez
2012-03-09Massive rework to reduce the size of ScDPItemData.Kohei Yoshida
Currently lots of things are broken.
2012-02-09Cleaned up more header include silliness.Kohei Yoshida
2012-02-07Convert dptabres.cxx in SC module from SV_DECL_PTRARR_DEL to std::vector.Noel Grandin
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2011-11-15String to rtl::OUString.Kohei Yoshida
2011-11-15String to rtl::OUString.Kohei Yoshida
2011-11-15Replaced heap array with std::vector.Kohei Yoshida
2011-11-15sal_Bool to bool.Kohei Yoshida
2011-03-10Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Kohei Yoshida
2011-02-06port repository calc to boost unordered containersFridrich Štrba
2011-01-17removetooltypes01: #i112600# remove tooltypes from scMikhail Voytenko
2011-01-14Remove commented out codeTopround aka Zathuras
Also remove else blocks that were then emptied. Signed-off-by: Tor Lillqvist <tlillqvist@novell.com>
2011-01-09Removed unnecessary commentsChristina Rossmanith
2010-12-20callcatcher + 1 RTL_CONSTASCII_USTRINGPARAMserval
2010-10-28add modelines to .hxx files as wellCaolán McNamara
2010-04-09cmcfixes74: #i110717 fix new && || + meaningless const warningsCaolán McNamara
2010-03-23CWS-TOOLING: integrate CWS datapilotperfVladimir Glazunov
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2010-02-04datapilotperf: merge with DEV300_m71Niklas Nebel
2010-02-03datapilotperf: manual migration of changes by Wang Xu Ming from svn to hgNiklas Nebel