summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar
AgeCommit message (Collapse)AuthorFilesLines
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2-5/+5
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-09correctly dispose the chart sidebar when leaving chart, tdf#94292Markus Mohrhard1-9/+20
This is a much better approach than my old one that tried to use the correct XModel with the chart sidebar. Now everytime we leave the chart edit mdoe we destroy the chart sidebar panels and recreate them when we go back to chart edit mode. As a result we no longer need to have worry that much about using the correct ChartModel and about the lifecycle of the ChartModel. Change-Id: Ie85ad82968e20a81f059d4bd930a83a70da35fc9
2015-10-09no need for using rtl::OUString in core codeMarkus Mohrhard1-1/+0
Change-Id: I6fc8a928374de48910395685b500ba95e8621d39
2015-10-03don't show area and line panel in pie chart Chart selection, tdf#94320Markus Mohrhard1-0/+1
Change-Id: I0eacedbb3d96a059278bab0ef98a66ed49b827fc
2015-09-29Renamed wrongly prefixed boolean variablesStefan Heinemann1-3/+3
Fixed tdf#94269 Change-Id: I63109cc4e095bad680d7637a065080ea368860ae Reviewed-on: https://gerrit.libreoffice.org/18851 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-29tdf#93243 replace boost::bind with C++11 lambdas in SidebarController.cxxn.r.pearson1-9/+8
Change-Id: I9a8b6679204fd31af012bf7b9840446ef0b35dfa Reviewed-on: https://gerrit.libreoffice.org/18504 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-21convert Link<> to typedNoel Grandin1-15/+6
Change-Id: If3e2b00092440ebd42ae5b73ae2b0e44c3702683
2015-09-20convert Link<> to typedNoel Grandin2-27/+13
Change-Id: I10b050dc4aae45e646761a82520caa96969bc511 Reviewed-on: https://gerrit.libreoffice.org/18700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-14boost->stdCaolán McNamara1-3/+3
Change-Id: I3fd9e1599c5ad812879a58cf1dabbcd393105e1c Reviewed-on: https://gerrit.libreoffice.org/18564 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-07WaE: implicit conversion of literal of type 'int' to 'bool'Tor Lillqvist1-1/+1
[loplugin:literaltoboolconversion]. Change-Id: Ic971c1e76d6b2f3bcdd8f575440f71212081256b
2015-09-07convert Link<> to typedNoel Grandin1-2/+2
Change-Id: I38f2c15b4f8bb1d7187b019d26a2644b087898c1 Reviewed-on: https://gerrit.libreoffice.org/18357 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04convert Link<> to typedNoel Grandin1-2/+1
Change-Id: I2136c3db2742afcb4722f69297276bea1e0119f4 Reviewed-on: https://gerrit.libreoffice.org/18306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-03sfx2: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2-3/+4
with the variadic variants. Change-Id: Id9b4ad4d1fa700c5ea3dd7417292cf2ddb7ade50 Reviewed-on: https://gerrit.libreoffice.org/18229 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-03loplugin:stringconstant also for cases using char const v[] = "..."Stephan Bergmann1-1/+1
Change-Id: Iba38686620624178a7be39d703389402bbcea4cb
2015-09-02SetXXX(bool) with a default value of false are just wrongNoel Grandin1-1/+1
Change-Id: I4888d0474199bb10ca81d1ad03118a150f574671 Reviewed-on: https://gerrit.libreoffice.org/18235 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-31tdf#87009 Add a tooltip to the sidebar settings buttonMaxim Monastirsky2-1/+8
Change-Id: I6332e9c7c98f87885f40f4d99224cccfe582029c
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann1-2/+2
Change-Id: I137a0fe7f44ea46af0f9d5337c2aec61a64f508d
2015-08-30tdf#83546 Expand the sidebar if it's hiddenMaxim Monastirsky1-12/+11
Change-Id: I92620cb1439bd13efcdbafcdc584abd8d7bb4345
2015-08-28make PostUserEvent Link<> typedNoel Grandin1-4/+2
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin1-7/+3
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
2015-08-25make pWindow private in SfxChildWindowNoel Grandin1-6/+6
Change-Id: I585d4e8f0a53f46b6fbcef9e4d26f88b57569684
2015-08-25make eChildAlignment private in SfxChildWindowNoel Grandin1-1/+1
Change-Id: I68a4c3324736e111a2c88e3edb9df506c33042b7
2015-08-20better warning message for failed panel creationMarkus Mohrhard1-1/+1
Change-Id: I631120903f15256997e082e0d079da7c5ee9944b
2015-08-20handle new color picker correctly in chart sidebarMarkus Mohrhard1-0/+8
This implements the basics for that and implements it in the AreaPanel. Change-Id: I6d9e5012bbcc2c953d478a09a839f35f2ef64c5b
2015-08-11loplugin: defaultparamsNoel Grandin4-6/+6
Change-Id: Ibff26c023655d36f0fa71ead399a6116c2988607
2015-08-11Related: tdf#78111 Try to guard against too wide panel layoutsMaxim Monastirsky1-1/+0
The sidebar has width limit, so a panel shouldn't attempt to resize more than that. Otherwise we'll get an endless loop. Change-Id: Ia36535637e3585595c673c7fc46a1a7b162b74ba
2015-08-05support more command in chart sidebarMarkus Mohrhard4-6/+9
We now have a complete toolbar controller in chart2. Change-Id: I007d9b058e3d6800204ac035cc2aef5e93c1208b
2015-08-04shell,sfx2,sd: inline some use-once typedefsNoel Grandin1-6/+5
Change-Id: Ifde52b0d92163f99d399b4a9544a196defad1ba4
2015-07-31sfx2: replace boost::function with std::functionMichael Stahl2-2/+1
Change-Id: I72acc5f396553eb464338a395ef40f95ed57a07e
2015-07-30small fix to reduce UnknownPropertyException in chart2Markus Mohrhard1-0/+1
accidently introduced with f1531cdaaebe706d909dc6ddde439ccb5f4ad36d Change-Id: I292097c5f61ecb32a28a90e9f5be48fcfd6bcd7b
2015-07-26handle more than one chart with chart sidebarMarkus Mohrhard4-0/+55
Change-Id: I4998904a9273f2c67114a246d7f234843602573c
2015-07-26remove unused propertyMarkus Mohrhard1-5/+0
Change-Id: Ia4b0c6985c9e52fed756edc08b959d3b60a122f0
2015-07-24convert WindowAlign to scoped enumNoel Grandin1-4/+4
Change-Id: I028d108b3a83bd5541d873c4d03b87339cd3be52
2015-07-16add more chart sidebar contextsMarkus Mohrhard1-0/+3
Change-Id: Icce69a0f5662ba06a3b57da089889aac5028de30
2015-07-16we need access to the chart model in the chart sidebarMarkus Mohrhard1-0/+1
Change-Id: I607b5ada047f84cd7a229640772a332702f93f1e
2015-07-16loplugin:unusedmethods sfx2(part2)Noel Grandin3-15/+0
Change-Id: I82223b72ddb6a9df1ee52a300b083002234602dc Reviewed-on: https://gerrit.libreoffice.org/17075 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-14sfx2: tolerate frames without controller in GetSidebarControllerForFrameMichael Stahl1-1/+7
Unfortnately happens in CppunitTest_writerperfect_draw for Draw docs. Change-Id: I1317d30d71fa5975564d1060cbf8958f63b67f40
2015-07-14sfx2: remove the global SidebarController::maSidebarControllerContainerMichael Stahl1-20/+7
This global was crashing on exit, unsurprising as it contains UNO services that reference VCL objects. It turns out that there is already a UNO singleton framework::ContextChangeEventMultiplexer that effectively contains this mapping already, so try to hook that up without creating a public API of it, which is made quite a bit harder by framework's inexplicable multitude of libraries. Change-Id: I4baf67b42c630191fa8879d650eeb62520c331a5
2015-07-12avoid crash in unit test due to global objectsMarkus Mohrhard1-9/+4
The lifecycle of the XFrame and the XController are both correct but getCurrentController has already been reset when the SidebarController::dispose is called. This avoids then calling the XController destructor during exit when taking a SolarMutex is a problem. Change-Id: I54470f091e506fb397e2424d2d3c4ac051cae924
2015-07-12big step towards real chart sidebarMarkus Mohrhard3-2/+10
Change-Id: I9b7d1f963746f7689b02099fbae77c9c943bad58
2015-07-12allow also to use non-frame modules for sidebarMarkus Mohrhard1-0/+10
One more step away from using the frame as key and moving to the controller. Change-Id: I438b7eea2161d49a6f2cbf649bf01b8a2e233ebd
2015-07-12use correct controller for sidebarMarkus Mohrhard1-2/+7
As we now allow non-frame controllers we need to use them as well in this place. Change-Id: I0d86cdf73f8c044816def0aaafb874e75985aae5
2015-07-12no need for handling unused arguments like thatMarkus Mohrhard1-6/+2
Change-Id: I04fa1b854e41a4cbeea0586bc583c58298d96306
2015-07-12fix indentationMarkus Mohrhard1-8/+8
Change-Id: I90426772f59db1bdc695bb9a411eaaee19655ce7
2015-07-12[API CHANGE] add way to get XSidebar from XSidebarProviderMarkus Mohrhard1-0/+6
Change-Id: I9fcf1cffa70eac6fec228ca4a9d4d32783295f21
2015-07-12add methods to add random controllers to sidebarMarkus Mohrhard1-15/+34
Change-Id: Ia3e80cc63491f1edd49eaf86cc8c25d67e4a8b28
2015-07-12use XController instead of XFrame where it makes senseMarkus Mohrhard6-25/+25
Change-Id: I22990c861c0dd9d9dab3fbdbc35fdb2b51e82005
2015-07-12add SidebarChangeHandler to chart2Markus Mohrhard1-0/+2
I still need to wire the correct frame to the correct sidebar for it to work. Change-Id: I0fecc2be674d6b024bc39e707930a4c30f67cb81
2015-06-29tdf#84381: Improved sidebar selection analyser for Calc and Draw/ImpressRishabh Kumar1-0/+1
Disables the area tab when a line is selected Change-Id: Ib02a68fb548a7cc10f9af7e0d1b6191119f18915 Reviewed-on: https://gerrit.libreoffice.org/16165 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-06-23Uno api sidebar unit test tdf#91806Laurent Godard3-0/+37
- python test subsequentcheck - correct deck setTitle APi (UI update) - enhance UnoInProcess for flexiility in loading parameter Change-Id: Id04cb78c6162ac84fb3bfd8577f84763109d993e Reviewed-on: https://gerrit.libreoffice.org/16180 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>