summaryrefslogtreecommitdiffstats
path: root/chart2/source/model/template/ChartTypeTemplate.cxx
Commit message (Collapse)AuthorAgeFilesLines
* use more concrete types in chart2, ChartTypeTemplateNoel Grandin2022-01-181-1/+1
| | | | | | | Change-Id: Ife0be0fde2f8d273411cbdbbafa2173ac80f80f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128560 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Prepare for removal of non-const operator[] from Sequence in chart2Mike Kaganski2021-10-291-10/+5
| | | | | | | Change-Id: I71e0b458c4dd2a85e36a485e3efa72b1077b0e54 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124346 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* use for-range on Sequence in chart2Noel Grandin2020-05-181-38/+27
| | | | | | | Change-Id: Ief02e5d5284b0cbad26b04c0a282dccfee577b90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94398 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#132355 fix X axis position of stock chartsTünde Tóth2020-04-271-4/+1
| | | | | | | | | | | | | Set the ShiftedCategoryPosition for true in case of stock chart. Regression from commit: 111c260ab2883b7906f1a66e222dbf4dc3c58c4f (tdf#127777 OOXML chart export: fix "CrossBetween" for not imported charts) Change-Id: I7ced1b03158908e838f7bb44c89dea23c5b347b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92759 Reviewed-by: Balazs Varga <balazs.varga991@gmail.com> Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
* loplugin:flatten in chart2Noel Grandin2020-04-191-88/+88
| | | | | | | Change-Id: Iadc4da6515a7d82e7a92b33d74d589b61fa2c64f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92480 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#127777 fix "CrossBetween" for not imported combined chartBalazs Varga2019-11-181-1/+4
| | | | | | | | | | | | | Set the ShiftedCategoryPosition for true in case of combined chart. See also commit 111c260ab2883b7906f1a66e222dbf4dc3c58c4f 'tdf#127777 OOXML chart export: fix "CrossBetween" for not imported charts Change-Id: I52fdcdc52e75ac15c85e04c2982b25cc180d7815 Reviewed-on: https://gerrit.libreoffice.org/82617 Tested-by: Jenkins Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
* tdf#127777 OOXML chart export: fix "CrossBetween" for not imported chartsBalazs Varga2019-10-071-2/+5
| | | | | | | | | | | | | | Newly created or ODF charts were still exported incorrectly, because ShiftedCategoryPosition was stored in the view code. Now it is removed to the model using ChartTypeTemplate::adaptScales. See also commit 6027ec08fd5df2e09e34ff61b3777ad2cc8304b3 'tdf#127777 OOXML chart export: fix X axis position setting "CrossBetween"' Change-Id: I7cd69e311833bf9f24f3a600ee7c6312285a7738 Reviewed-on: https://gerrit.libreoffice.org/80160 Reviewed-by: László Németh <nemeth@numbertext.org> Tested-by: László Németh <nemeth@numbertext.org>
* Use hasElements to check Sequence emptiness in chart2..connectivityArkadiy Illarionov2019-06-101-11/+11
| | | | | | | | | Similar to clang-tidy readability-container-size-empty Change-Id: I41824e8a4ef38d6a35a0ac4421cffcbcd17308e1 Reviewed-on: https://gerrit.libreoffice.org/71802 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* improve loplugin simplifyconstructNoel Grandin2019-04-151-1/+1
| | | | | | | | | | to find stuff like OUString s = OUString("xxx") Change-Id: Ie7ed074c1ae012734c67a2a89c564c1900a4ab04 Reviewed-on: https://gerrit.libreoffice.org/70697 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Fix typoAndrea Gelmini2019-01-131-1/+1
| | | | | | | Change-Id: Ia182da4c6f364d302ca189a10a7e9619211770cc Reviewed-on: https://gerrit.libreoffice.org/66247 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
* tdf#42949 Fix IWYU warnings in chart2/source/model/*cxxGabor Kelemen2018-10-081-7/+1
| | | | | | | | | | Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ic4fdbad7469d506d7cf308cb96f069b781dd1f58 Reviewed-on: https://gerrit.libreoffice.org/61488 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* tdf#42949 Fix IWYU warnings in include/cppuhelper/*Gabor Kelemen2018-09-101-0/+1
| | | | | | | | | | Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ib420e9216b8313f5ed7634ec375e39ceb741fd45 Reviewed-on: https://gerrit.libreoffice.org/59297 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* tdf#42949 Fix IWYU warnings in chart2/source/inc/[d-l]*hxxGabor Kelemen2018-08-081-0/+1
| | | | | | | | | | | Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Try harder to use fw declarations, and a few newly analyzed files Change-Id: I50299e9115ced60468c7bc5e63013addbaec48c0 Reviewed-on: https://gerrit.libreoffice.org/58618 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* tdf#42949 Fix IWYU warnings in chart2/source/model/{main,template}/*hxxGabor Kelemen2018-06-161-0/+1
| | | | | | | | | | Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I53b8ac58e5f5a3778835e06a73b5f6e11dce4357 Reviewed-on: https://gerrit.libreoffice.org/55569 Tested-by: Jenkins Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
* tdf#42949 Fix IWYU warnings in chart2/source/inc/*Gabor Kelemen2018-05-251-0/+1
| | | | | | | | | | | | Found with bin/find-unneeded-includes Only removal proposals are dealt with here A bit of fallout management was necessary as well find-unneeded-includes gave no proposals for chart2/inc Change-Id: Id382586f575cf45da758da453df9340b28e9ddd0 Reviewed-on: https://gerrit.libreoffice.org/54778 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* use more DBG_UNHANDLED_EXCEPTIONNoel Grandin2018-04-091-16/+17
| | | | | | | | | so we get nice logs of the exception dynamic type for UNO exceptions. Change-Id: Ic0b10dc14d354a2c9a0591b3a51d2f1640d54bdb Reviewed-on: https://gerrit.libreoffice.org/52465 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:salcall fix non-virtual methodsNoel Grandin2017-12-051-1/+1
| | | | | | | | | first, since those are safer to change than virtual methods Change-Id: Ie3b624019d75ee2b793cee33b3c5f64e994e8bfe Reviewed-on: https://gerrit.libreoffice.org/45798 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* inline ASSERT_EXCEPTION macro in chart2Noel Grandin2017-11-031-9/+8
| | | | | | | Change-Id: I6bdcde5fd416531e2cdd3c9ec160833f1022247c Reviewed-on: https://gerrit.libreoffice.org/44246 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:includeform: chart2Stephan Bergmann2017-10-231-11/+11
| | | | Change-Id: I5b455c684e7cd689d5160135246f3400363c7d40
* use more OUString::operator== in a*..chart2Noel Grandin2017-07-131-3/+3
| | | | | | | Change-Id: Ifb5608abebffd9687ed55e8c74f9be54a749111d Reviewed-on: https://gerrit.libreoffice.org/39887 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* ChartTypeHelper::getSupportedLabelPlacements nDimensionCount was ignoredStephan Bergmann2017-06-291-2/+2
| | | | | | | | ...ever since the code's integration with 124d934dffd8737db2d4375029c5a8b3880acaec "INTEGRATION: CWS chart17: #i63857#, #i4039# more flexible placement of data point labels, best fit for pie labels" Change-Id: I942d7ff128d0b9e42ede371f81860f3c67943879
* loplugin:oncevar chart2Noel Grandin2017-06-201-2/+1
| | | | | | | Change-Id: I2dd0939db440b5357225395e88680dd0b0fdbf43 Reviewed-on: https://gerrit.libreoffice.org/38970 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* clang-tidy readability-redundant-control-flowNoel Grandin2017-05-311-3/+1
| | | | | | | Change-Id: I832f7ef0f1bd55e365db7e49823fe8bc30390c04 Reviewed-on: https://gerrit.libreoffice.org/38215 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:comparisonwithconstant in chart2Noel Grandin2017-05-231-1/+1
| | | | | | | Change-Id: I95787007b26cdcf0d5d1617ecd0e55d377b551d7 Reviewed-on: https://gerrit.libreoffice.org/37941 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* revert OSL_ASSERT changesChris Sherlock2017-05-071-4/+4
| | | | Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
* tdf#43157: convert chart2 model source from OSL_ASSERT to assertChris Sherlock2017-05-071-4/+4
| | | | Change-Id: Id426cf71bfa63a202979e6bd3fa230cabeeb4dcc
* commit: loplugin:checkunusedparams in chart2Noel Grandin2017-04-281-5/+4
| | | | | | | Change-Id: Ia1f42e74365ca1dace93babc132ad67fd09fc99d Reviewed-on: https://gerrit.libreoffice.org/37064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* convert StackMode to scoped enumNoel Grandin2017-02-171-7/+7
| | | | | | and drop unused AMBIGUOUS enumerator Change-Id: I71954d75a64928061c0e520beb47f979c53ee5a8
* Drop :: prefix from std in c*/Tor Lillqvist2017-02-151-2/+2
| | | | | | | Change-Id: If078cda95fa6ccd37270a5e9d81cfa0b84e71155 Reviewed-on: https://gerrit.libreoffice.org/34324 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* makeAny->Any in basctl..chart2Noel Grandin2017-02-031-6/+6
| | | | | | | Change-Id: Ief1cdffbfc59ab4e35ac945d020772ff84c50d61 Reviewed-on: https://gerrit.libreoffice.org/33867 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Remove dynamic exception specificationsStephan Bergmann2017-01-261-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | ...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* loplugin:unusedfieldsNoel Grandin2017-01-101-1/+1
| | | | | | | Change-Id: I9611511cb3480734dea3c3cbaf0d659071366ad1 Reviewed-on: https://gerrit.libreoffice.org/32873 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* chart2: remove unused ContainerHelper.hxx includesJochen Nitschke2016-07-131-1/+0
| | | | | | | | | | remove using namespace ::chart::ContainerHelper; to match other uses Change-Id: I343086a6b7d70c84499b209680973431c7317219 Reviewed-on: https://gerrit.libreoffice.org/27184 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jenkins <ci@libreoffice.org>
* loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann2016-04-201-1/+1
| | | | Change-Id: I1230a1785c61b8ef5dab97176e7c06600ac95a5b
* clang-tidy performance-unnecessary-value-param in chart2Noel Grandin2016-04-121-1/+1
| | | | Change-Id: Id33dce9714737dd28ce48c22f966c9747c2db20b
* cleanup: remove unused com/sun/star/uno includesJochen Nitschke2016-04-121-1/+0
| | | | | | | | | | | | Sequence.h(xx), Any.h(xx) and Type.h(xx) and remove unused using-declarations from these files. Add a few missing includes provided by them. Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4 Reviewed-on: https://gerrit.libreoffice.org/23805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* use comphelper::containerToSequenceNoel Grandin2015-11-191-1/+1
| | | | | | in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
* s/Coordiante/CoordinateTor Lillqvist2015-07-081-1/+1
| | | | Change-Id: Iac584b09844b5877586061e9a44b1f7473bffed4
* uno::Sequence provides now begin and endNoel Grandin2015-06-041-2/+2
| | | | | | | | | | | | use begin() and end() when calling std::copy on an uno::Sequence Inspired by commit b34b648fc3262c5d9aa295f621e8fe9c97d4c6b2 "uno::Sequence provides now begin and end" Change-Id: I08e8c3fd6144e77b95a26f85bc0daf6a9edeeb0b Reviewed-on: https://gerrit.libreoffice.org/16057 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* remove whitespacesMarkus Mohrhard2014-07-021-1/+0
| | | | Change-Id: I05ef3c1ffd4e2179e0142a21abf8a4578718102e
* fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida2014-06-191-6/+4
| | | | Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
* Use define constant to keep track of all NumberFormat property usage.Kohei Yoshida2014-06-191-4/+6
| | | | Change-Id: I2a544922e03ec8253290ac8bf5a89c9cdd72d8dd
* improve the inlinesimplememberfunctions clang pluginNoel Grandin2014-06-171-4/+0
| | | | Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
* remove unnecessary and unused chart debug functionalityMarkus Mohrhard2014-06-071-10/+0
| | | | Change-Id: Ic8100b2afebe469709723b324394e08b7669d911
* css already means ::com::sun::starThomas Arnhold2014-05-271-1/+1
| | | | Change-Id: I48d7b746d7cc49246743c62480b0d225d2519342
* chart2: sal_Bool->boolNoel Grandin2014-04-151-3/+3
| | | | Change-Id: I85751b4e636596ef88ef02bc958abdc6abf98427
* ChartTypeTemplate and its derivatives are not UNO service implementationsStephan Bergmann2014-03-281-14/+0
| | | | Change-Id: Ic4a4c0fe411c359f5305f01c8ff79ca48384b484
* Error: exception specification of overriding function is more lax than baseTor Lillqvist2014-03-261-0/+1
| | | | Change-Id: Iffcc2084e005b27653964ddc6e965744be370a16
* List child type for GL3D bar chart type.Kohei Yoshida2014-03-251-1/+0
| | | | | | For now there is only one child type. Change-Id: If39a3e75fdae62f0b20769c21e6a4e235ede941e
* Let's be more defensive here by checking for null return objects.Kohei Yoshida2014-03-241-1/+8
| | | | Change-Id: I5164e7d82f882ea9fe296a5a2df616d396d6726f