summaryrefslogtreecommitdiff
path: root/sd/inc/sdcommands.h
AgeCommit message (Collapse)Author
2023-10-23Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]StringStephan Bergmann
...in include files. This is a mix of automatic rewriting in include files and manual fixups (mostly addressing loplugin:redundantfcast) in source files that include those. Change-Id: I1f3cc1e67b9cabd2e9d61a4d9e9a01e587ea35cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158337 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-04-02Avoid conversions between OUString and OString in VCLMike Kaganski
Standardize on OUString, which is the main internal string class. Convert from/to OUString only when communicating with respective external APIs. Removes about 200 conversions from the code. Change-Id: I96ecee7c6fd271bb76639220e96d69d2964bed26 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149930 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-02-21Recheck modules sd* with IWYUGabor Kelemen
See tdf#42949 for motivation Change-Id: I97c1a0e8c7f26807b12e6062581066d09ea13086 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130114 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2021-12-06loplugin:stringliteraldefine in sdNoel Grandin
Change-Id: Ie03e3d06a608ee89484a07439bd6deeb1679aade Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126405 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-03-24tdf#124176 Use pragma once in sdVincent LE GARREC
Change-Id: Ic439140d9ecdcdee9272185bd3c2d11e11288f07 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112051 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2017-04-13convert master page menus to .uiCaolán McNamara
Change-Id: I7ab0ad0f3216b69966f5ff345b052762993eb666
2016-02-28Unused resourcesMaxim Monastirsky
Change-Id: I30b207fe0027cb4cb04130401b2c7a888624293c
2015-12-22Rearrangement of various context menus in ImpressYousuf Philips
Change-Id: I6674254898dc6d7351ec4450e2aa5ac3f177bdbf Reviewed-on: https://gerrit.libreoffice.org/20640 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-11-18Impress: Rework the way the display modes are presented.Philippe Jung
TODO: take into account remarks from Gerrit New combo to select display mode among: - Slide edition (Normal) - Outline - Notes - Slide sorter - Slide master - Notes master - Handout (master, as we are designing the template used to generate the handout) The combo is based on uno command .uno:DisplayMode Center pane tabs are hidden by default. A new uno dispatch command (.uno:ToggleTabBarVisibility) is available to show/hide this tab bar. Modified uno dispatch commands: No uno name has been modified. .uno:DiaMode : SID_DIAMODE renamed SID_SLIDER_SORTER_MODE .uno:OutlineMode SID_OUTLINEMODE renamed SID_OUTLINE_MODE .uno:NotesMode No change .uno:HandoutMode SID_HANDOUT_MODE renamed SID_HANDOUT_MASTER_MODE All internal code also considers the edit mode as master .uno:SlideMasterPage SID_SLIDE_MASTERPAGE renamed SID_SLIDE_MASTER_MODE If the input parameter SfxBoolItem Isactive is true or not provided, activates Slide Master mode. If parameter is false, activates the "Normal" (slide editing) mode. .uno:NotesMasterPage SID_NOTES_MASTERPAGE renamed SID_NOTES_MASTER_MODE If the input parameter SfxBoolItem Isactive is true or not provided, activates Notes Master mode. If parameter is false, activates the "Notes" mode. Modified behaviours: Now only one mode can be chosen. It is possible to navigate from a mode to any other mode. Previous behaviour: the following navigation Normal -> Slide Master -> Notes -> Normal was displaying slide master. It was required to activate Normal once more to get back to normal. Now the same commands will display the requested mode. Still to come (at least): - Fix reopen the last display mode. - Center pane tabs are now presenting all buttons for all modes (TODO). Change-Id: I11ab59d2f3caa9149260c5e55d44d598d0ce3390 Reviewed-on: https://gerrit.libreoffice.org/16723 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-09-30implement save slide background for impressCaolán McNamara
to go along with the existing "set background", same sort of thing as the competitor's effort Change-Id: I2a1106771ead2cd926f3d631850447499340697c
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2014-06-09Related: fdo#78151 force outliners in master view to be read-only textCaolán McNamara
because these contain place-holder text and it doesn't make sense to be able to edit them (unless some-day we support custom place-holder prompts) because they are now read-only add a pair of "show next level" and "hide last level" features so on right clicking the last outline paragraph you can make the next one visible, or make the last one invisible Change-Id: Iea24d810f298156cfe2f32aa53d0515da45e08eb
2013-10-23fixincludeguards.sh: sdThomas Arnhold
Change-Id: Ic831838b377656015d645eec9d439424378e08af
2013-10-14fdo#61950 De-extensionize presentation minimizerDavid Ostrovsky
Change-Id: I87805ceacf184d5aa5faae68e8bb932391ace7fb Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-26Better wording for Impress "Start from first/current Slide"Samuel Mehrbrodt
The menu is now: Slide Show Start from first Slide Start from current Slide ... instead of: Slide Show Slide Show Slide Show From This Slide ... I also changed the recently introduced function name/uno command for "Start from current Slide". This should make no trouble, since this function has not seen a release so far. Change-Id: I248c9d63ec28071b2887f89912aa90fa1e4afcb5 Reviewed-on: https://gerrit.libreoffice.org/3604 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-16Bug 58505 - Tweak F5 for slide display, and add Shift-F5Jakub Golebiewski
Added menu entry to start the presentation from current slide. Changed "Start Presentation" menu entry behavior so it starts from the first slide. Change-Id: Iebba85d2d1dcacad7da6b050e2152be5c0d47261
2013-03-20fdo#35546, implementing 'Create Photo Album' functionGergő Mocsi
Create a slideshow from a series of image files. Created the dialog window (called photoalbum.ui). Image preview is working. Options "Fit to slide" and "1 image and title" are implemented. Added a title page with the author's full name. TODO: 2 images / 4 images per slide i18n of messages UI tweaks Change-Id: I14b337187dc5d373fcd28489098fda813b5fd5f6 Reviewed-on: https://gerrit.libreoffice.org/2582 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2012-09-24Impress: Add 'Duplicate slide' to the context menu of the slide sorter.Jan Holesovsky
Change-Id: Ib872c1780967727924c84fc5e8b0f7c77d99280b
2012-08-08Remote dialog now showing.Andrzej J.R. Hunt
Change-Id: I20857202e70a975d249ac0f121947691ac274602
2012-08-07Basic framework for Remote Dialog.Andrzej J.R. Hunt
Change-Id: Ie744c1a0db1661b9dd57976d6f27b12a6f0ba824
2012-07-01Combine popup menu entries and IDs (SID_SAVE_GRAPHIC)Tomaž Vajngerl
Change-Id: I9d0e4f31d073ad416934358c6507dc6564754758
2012-06-22re-base on ALv2 code.Michael Meeks
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-13Tidy up *commands.h - Remove unused CMD_ definesThomas Arnhold
This is the first part of a nice cleanup ;) Change-Id: I2fa632dbb589053d8f95456233e10e97dff190fa
2011-12-05Remove Large Handles optionStefan Knorr (astron)
This patch removes the option Large Handles everywhere and makes LibO use the larger 9px handles always.
2011-11-08removed Simple Handles optionTim Hardeck
Removed the unnecessary option "Simple Handles" with all related functions and icons.
2011-09-30add mode-lines to .m files and last round of merged files, etc.Caolán McNamara
2011-03-13fix mis-merge... qa disabledNorbert Thiebaud
2010-07-10CWS changehid: #i111874#: change code to support HelpIds as byte stringsMathias Bauer