summaryrefslogtreecommitdiff
path: root/include/sfx2
AgeCommit message (Collapse)Author
2015-07-16-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I14e28c966a0d792eeaff9012616bd83de87f2abd
2015-07-16Remove unused SfxViewEventHintStephan Bergmann
Change-Id: I42200260b98f90978d2c214fd9ea77376ab8cd8d
2015-07-16Working toolbar entry: Save As > Remote fileSzymon Kłos
Change-Id: I5601c7847f30a7d5fb7ede5f90b2a6a89f4c8693
2015-07-16'Save As' popup menu in the Writer's toolbarSzymon Kłos
Change-Id: I1b1cb7fcd2ae0e0f50e4d8e3900bc416435e60bf
2015-07-16added RemoteFilesDialog support in FileDialogHelper_ImplSzymon Kłos
Change-Id: Ic4854841deeebeccd31cd1b78680755cd97fdfbb
2015-07-16RemoteFilesDialogSzymon Kłos
Change-Id: I296ce6233287dac5447462faa4b7404c25297f8b
2015-07-16loplugin:unusedmethods sfx2(part2)Noel Grandin
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-16loplugin:unusedmethods sfx2Noel Grandin
Change-Id: I98c455d89f76fbcacf74929a4e8775b4da697f62 Reviewed-on: https://gerrit.libreoffice.org/17069 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-14sfx2: remove pointless GenLink classMichael Stahl
Change-Id: I82df7b89c598c3c7903dee865f899862902a0d86
2015-07-14sfx2: an almost unnoticable tweak to comment translationMichael Stahl
Change-Id: I7089b09c4497a2fc4cf8ca13ab098c747e565721
2015-07-14sfx2: remove the global SidebarController::maSidebarControllerContainerMichael Stahl
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-12use correct controller for sidebarMarkus Mohrhard
As we now allow non-frame controllers we need to use them as well in this place. Change-Id: I0d86cdf73f8c044816def0aaafb874e75985aae5
2015-07-12finally manage to register chart2 in the ChartControllerMarkus Mohrhard
We need to do some jumps through pink hoops to connect the chart controller with the host sidebar. Would we use the chart window as parent for our sidebar the sidebar would be directlz beside the chart and not at the border of the host window. Change-Id: Ica44ae370518882ef367999f57251b1256907016
2015-07-12[API CHANGE] add way to get XSidebar from XSidebarProviderMarkus Mohrhard
Change-Id: I9fcf1cffa70eac6fec228ca4a9d4d32783295f21
2015-07-12add methods to add random controllers to sidebarMarkus Mohrhard
Change-Id: Ia3e80cc63491f1edd49eaf86cc8c25d67e4a8b28
2015-07-12use XController instead of XFrame where it makes senseMarkus Mohrhard
Change-Id: I22990c861c0dd9d9dab3fbdbc35fdb2b51e82005
2015-07-12add SidebarChangeHandler to chart2Markus Mohrhard
I still need to wire the correct frame to the correct sidebar for it to work. Change-Id: I0fecc2be674d6b024bc39e707930a4c30f67cb81
2015-07-10remove unused ptr_container includesMichael Stahl
Change-Id: I55e15669520075f74c3fc730f8c6549d19de5ab3
2015-07-10do not include boost/utility.hppMichael Stahl
It just includes a bunch of other boost headers; mostly we need boost/noncopyable.hpp so include that directly. This eliminates 831 MB(!) of boost/preprocessor/seq/fold_left.hpp completely, which is the 2nd biggest header after ustring.hxx. Change-Id: I3df55770adcb46e56f389af828e8ba80da2dc1f2
2015-07-07Related: tdf#92392 clear workwins that point to pWindowCaolán McNamara
before trying to destroy pWindow Change-Id: I7257096e8da2a5d6753ad2091287d63ea9ae244b
2015-07-06tdf#91362: Make "printer was modified" status persistentKatarina Behrens
To test: Scenario 1: * go to Writer -> Format -> Page * select page format and orientation, if possible a different one than the default in your env. * File -> Print -> Properties should now show those values (and not the default values from the printer) Scenario 2 (aka Scenario 2 from tdf#61186) * now go to File -> Printer settings * change page format and orientation, if possible to yet a different one than the printer default and a page one * File -> Print -> Properties should now show what was selected in Printer settings and not the format of the page Change-Id: Ibc84540f428b79dbec2587c50eefe526a62751b3 Reviewed-on: https://gerrit.libreoffice.org/16716 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-07-05SfxToolBoxControl::GetPopupWindowType seems unused, kill itMaxim Monastirsky
together with SfxPopupWindowType enum. Change-Id: Ia0b2388b34c96bb044f1bfcc7e89b33ac37d5f95 Reviewed-on: https://gerrit.libreoffice.org/16766 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-07-03tdf#83089 : Cannot select location in properties dialogueSzymon Kłos
Change-Id: I008622cb8178cb1c83f72e5919ebc1be0dd9a2d5
2015-07-03Fix typosAndrea Gelmini
Change-Id: Ie2bbe020fc6e3a4a4f913208c245f395849bb9ee Reviewed-on: https://gerrit.libreoffice.org/16708 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-07-03typo: therfore -> thereforeAndras Timar
Change-Id: I9dcc0ce882dfd533d98a4f71625bb85e44084283
2015-07-01tdf#92355 - use ScopedVclPtr as a replacement for in-line widgets.Michael Meeks
Change-Id: Iccabcf6df662c0c4814a4c4f20d690778799e049
2015-06-30tdf#90452: Templates should adhere to the recent docs colors too.Jan Holesovsky
Change-Id: I5df89581796eca4e48e0a305d4319e4674f8dd87
2015-06-30tdf#90452: Implement the new design of the startcenter.Jan Holesovsky
See the comment 45 in the bug for the agreed design. Change-Id: I428f339df48f530f606525434a4a2be8a79acaab
2015-06-29tdf#84381: Improved sidebar selection analyser for Calc and Draw/ImpressRishabh Kumar
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-29remove custom RTTI from SfxFrameNoel Grandin
unused Change-Id: I009f43d192942c14d0ccbf56c78257570c65e41a
2015-06-28coverity#1308505 Uncaught exceptionCaolán McNamara
Change-Id: I952d464c2a9382c60b0616eeb0cf727e914785bd
2015-06-23Uno api sidebar unit test tdf#91806Laurent Godard
- 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>
2015-06-22loplugin:vclwidgetsStephan Bergmann
Change-Id: I5f65681bf3e44cbce62f46b9ffc0e5bef3aeeda4
2015-06-22-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: Icf9b843eff90c39110fc5b0436f85b0783cddb17
2015-06-22-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I47416559cc3d6c6679e1f9df3f24a24385903e04
2015-06-22loplugin:passstuffbyrefStephan Bergmann
Change-Id: Ib356214e2aee699d7def22ab84ad806cb801bcb5
2015-06-22new uno sidebar api tdf#91806Laurent Godard
the entry point is SfxBaseController::getSidebar() the Decks and panels are now per SidebarController and not global anymore ' macro example Sub testSidebarApi controller = thisComponent.currentcontroller frameIni = thisComponent.currentcontroller.frame sidebar = thisComponent.currentcontroller.getSidebar() sidebar.setVisible(true) frame = sidebar.getFrame() decks = sidebar.getdecks() c = decks.count h = decks.hasElements() e = decks.getElementNames() a = decks.hasByName("MyDeck") deck = decks.getByName("MyDeck") deck.activate(true) t = deck.getTitle() deck.setTitle("new deck title") deck.moveFirst() deck.moveLast() deck.moveUp() deck.moveDown() index = deck.getOrderIndex() panels = deck.getPanels() ep = panels.getElementnames() ap = panels.hasByName("aPanelName") panel = panels.getByName("aPanelName") panel.setTitle("new panel title") panel.collapse() panel.expand(true) ' expand and collapse other index = panel.getOrderIndex() panel.moveLast() panel.moveFirst() panel.moveDown() panel.moveUp() End Sub Change-Id: I7a4b953f2277dea483bb296ba6ead35de7205ace Reviewed-on: https://gerrit.libreoffice.org/15856 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2015-06-18Fix typosAndrea Gelmini
Change-Id: Ibfa971952cd330ddf430e7e951c5c235d2ae6bd8 Reviewed-on: https://gerrit.libreoffice.org/16314 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-06-18fix start center renderingLászló Németh
Change-Id: Ib32b299806851fd2df1fbe8a824c1fe49a4efd99
2015-06-16Fix typosAndrea Gelmini
Change-Id: Id8c7cf460cba5af89891c470e1aaa61b227d356e Reviewed-on: https://gerrit.libreoffice.org/16310 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-15Fix typosAndrea Gelmini
Change-Id: Id05ea8cf8aed878bedfe73c274df3c67b64bad37 Reviewed-on: https://gerrit.libreoffice.org/16263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-05Pin_Impl doesn't have an implementationCaolán McNamara
Change-Id: Ic2eb447910b14d75911be4835a533c8575045e08
2015-06-03Use variable-length array idiom for SfxType::aAttribStephan Bergmann
...to avoid false -fsanitize=array-bounds warnings. All instances of SfxType are created (in idl) as instances of SfxTypeN with properly sized nAttrib arrays. Change-Id: Iad9faa467affed656750df6bb8579d85829e97ca
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann
Change-Id: I60298e919c29454c0a3bc8d745029e4a5d4cbea6
2015-05-28SvxSearchItem: add m_nStartPoint{X,Y}Miklos Vajna
The idea is that if you have your cursor at the begining of a Writer document, and you scroll down a lot, then search, then it's annoying that search jumps back to the start of the document for the first hit. Add an optional way to provide what is the starting point of such a search, so we can have "when nothing is selected, then search from the top left corner of the visible area". No UI yet to enable this, but available via the UNO API. Change-Id: Ibcf3a5f2eeba1372b1dfe8474081e6591a6e0134
2015-05-25convert SHOW constants to scoped enumNoel Grandin
Change-Id: I2712a0901049885502cade31f9757f712048bb33
2015-05-22loplugin:constantfunctionNoel Grandin
Change-Id: I7cb5b0c2cf9ade557173ca596ea5d42d853ff448
2015-05-21convert SWIB constants to scoped enumNoel Grandin
Change-Id: If64368f22e748cc646a726cb962e60ad29a66df9 Reviewed-on: https://gerrit.libreoffice.org/15840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-20cleanup sidebarTomaž Vajngerl
Change-Id: If4964adcc693ccf32e815d6cf8aad8e1c196ada8
2015-05-19basic: used typed LINKsNoel Grandin
Change-Id: I8770a782e7ff5529e30aee13558711bdd8a4070d