https://bugs.freedesktop.org/show_bug.cgi?id=58505

          Priority: medium
            Bug ID: 58505
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: Tweak F5 for slide display, and add Shift-F5
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: michael.me...@novell.com
          Hardware: Other
            Status: NEW
           Version: 4.0.0.0.alpha1
         Component: Presentation
           Product: LibreOffice

UX guys suggest that slide-jockeys would appreciate the familiar: F5 to start
the slideshow from the beginning, and Shift-F5 to start from the current slide.

To do that we need to go hack some code:

officecfg/registry/data/org/openoffice/Office/Accelerators.xcu

and search for .uno:Presentation.

We need to add a new name here eg. .uno:PresentationThisSlide next to
.uno:Presentation.

Then we need to add a description of that to:

officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu

so it can be translated.

Then we need to add an SID:

sd/inc/sdcommands.h:#define CMD_SID_PRESENTATION                       
".uno:Presentation"

Then add this SID to the switch in:

sd/source/ui/slidesorter/controller/SlsSlotManager.cxx

and a new case to:

void SlotManager::ShowSlideShow( SfxRequest& rReq)

A:

git grep CMD_SID_PRESENTATION

will prolly show us other places to poke, perhaps a bit of addition to the help
- and of course a new line to reset the current slide to the first when
starting the slideshow would be great.

Hopefully not so hard :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to