summaryrefslogtreecommitdiff
path: root/sc/inc/dpobject.hxx
AgeCommit message (Collapse)AuthorFilesLines
2015-07-06improve the returnbyref lopluginNoel Grandin1-2/+2
Change-Id: I1b510a6194282dfa4a9001d473127c5ebc8b44eb Reviewed-on: https://gerrit.libreoffice.org/16731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-05loplugin:staticmethodsNoel Grandin1-1/+1
Change-Id: I912187d6c481a2ba61fed9c01998bf6f3c08a6a0
2014-08-28bnc#822173: Initial work on exporting pivot cache and pivot table to xlsx.Kohei Yoshida1-0/+4
Still not perfect, but it somewhat does work. Change-Id: Ic248e20f7ab18a37f56b2034f57551dded956bab
2014-08-28Make some methods non-inline, and add method descriptions.Kohei Yoshida1-5/+9
Change-Id: Ib8d5fa666827a7f97035ad37d05e305bb920c300
2014-06-25remove whitespaceMarkus Mohrhard1-2/+0
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin1-3/+3
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin1-1/+1
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-04-19fixincludeguards.sh: scThomas Arnhold1-2/+2
sorry, huge one...
2014-02-03Remove SC_DLLPRIVATE -> SAL_DLLPRIVATE indirectionStephan Bergmann1-5/+5
Change-Id: I1360a96ebe33bd6d70ac7728844c4ba1137e51ab
2014-01-07fdo#72774: Add test for group field cache population on file load.Kohei Yoshida1-2/+1
Change-Id: Iddde39da57db0d6be9f066f3e2bdb0526932edc6
2013-12-10fdo#66969: Add test to ensure we import page field's visibility correctly.Kohei Yoshida1-2/+2
Change-Id: I407b1f552ce089c0ff1d6bdadc1cc618fb713646
2013-12-10fdo#66969: Reset group dimension data from all referencing pivot objects.Kohei Yoshida1-5/+5
The previous code was doing it only with the first referencing pivot table, which would break the rest of them sharing the same cache if the first one doesn't contain all group dimensions used in all of the referencing pivot tables. Change-Id: I35d6907ef8db7ed69db42583cac92b2b74406e2c
2013-12-10Allow dumping of internal states of pivot table objects for debugging.Kohei Yoshida1-0/+4
Change-Id: I5021ef61d9238da352e13bdd81a2f3607d0fb4aa
2013-12-06fdo#66984: Define an assignment operator to prevent double deletion.Kohei Yoshida1-0/+3
The code path was assigning one ScDPObject to another via assignment, but we didn't define one. So we were using the compiler generated assignment which only shallow-copies data members, which ultimately caused double-deletion of one of its data members. Change-Id: Ie98d0789e51aebff683dbcc0e533a9a0a87943d5
2013-12-06fdo#69518: Correctly handle the old constraint syntax.Kohei Yoshida1-0/+6
We apparently support this syntax for ODF-backward compatibility. To fix this, I resurrected ScDPObject::ParseFilters() which was removed as unused, adjusted it for the String->OUString change, and changed the filter data structure to the UNO one rather than using the old one we no longer use elsewhere. Change-Id: If52b38aaa1e8b208fb0ef9d92a6e853decdf43e3
2013-09-04Remove more unused methodsMarcos Paulo de Souza1-4/+0
Change-Id: I8fec40d767905bcca366257a67f669eaa1055cbc Reviewed-on: https://gerrit.libreoffice.org/5789 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-07-01Start moving all these DEBUG_FOO into calcmacros.hxx.Kohei Yoshida1-1/+1
This header was formerly dpmacros.hxx, now renamed to calcmacros.hxx. Change-Id: I2ed768b7c5678f5216b1e93df2c0cede0c548be4
2013-04-19We can remove all this code now.Kohei Yoshida1-2/+0
This code is the old GETPIVOTDATA implementation, which actually parses the pivot table output on the sheet (ugh!) to get the right value. It was susceptible to the table output being configurable. Change-Id: Iefbefa06b91fc6cfa7a21f9a8031bf6841c1d936
2013-04-19More progress. Getting more clue, but still not out of the dark yet.Kohei Yoshida1-2/+1
Change-Id: I0467cd95e2c6f2f353333b24e1aba737d99e5c20
2013-04-19fdo#60300: Work-in-progress change to rework pivot table core.Kohei Yoshida1-0/+5
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ňák1-36/+36
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-01-29Slightly better way to skip pivot table ranges during spell check.Kohei Yoshida1-2/+2
Change-Id: I43e45cbd11f532f35ca9f0063236850ebc2e518e
2013-01-29bnc#484599: Prevent pivot table from getting sheared when cells are shifted.Kohei Yoshida1-0/+4
Change-Id: Ic6766105bb221aa4ebc700cbf99b4f6f5b3abf8b
2013-01-11Let's remove this underused bAlive flag....Kohei Yoshida1-7/+0
It's no longer that useful in today's pivot table design. Change-Id: I665a7707126793dfde17a2221ba563d22a59aad1
2012-12-17callcatcher: update unusedcode code listCaolán McNamara1-2/+0
Change-Id: I3ba30e0745c8f2adac29a6c4ff15a8156cee4baf
2012-12-04re-base on ALv2 code. Includes:Michael Meeks1-30/+21
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-09-18Forward declaration cleanup in header files.Kohei Yoshida1-0/+4
Change-Id: I2bbfa48e49bb8c91c6d3e2bb485ded9e8e67f13b
2012-08-30fdo#53938: Don't proceed when error occurs.Kohei Yoshida1-1/+1
This prevents the same error dialog from appearing 3 times in a row, also the pivot table outout from becoming empty. Change-Id: I09a72f78561f3f0446a95732fb9c242c1144878a
2012-07-23-Werror,-Wshadow (Clang 3.1)Stephan Bergmann1-1/+1
...where a local variable in a nested class shadows a member of an outer class. Fixed by renaming the relevant outer class members as "m..." Change-Id: I6caa33914ff1060e08f66eadde879fb7b4e3e7cc
2012-07-05fdo#51266: Sync dimension members in several places upon refresh.Kohei Yoshida1-0/+6
Or else the pivot table would generate erroneous results or crash after refresh. Change-Id: Ia14a6e3d25112e6ecd62d21928639f75e6a8ba7c
2012-06-23removed unused forward declarations of classTakeshi Abe1-2/+0
except moving ScPostIt into source/filter/inc/xeescher.hxx Change-Id: I85fbfe88e30edce5a48a65c494ced7b2129964ff
2012-04-26Remove unused method ScDPObject::HasGroupsJavier Catala1-1/+0
2012-04-19Revert "do not include contents of huge sc/sd/sw libs into tiny unittests"Luboš Luňák1-10/+10
The need to export symbols for tests is apparently not considered worth the big extra disk space. This reverts commit 69d46dd7a6adfffd71da055bb65108c80d27395f. Conflicts: sd/CppunitTest_sd_uimpress.mk sw/CppunitTest_sw_swdoc_test.mk
2012-04-07do not include contents of huge sc/sd/sw libs into tiny unittestsLuboš Luňák1-10/+10
This decreases debug build dir size by about 0.5G for gcc and 1G for clang.
2012-04-05The real cleanup I meant to commit earlier...Kohei Yoshida1-3/+0
2012-04-05Revert "Cleanup. ScPivot(Collection) is no more."Markus Mohrhard1-0/+3
This reverts commit 568d3912bf8ced76ecb9506bccc3bd361daba082.
2012-04-04Cleanup. ScPivot(Collection) is no more.Kohei Yoshida1-3/+0
2012-03-23Some misc changes & some dumping facility for pivot table for debugging.Kohei Yoshida1-0/+6
2012-03-22When updating pivot table with groups, we need to clear the table data.Kohei Yoshida1-0/+1
2012-03-14When changing grouping in one pivot table, update all linked tables.Kohei Yoshida1-0/+9
We need to do this now because we now store the group field data directly in the pivot cache, which is shared by all referencing tables. Also, actions involving modification of the cache is not undoable, and making it undoable would significantly increase Calc's runtime memory footprint. So, no way.
2012-03-14Re-added ClearSource() which will only clear the source. Nothing else.Kohei Yoshida1-2/+5
2012-03-14Rename ClearSource() to ClearTableData().Kohei Yoshida1-2/+1
2012-03-09Added hook to create group field data at cache creation time.Kohei Yoshida1-6/+12
This is to avoid group data to be added multiple times in case of multiple pivot tables referencing the same pivot cache.
2012-03-09Only load members of the clicked field, not of all fields.Kohei Yoshida1-8/+13
This can mean the difference of 10 seconds vs 0.01 second depending on the type of data.
2012-02-22Properly transfer layout and subtotal names before and after the dialog.Kohei Yoshida1-7/+9
2012-02-08Move away from TypedScStrCollection in favor of STL's.Kohei Yoshida1-2/+2
2012-02-04ScOutlineCollection and its friends now free of ScSortedCollection.Kohei Yoshida1-1/+0
But it's apparently broken at the moment. I need to fix this...
2012-02-04Nobody uses StrData and ScStrCollection now.Kohei Yoshida1-1/+0
2012-02-04No more ScStrCollection in pivot table code.Kohei Yoshida1-1/+2
2012-01-23Fix refresh problem on pivot tables whose data cache have not been created.Kohei Yoshida1-0/+7