summaryrefslogtreecommitdiff
path: root/chart2
AgeCommit message (Collapse)Author
2015-09-14boost->stdCaolán McNamara
Change-Id: Iff14f69c200217c5d868978e8ffc06962b99ac09 Reviewed-on: https://gerrit.libreoffice.org/18568 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-14convert Link<> to typedNoel Grandin
Change-Id: I1c501671d72edd5b998e80c7fa1e91dbeb507af8
2015-09-13chart2: Add missing includeDavid Ostrovsky
Change-Id: I06eacfd944cf4ae7eef44900352b958e08f91b42 Reviewed-on: https://gerrit.libreoffice.org/18522 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-09-12Update many ListBox users to its sal_Int32 interfaceMatteo Casalin
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
2015-09-10convert Link<> to typedNoel Grandin
Change-Id: I603463d0486d4d0f21ebbdc6eca900db58bb090f
2015-09-10Related: tdf#93676 in msword chart appears with axis positioned between ticksCaolán McNamara
Change-Id: Ibd16d255a45a220faf7681a74785549c32969f78
2015-09-09SdrObjEditView::IsTextEditHit effectively ignores its nTol argumentStephan Bergmann
...ever since nTol=0; // Joe am 6.3.1997: Keine Hittoleranz mehr hier had been added into it sometime prior to fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import." So lets assume Joe meant that as a permanent fix rather than a temporal hack (which would have survived for longer than 18 years anyway). Change-Id: Ib30ac8d578f70c861d4c0f5f71bf4c13e9281db8
2015-09-09convert Link<> to typedNoel Grandin
Change-Id: I2aeda615e39db5a3cd39e168db34425e2912be8b
2015-09-09WaE: loplugin:stringconstantTor Lillqvist
Fix warning: elide construction of rtl::OUString with string constant argument in call of rtl::OUString::operator=. Change-Id: I5017509c04381fb158da1ceede7c8bef564f1c07
2015-09-09tdf#90839: support for wrapped text in data labels and for centered data valueMarco Cecchetti
Now in a pie chart the text of a label can be wrapped, the wrapping is automatic and the maximum text width is fixed to almost half the pie radius. This feature is used to import correctly the relative text wrapping property provided by MSO. Moreover the data value and percent value of a label are now centered horizontally, respect with the label text. Conflicts: chart2/qa/extras/xshape/chart2xshape.cxx Change-Id: Ie10d6184365436f763cd9693a5bbefcfa9b3862b Reviewed-on: https://gerrit.libreoffice.org/17193 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-09-08convert Link<> to typedNoel Grandin
Change-Id: I46e3f994d134f519258046f56263b4a42c1d97c2
2015-09-08convert Link<> to typedNoel Grandin
Change-Id: Ia2706c308c6297d05b2862e9f86fc0f2ee90e4f0
2015-09-08convert Link<> to typedNoel Grandin
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
2015-09-08improve test caseMarkus Mohrhard
Actually I just need it to force a rebuild of the file on the windows boxes to fix the broken build. Change-Id: Id90f0ef40bd9bc8dcde3dc0a9040100267696d0e
2015-09-08try to fix the windows buildMarkus Mohrhard
Why do we need the DLLIMPORT macros in a header only class? Change-Id: I0da4e9a3fd9b8db77e7298d4d592fd29eff1f709
2015-09-08also add test for DoubleToStringMarkus Mohrhard
Change-Id: I3de9afa7b5d975487fd03ae2a9c5393143abff9c
2015-09-08related tdf#93676, also fix chart::CommonFunctors::DoubleToOUStringMarkus Mohrhard
Change-Id: I8d63d942c7cb7876b864a9720e9a8adbc7345172
2015-09-08related tdf#93676, add test for chart::CommonFunctorsMarkus Mohrhard
Change-Id: I9667611135300155ee87cca1ad444ad8a6a9aeb1
2015-09-08Revert "Related: tdf#93676 in msword chart appears with axis positioned ↵Markus Mohrhard
between ticks" This reverts commit 10654c038c0bc20fb348be7164e08f3de98718f4.
2015-09-07related tdf#93676, we want to export all significant digitsMarkus Mohrhard
The code comment mentions correctly that we want to show all significant digits but a value of -1 means that the last digit before the decimal point is rounded away. Change-Id: Id91a6076e37629502281c5dda426018f93d1e465
2015-09-07Related: tdf#93676 in msword chart appears with axis positioned between ticksCaolán McNamara
not on them Change-Id: I048f86270ee12a38967c81e832619fd5018db6b1
2015-09-07cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I2a1add8cf526cdb305ad99ccb138454a88f2fdbd
2015-09-04svx: prefix members of SdrPaintViewMiklos Vajna
'mpModel=pModel' is more readable than 'pMod=pModel1'. Change-Id: I617d85e2c2d4b6b5b0d235cdd3cd9129e276b28d
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann
Change-Id: Iff591fb7cd434805998fdd14b94c4dd9654ba55e
2015-08-29o3tl/cow_wrapper: remove boost dependencyDaniel Robertson
Remove boost dependencies from ::o3tl::cow_wrapper, and add the necessary includes to files including checked_delete and noncopyable that do not already include the necessary files. Change-Id: Iedae4232002792724226829a5d5cf9d16ffd0686 Reviewed-on: https://gerrit.libreoffice.org/18125 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
2015-08-21tdf#39440 reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: I97726ed32e5aa92e7da7d248380a78b1b201e46e Reviewed-on: https://gerrit.libreoffice.org/17912 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-21loplugin:defaultparamsNoel Grandin
Change-Id: Iaf6415d3b33a4ce195a00913a0df69f1fb794217
2015-08-21remove last WeakImplHelper12 useCaolán McNamara
Change-Id: I804132abe01ef3a54e6824d415e19c7edc8039cb
2015-08-20make color button work in chart line sidebar panelMarkus Mohrhard
Change-Id: I2148fd9953b283945d2a1bcf24dbc47964b659ae
2015-08-20make sure that LineColor is supported for data seriesMarkus Mohrhard
Change-Id: I1ae96c7b6adf5a90f96d7dddc20d7fb241e78445
2015-08-20WaE: -Werror=maybe-uninitializedMarkus Mohrhard
Change-Id: Ibf62ffa133aa4cde1836f7b7e735559c02ffb588
2015-08-20also need to call updateFillColor to get the UI in orderMarkus Mohrhard
Change-Id: I689d84ef58faeb4b36159c6370b5e97a13d39736
2015-08-20update the color button when we select an objectMarkus Mohrhard
Change-Id: Ib45a02248819c35844ef83435c33ab1c82f5c4dc
2015-08-20handle new color picker correctly in chart sidebarMarkus Mohrhard
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 McNamara
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 Bergmann
Change-Id: Ia7de1cebf6009e770ca1b96bab6d5e121573ccc1
2015-08-17o3tl: rename compat_functional headerThorsten Behrens
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-16Some (mostly HIG) tweaks to chart error bar panelKatarina Behrens
stacked radiobuttons horizontally, they have no text now, but img and tooltip, it looks more sidebar-ish Change-Id: I6381a2e5e2c056b8928152b9154565eecce7a372 Reviewed-on: https://gerrit.libreoffice.org/17451 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-14loplugin: defaultparamsNoel Grandin
Change-Id: I65c0ed65b20f606cf1409a3158ff1ef1e2d6cd9f
2015-08-14remove default value from SfxPoolItem::PutValueNoel Grandin
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 test case for this issueTomaž Vajngerl
Change-Id: I8b88298c79e04e972b208dd74dcd693d53d0bb98 Reviewed-on: https://gerrit.libreoffice.org/17344 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-08-13tdf#76649 Skip NaN initial values for min and maxLaurent Balland-Poirier
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 McNamara
Change-Id: Idb903eaacf35d7b826086aae0b56fb1f496c25da
2015-08-12move date/time guess work to SvNumberFormatter::GuessDateTimeFormat()Eike Rathke
Change-Id: I26f7c47f5b3cf4a3c4274832448d9c8076981af0
2015-08-12Avoid division by zeroStephan Bergmann
Change-Id: I283101cdb9b2801880b116064389beb65bd5712a
2015-08-11tdf#92459 Cleanup unclear lambdasDaniel Robertson
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 Rathke
Change-Id: I2d70bed4d9cf6f0ef4556a327c51fc5c10fcd2be
2015-08-10if we have a number formatter then use it, dammit..Eike Rathke
Change-Id: I43b777bb0b3f53682bab7af4643b29e2bd313caa
2015-08-10tdf#92997 obtain a date/time edit format according to field valueEike Rathke
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