summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2015-04-23loplugin:staticmethodsNoel Grandin
Change-Id: I6207b475127099872c6f3764331006688129b673
2015-04-23loplugin:staticmethodsNoel Grandin
Change-Id: Ib0c0841e48814d1a6e13bcd4575725d86ffa5e5e
2015-04-23make "Styles & Formatting" preview HiDPI awareTomaž Vajngerl
Change-Id: I6f167bc8310b75dbe8bddbfe331853dc6d17c9fc
2015-04-22convert SV_DRAGDOP_ constants to scoped enumNoel Grandin
Change-Id: If953610ed24a2b6d5f33f2ba014fba2ca5308d7d
2015-04-22convert SFX_TOOLBOX_ constants to scoped enumNoel Grandin
and move them to a more logical header Change-Id: I56956969d3067d66ccdadd53cd5630409de16cd8
2015-04-22convert HIB_ constants to scoped enumNoel Grandin
Change-Id: I6fa3ecde4a1c5f9c7e6e1dcd22250cba065933e3
2015-04-22callcatcher: update unused codeCaolán McNamara
Change-Id: I8a596153fe6ab34c56a956731d7f9909e71044aa
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
2015-04-21No more need for PartialWeakComponentImplHelper hereStephan Bergmann
...since 70626249cd247d9acdad417b8eaf252bae22c059 "API CHANGE a11y unpublishing and add/removeListener rename." Change-Id: I89d81326d97712abcac94c3436a13905954c55cf
2015-04-21loplugin:passstuffbyrefStephan Bergmann
Change-Id: I882ef5f8d1193ab3f3daeff0f4eb755c40c898ba
2015-04-21simplify gathering XML conf. data in sidebar ResourceManagerTomaž Vajngerl
Change-Id: I218698079d205690b596f3d36ff7dedea08c92fa
2015-04-21cleanup ResourceManagerTomaž Vajngerl
Change-Id: Ic07e0a9eb72fc78c23d65c82420daa57dbeb44f7
2015-04-21sidebar panel or deck can now be marked as experimentalTomaž Vajngerl
.. so they show up only when experimental mode is enabled. Change-Id: Ib89b8b03290b7c04edc4da48ed328f03cd88d02c
2015-04-21cleanup templdlg.cxx (Style and Formatting)Tomaž Vajngerl
Change-Id: I94758b6462c589b1f7eea9bac634e2f33646651b
2015-04-21preview of styles in "Style And Formatting" dialogTomaž Vajngerl
Change-Id: Ic10025f8b27c87ae40f62cb04653cc8e6abc7fc1
2015-04-21highlight the whole entry in "Style And Formatting" tree/listTomaž Vajngerl
Change-Id: I2968541be05aafbd39a161b48d840f7be66deee1
2015-04-21StyleManager & StylePreviewRenderer + common implementationTomaž Vajngerl
StyleManager is a new class responsible to handle document styles. The current implementation has only the responsibility to provide a implementation of StylePreviewReneder, but the idea is to move all style related functionallity to this class (and relieve the SfxObjectShell a bit). CommonStyleMAnager is the common impl. StylePreviewRenderer is responsible to render a preview of a style. As styles can be handled differently by each component it is possible to provide component specific StylePreviewRendered, but currently only the common one is implemented and used by sw. Change-Id: Id271485f571a777a3e94f855d3c614a2efc14628
2015-04-21cleanup SfxTemplateControllerItemTomaž Vajngerl
Change-Id: Ia29d45ed1fe41c986bf7d15d4da4557011544daa
2015-04-20drop unused -SfxAppMenuControl_Impl::RegisterControlCaolán McNamara
Change-Id: I2f9d151449d5f58cd553f28b98c2aabfbb204dd6
2015-04-17draw sidebar: With the recent Jay's fixes, default to expanded sidebar too.Jan Holesovsky
Change-Id: I5a05b116fbaac553adf7a87f88cf4bab19df39f0
2015-04-16sfx2: warning C4100 unreferenced formal parameterMichael Stahl
Change-Id: I4613071807bdedeb2058af12f0f808bdffc0e5cd
2015-04-15sfx2: silence bogus SfxObjectShell::isTiledRendering() warningsMiklos Vajna
It's expected that e.g. the basic ide doesn't override these methods. Change-Id: Ie32002c8416c5c0cd81ddf010fa5156b0698560e
2015-04-15fix crash on re-export of fdo50057-2.odt to odtCaolán McNamara
Change-Id: Ice7a754dd4f42b5cf62ae2038b63d893b8a92fd8
2015-04-15convert LOCKFILE_ constants to scoped enum and cleanupNoel Grandin
Change-Id: I9a2339cc953a718403b3cd0960d5d8d34abae455 Reviewed-on: https://gerrit.libreoffice.org/15304 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15convert SFX_ITEM constants to scoped enumNoel Grandin
Change-Id: Ief8c30c356ba947727c5ab70092042816a0db99e Reviewed-on: https://gerrit.libreoffice.org/15302 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15convert SIGNATURESTATE_ constants to scoped enumNoel Grandin
Change-Id: I715e39599464a199a8b78ec274bfe47b90fc4bb7 Reviewed-on: https://gerrit.libreoffice.org/15301 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15convert SFX_VIEW constants to scoped enumNoel Grandin
Change-Id: I327dc1ec722fa9445f13fc5168ad646e272ba9d4 Reviewed-on: https://gerrit.libreoffice.org/15300 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-14SfxDispatchController_Impl::InterceptLOKStateChangeEvent: fix typoMiklos Vajna
Without this, the strikethrough event is not sent to LOK clients, i.e. the strikethrough button in gtktiledviewer did not change to the toggled state when the cursor entered an area marked as strikethrough. Change-Id: I0b2d3acc50cdfff88675ceb14cf653b6622797e7
2015-04-14implement SfxObjectShell subclasses' LOK interfaceSiqi Liu
Change-Id: Iee2fbf71375631a349992a90c67c1c4c34e6ba3b
2015-04-13tdf#90566: memory leak: maChangeListeners is not properly disposedJulien Nabet
+ exchange arguments of swap to use the same pattern as the other swap locations Thank you Mike Kaganski! Change-Id: Ie575d503349b3218c7a0211e1f81d791e995297e
2015-04-13format changesSiqi Liu
2015-04-13LOK_STATE_CHANGED callback implemented with sfx events interception.Siqi Liu
2015-04-13tdf#90478: Hide explanation on ODF when default format is alienJacobo Aragunde Pérez
When saving a file that is not in ODF format (the default format), there is a dialog asking if should keep the original format or rather use ODF. But the default format can be changed to a different one than ODF, and the dialog will let users choose between saving in the default format or the one they chose in the save as dialog. In this case, the explanation about ODF shown in the dialog is pointless, so this commit hides it. Change-Id: I91cf95d35b70cb46e7667025a4a649b390205f0b Reviewed-on: https://gerrit.libreoffice.org/15234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-04-13tdf#90478: Show the right default format when savingJuan A. Suarez Romero
When saving a file that is not in ODF format (the default format), there is a dialog asking if should keep the original format or rather use ODF. But the default format can be changed to a different one than ODF. And the dialog will still assume the ODF is the default one. This commit fixes the wording in the dialog to use the the default format instead of hard-coded ODF. In order to keep the text simple, instead of using the long name for the default format, it uses the proper file extension. So if for example changes from ODF to Microsoft Word 97 default format, and saving a non-Word document, the dialog will ask user if document should be saved in default DOC format. Change-Id: I0b259af9eca61161ec8a3d7e72d4722b5afdf4b4 Reviewed-on: https://gerrit.libreoffice.org/15170 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
2015-04-13convert SHOWEXTRAS constants to scoped enumNoel Grandin
Change-Id: I84bff53e55fc93ad423835ebc3bf129546dfb7c3
2015-04-13convert HiddenWarningFact to scoped enumNoel Grandin
Change-Id: I23579d746a3c612de68345794731f1ff2cbdf605
2015-04-13convert HIDDENINFORMATION_ constants into scoped enumNoel Grandin
Change-Id: I94136c926fc8fa69ce2ce2b97fa34dc984dbe095
2015-04-13convert SFX_LOADED_ to scoped enumNoel Grandin
Change-Id: I065a07e1bb5f5a7f85429c919830b6b9605206ea
2015-04-10convert SFXOBJECTSHELL_ constants to scoped enumNoel Grandin
Change-Id: I5a159be0c342b778730cedb0fe35843c2c368c97
2015-04-10convert SFXMODEL_ to scoped enumNoel Grandin
and fix up some confusion in SC and STARMATH about which constants to use Change-Id: Ib75bc78a24bd2fad6ec6d7c94c4c1ad7dc222c1a
2015-04-10convert SfxObjectCreateMode to scoped enumNoel Grandin
and fix some dodgy usage in /sc in the process Change-Id: Ia2bee267df31aba431fc8cb81195bb83e5b64deb
2015-04-10convert SfxSlotFilterState to scoped enumNoel Grandin
Change-Id: I424a1c71429078f8f83f8f0138c6e12567628ef8
2015-04-09Resolves: tdf#90423 too risky to dlclose basctl once openedCaolán McNamara
Change-Id: I92c171b5900d770195bcad71a7df2a282649d479
2015-04-09Related: tdf#87675 Edit Linked Style Button is nonclickable on None EntryHeena Gupta
Conflicts: sfx2/source/dialog/mgetempl.cxx Change-Id: Ieac16f9cd6063e38c6d8dee0a1f0dba29e1adc6f Reviewed-on: https://gerrit.libreoffice.org/14516 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-09Related: tdf#87675 "Edit" Button for linked style in edit paragraph styleHeena Gupta
Change-Id: Ibb80d88865048e178a8d3e93cb9737881dd9f102 Reviewed-on: https://gerrit.libreoffice.org/13785 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-09loplugin:staticmethodsNoel Grandin
Change-Id: I715374b531da2850434b2436633b6042ecb9ebe0
2015-04-09convert SFX_SHELL constants to scoped enumNoel Grandin
Change-Id: If1649e8f3b9d200b0b176bef7deea41445bd3f2f
2015-04-09convert SFX_LOAD constants to scoped enumNoel Grandin
Change-Id: If0a2eeeabbb0bea48d2f2f86dc04266812c0ecd2
2015-04-09cleanup templdgiTomaž Vajngerl
Change-Id: I1148321236ba3ea5ed3e8df478800686c40e00ea