From 229fc164dc1773484b74eca016863cf68860e81b Mon Sep 17 00:00:00 2001 From: Philippe Jung Date: Fri, 10 Jul 2015 17:02:44 +0200 Subject: Impress: Rework the way the display modes are presented. 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 Reviewed-by: Jan Holesovsky Tested-by: Jan Holesovsky --- icon-themes/galaxy/cmd/lc_toggletabbarvisibility.png | Bin 0 -> 702 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 icon-themes/galaxy/cmd/lc_toggletabbarvisibility.png (limited to 'icon-themes/galaxy/cmd') diff --git a/icon-themes/galaxy/cmd/lc_toggletabbarvisibility.png b/icon-themes/galaxy/cmd/lc_toggletabbarvisibility.png new file mode 100644 index 000000000000..1bc7df40b7de Binary files /dev/null and b/icon-themes/galaxy/cmd/lc_toggletabbarvisibility.png differ -- cgit