summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
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
2015-04-09cleanup templdlgTomaž Vajngerl
Change-Id: Idb594da1bbd3aba34ff6391b36deacaea34b7842
2015-04-09cleanup templdgi.hxxTomaž Vajngerl
Change-Id: I75a9444faa8136ed333adc2b0b47c9b91b1c7a3e
2015-04-09unique_ptr for SfxTemplatePanelControl pImplTomaž Vajngerl
Change-Id: Ia073d28181d0894e1ec8baddd53d4ac943f69557
2015-04-07Remove dead INetProtocol::VimStephan Bergmann
...which removes the need to abstract over the standard URI '%' escape prefix vs. the silly vim '=' special case invention. Change-Id: I54a52dd912c3aafc38275a0ac2466a6daeec328f
2015-04-07sfx2: try to fix WNT buildMichael Stahl
Change-Id: Ife8b7b922c46797487f1923e695ff7cef2a73824
2015-04-07fix osx buildNoel Grandin
Change-Id: I6672fa579b0e7fe0c02d5b1a3c54e99ac96f5322
2015-04-07convert SvtModuleOptions::EModule to scoped enumNoel Grandin
Change-Id: I9665fc003cb3a44f4db857b24584fa3a70487259
2015-04-07convert SvtModuleOptions::EFactory to enum classNoel Grandin
and fix issues in iterating through o3tl::enumarray Change-Id: Ia59ef9be44d8c92c2e406fa71aa92269578e26e3
2015-04-04callcatcher: update unusedcodeCaolán McNamara
mostly changed due to loplugin:constantfunction Change-Id: Ib677c78db256f8032a99b3f02a3e363fee68ebcc
2015-04-03Resolves: tdf#89885 use a readonly GtkEntry for locationCaolán McNamara
Change-Id: I324d5e0776da942eae62984b96951d9947702b49
2015-04-02Kill INetProtocol::NewsTor Lillqvist
Change-Id: I393edc816aaf189b1001e630c76f67dd53fd5be3
2015-04-02Kill INetProtocol::Imap and Pop3Tor Lillqvist
I doubt very much these actually get used. Couldn't find in any of the sample bug docs collected from bugzillas, for instance. Change-Id: I47a586fabb1efdf8315ed5f7bd09cbaea4c860b5
2015-04-02tdf#72337: sfx2: make the SfxMedium stream-reuse hack runtime-optionalMichael Stahl
SfxMedium::GetOutStream() does something different on WNT to solve sharing issues on one kind of file server but that causes issues with some other kind of file server that worked before. Make this runtime-changeable with (undocumented) env variable SFX_MEDIUM_REUSE_STREAM. (regression from 3d12549335229aca1a6a57575292111274709992) Change-Id: Id7a1fc8169dbf09c67a109b36ffa312ef33231c5
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050