summaryrefslogtreecommitdiff
path: root/chart2/source
AgeCommit message (Collapse)AuthorFilesLines
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin27-104/+80
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
2015-08-21remove last WeakImplHelper12 useCaolán McNamara1-2/+2
Change-Id: I804132abe01ef3a54e6824d415e19c7edc8039cb
2015-08-20make color button work in chart line sidebar panelMarkus Mohrhard5-5/+27
Change-Id: I2148fd9953b283945d2a1bcf24dbc47964b659ae
2015-08-20make sure that LineColor is supported for data seriesMarkus Mohrhard1-0/+9
Change-Id: I1ae96c7b6adf5a90f96d7dddc20d7fb241e78445
2015-08-20WaE: -Werror=maybe-uninitializedMarkus Mohrhard1-1/+1
Change-Id: Ibf62ffa133aa4cde1836f7b7e735559c02ffb588
2015-08-20also need to call updateFillColor to get the UI in orderMarkus Mohrhard1-0/+5
Change-Id: I689d84ef58faeb4b36159c6370b5e97a13d39736
2015-08-20update the color button when we select an objectMarkus Mohrhard3-8/+43
Change-Id: Ib45a02248819c35844ef83435c33ab1c82f5c4dc
2015-08-20handle new color picker correctly in chart sidebarMarkus Mohrhard4-1/+132
This implements the basics for that and implements it in the AreaPanel. Change-Id: I6d9e5012bbcc2c953d478a09a839f35f2ef64c5b
2015-08-19crashtesting: failure on ooo82676-1.sxc importCaolán McNamara1-1/+1
regression from commit b3abc191e24bd2e812836257024d14557a6238ce Author: Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> Date: Wed Jun 17 15:15:07 2015 +0200 Change-Id: I44cfd85e9f7be65929281169fd297252e00c7317
2015-08-19Remove two silly typedefsStephan Bergmann2-2/+2
Change-Id: Ia7de1cebf6009e770ca1b96bab6d5e121573ccc1
2015-08-17o3tl: rename compat_functional headerThorsten Behrens4-4/+4
After the cleanup, the stuff there really stands on its own (and the remaining usage of select1st/2nd is more descriptive than lambdas). Change-Id: I0aba131d5dc550189f8130d167dc94167e404540 Reviewed-on: https://gerrit.libreoffice.org/17806 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-14loplugin: defaultparamsNoel Grandin29-79/+74
Change-Id: I65c0ed65b20f606cf1409a3158ff1ef1e2d6cd9f
2015-08-14remove default value from SfxPoolItem::PutValueNoel Grandin1-2/+2
more useful to make it explicit. Specifically, otherwise my defaultvalue clang plugin would want to remove lots of places that contains #define constants which, while technically the same as the default value, convey semantic information which is quite useful. Change-Id: I918ad5b0e73ba279fa1b1489b62d900339ff71eb
2015-08-13tdf#76649 Skip NaN initial values for min and maxLaurent Balland-Poirier1-2/+6
min and max were initiated as aValuesX[0] which could be NaN Change-Id: I229f4c8f8fda54684e1c817ea7da06fd87eb79b9 Reviewed-on: https://gerrit.libreoffice.org/17343 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-08-12no need to set the help id twiceCaolán McNamara1-1/+0
Change-Id: Idb903eaacf35d7b826086aae0b56fb1f496c25da
2015-08-12move date/time guess work to SvNumberFormatter::GuessDateTimeFormat()Eike Rathke1-31/+2
Change-Id: I26f7c47f5b3cf4a3c4274832448d9c8076981af0
2015-08-12Avoid division by zeroStephan Bergmann1-2/+2
Change-Id: I283101cdb9b2801880b116064389beb65bd5712a
2015-08-11tdf#92459 Cleanup unclear lambdasDaniel Robertson6-12/+11
Replace lambdas used to select the first/second member of a pair with the new simplified select1st/2nd from o3tl/compat_functional. There should be no side effects due to this change. Change-Id: I17f37796e0c4defe96a10aa491d192adb9eebb89 Reviewed-on: https://gerrit.libreoffice.org/17656 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-10if we have a number formatter then use it, dammit..Eike Rathke1-8/+17
Change-Id: I2d70bed4d9cf6f0ef4556a327c51fc5c10fcd2be
2015-08-10if we have a number formatter then use it, dammit..Eike Rathke1-15/+16
Change-Id: I43b777bb0b3f53682bab7af4643b29e2bd313caa
2015-08-10tdf#92997 obtain a date/time edit format according to field valueEike Rathke4-15/+66
Bloody workaround hack for the fact that Chart does not handle category/x-axis times internally and is not able to pass its own axis numberformat to its own databrowser editor. Change-Id: I016695ad0104366c0bb636b449a2014ade31aca3
2015-08-08Explicit capture annotationsStephan Bergmann1-1/+1
Change-Id: I7be1a36196a07a80a7b7173c3869621f5d707204
2015-08-05support more command in chart sidebarMarkus Mohrhard3-0/+244
We now have a complete toolbar controller in chart2. Change-Id: I007d9b058e3d6800204ac035cc2aef5e93c1208b
2015-08-04cui,connectivity: inline some use-once typedefsNoel Grandin1-3/+1
Change-Id: I1b043031014a3e823cd614966984a2ac2be1ac71
2015-08-01tdf#92459 replace deprecated o3tl featuresDaniel Robertson6-19/+17
Replace all uses of deprecated features from o3tl/compat_functional.hxx with lambda expressions. Change-Id: I6370c80dbe675da517904e535e19bf63830c3e2c Reviewed-on: https://gerrit.libreoffice.org/17450 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-07-31avoid crash when chart model is disposedMarkus Mohrhard12-22/+78
Change-Id: I70c3a06e2aa9112cd5a47b7d8839c4bd701cfc1e
2015-07-30Some (mostly HIG) tweaks to chart axis panelKatarina Behrens2-0/+8
+ added a text orientation spinbox to .ui file, but it does nothing so far Change-Id: Idb9177683c46fba50a153aff795aab7a2f419694 Reviewed-on: https://gerrit.libreoffice.org/17402 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-30API CHANGE: remove update() from X3DChartWindowProviderMichael Stahl1-2/+6
Revert the API change from e41c33b376d8b5776e400979eb8544db596c5bbe and use the existing css::util::XUpdatable instead. Change-Id: I3eba4c7def98c8765a970d54a7fe84a320d4313e Reviewed-on: https://gerrit.libreoffice.org/17382 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-30prevent panel update when updating values from panelMarkus Mohrhard1-0/+5
Change-Id: I10debb5119ce78638db42315594cda4d65092fb0
2015-07-30loplugin:unusedmethodsNoel Grandin1-2/+0
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-30small fix to reduce UnknownPropertyException in chart2Markus Mohrhard5-5/+9
accidently introduced with f1531cdaaebe706d909dc6ddde439ccb5f4ad36d Change-Id: I292097c5f61ecb32a28a90e9f5be48fcfd6bcd7b
2015-07-30also handle line width correctlyMarkus Mohrhard1-0/+1
Change-Id: Ia564d3c9b821a09586a0bcb32ee3f827e71f43de
2015-07-30handle line dash in chart line panelMarkus Mohrhard1-1/+43
Change-Id: Ia3d466c269eef62f8fa419d15869f44213a6e001
2015-07-30it is insane to not map line and border properties to the same idMarkus Mohrhard1-3/+3
Change-Id: I6f4eb2509dc731cb281350b2bb0cce94b66a8ad6
2015-07-30set some properties from chart line panelMarkus Mohrhard1-5/+46
Change-Id: Idbe26d7ea554512391b22299ac6dccaeaa71d584
2015-07-30provide also LineTransparence for DataPointPropertiesMarkus Mohrhard1-0/+14
Change-Id: I9c3e547831d3d876c228c8b9b566f17a4d95ce5b
2015-07-30provide structure for chart line panelMarkus Mohrhard3-0/+318
Change-Id: I75204a012e4bc59f40a06db814bb9057a1cf8598
2015-07-29Some (mostly HIG) tweaks to chart data series panelKatarina Behrens2-2/+11
Additional tweak: use 'Data series %1' as frame label, substitute %1 by real series name Change-Id: Id5bee4c2e52ccd98fa40649ec539b3efdee55962 Reviewed-on: https://gerrit.libreoffice.org/17387 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-07-29Some (mostly HIG) tweaks to chart elements panelKatarina Behrens2-0/+9
As I wanted to represent subsections as frames (it looks kinda better with bold labels), I tried to emulate grid behaviour by putting widgets into 2 size groups Other tweaks include disabling legend position listbox when legend is not to be shown and missing clear() of that listbox Change-Id: I0b635fe5aba1580542cf982e2e6be02eb0056352 Reviewed-on: https://gerrit.libreoffice.org/17386 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-07-28chart2: fix duplicate entries at index 0Takeshi Abe1-6/+6
... introduced at 6949629e35f308ce7efc890319ecf9a46a5f154c. Change-Id: Ifc5c2f92584aabe668eb8c87abdc5085d4a7b075 Reviewed-on: https://gerrit.libreoffice.org/17377 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-28fix the last transparency gradient issues in the chart area panelMarkus Mohrhard1-10/+26
So apparently I was looking up the gradient in the wrong table. Change-Id: I26de6f9bb5f9baf65a7856682a327da611da3ae7
2015-07-28reflect the property name changes also in the idl filesMarkus Mohrhard1-1/+2
DataPoints now support the whole css::drawing::FillProperties properties which makes handling fill properties in chart2 a lot easier. The new names are just aliases for the old property names. Change-Id: I5b85010fe2557eeb5376de71ff3605b3abbcd488
2015-07-28use common fill property names in chart2Markus Mohrhard2-10/+57
Change-Id: I9445344efc70d872fdb9c9a8cc49838210861a7b
2015-07-28Revert "provide a few more common property names"Markus Mohrhard1-7/+0
This reverts commit 6301e1e8b983f099d1f93140a3fb54c635206ac6.
2015-07-28Revert "provide some common fill property name aliases"Markus Mohrhard1-24/+0
This reverts commit 3d32e9f81b263884ec0a3b262e71ae78fcb892b7.
2015-07-28handle fill float transparence in chart area panelMarkus Mohrhard1-2/+28
Change-Id: Ibf72ba72ec193638f389167aab415b94a383f3d1
2015-07-27-Werror,-Winconsistent-missing-overrideNoel Grandin1-7/+7
Change-Id: I6975b340e42b113650a6c6ba51fdb558af493132
2015-07-27inline a bunch of use-once macrosNoel Grandin2-5/+3
no point in having a macro unless it's actually going to reduce the number of lines of code Change-Id: Ic8760d6506cf272d7bd088f7b3b4dcbf288099fc
2015-07-26don't show the area sidebar for panels where it makes no senseMarkus Mohrhard4-17/+22
Change-Id: I06655e0574b28a88db920424fa515b8350133f10
2015-07-26also update for the first selected objectMarkus Mohrhard1-0/+2
Change-Id: I7df8772c7414df694eda5ea30b74eccd6e9b98db