<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I've been working on this bug for some time now and It's the high
time to ask for help.<br>
The changes are as follows:<br>
<br>
<font face="FreeMono" size="-1">+++
b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu<br>
@@ -2234,6 +2234,11 @@<br>
</node><br>
<node oor:name="F5_SHIFT" oor:op="replace"><br>
<prop oor:name="Command"><value
xml:lang="x-no-translate">I10N SHORTCUTS - NO
TRANSLATE</value><br>
+ <value
xml:lang="en-US">.uno:PresentationThisSlide</value><br>
+ </prop><br>
+ </node><br>
+ <node oor:name="F5_SHIFT_MOD2" oor:op="replace"><br>
+ <prop oor:name="Command"><value
xml:lang="x-no-translate">I10N SHORTCUTS - NO
TRANSLATE</value><br>
<value
xml:lang="en-US">.uno:RestoreEditingView</value><br>
</prop><br>
</node></font><br>
<br>
Since Shift-F5 was taken by replace I changed replace to
Shift-mod2-F5 (Shift-right alt-F5).<br>
Is this ok? Maybe some other combination would be better?<br>
<br>
<font face="FreeMono" size="-1">+++
b/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu<br>
@@ -37,6 +37,14 @@<br>
<value>1</value><br>
</prop><br>
</node><br>
+ <node oor:name=".uno:PresentationThisSlide"
oor:op="replace"><br>
+ <prop oor:name="Label" oor:type="xs:string"><br>
+ <value xml:lang="en-US">Sl~ide Show From This
Slide</value><br>
+ </prop><br>
+ <prop oor:name="Properties" oor:type="xs:int"><br>
+ <value>1</value><br>
+ </prop><br>
+ </node><br>
<node oor:name=".uno:Remote" oor:op="replace"><br>
<prop oor:name="Label" oor:type="xs:string"><br>
<value xml:lang="en-US">Impress
R~emote</value></font><br>
<br>
Here I decided to use "i" as a key, rather because I didn't know
what to do so most likely other key would be better.<br>
<font face="FreeMono" size="-1"><br>
+++ b/sd/source/ui/inc/DrawViewShell.hxx<br>
@@ -403,6 +403,7 @@ protected:<br>
void GetMenuStateSel(SfxItemSet& rSet);<br>
<br>
private:<br>
+ void ShowSlideShow(SfxRequest& rReq);<br>
/** This flag controls whether the layer mode is active, i.e.
the layer<br>
dialog is visible.</font><br>
<br>
Here (and in /sd/source/ui/inc/OutlineViewShell.hxx) I decided to
move some code to ShowSlideShow function just like it is in
SlotManager class (/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx)<br>
<font face="FreeMono" size="-1"><br>
+void DrawViewShell::ShowSlideShow(SfxRequest& rReq)<br>
+{<br>
<font size="-1">...</font><br>
+ if( (SID_PRESENTATION == rReq.GetSlot() ) )<br>
+ {<br>
+ Sequence< PropertyValue > aArguments(1);<br>
+ PropertyValue aPage;<br>
+ OUString sValue("0");<br>
+<br>
+ aPage.Name = "FirstPage";<br>
+ aPage.Value <<= sValue;<br>
+<br>
+ aArguments[0] = aPage;<br>
+<br>
+ xPresentation->startWithArguments( aArguments
);<br>
+ }<br>
<font size="-1">...</font><br>
<br>
</font>My way of starting presentation from first slide, frankly I
don't think it's good but the<br>
only alternative I could think of is to change (expand)
XPresentation or XPresentation2<br>
interface. Which is a better idea (or maybe there is better way)?<br>
<font face="FreeMono" size="-1"><br>
+++ b/svx/inc/svx/svxids.hrc<br>
@@ -351,6 +351,7 @@<br>
<font size="-1">...</font><br>
#define SID_PRESENTATION (
SID_SVX_START + 157 )<br>
+#define SID_PRESENTATION_THIS_SLIDE (
SID_SVX_START + 158 )</font><br>
<font face="FreeMono" size="-1"> #define
SID_REHEARSE_TIMINGS ( SID_SVX_START +
159 )</font><br>
<br>
Here I took one free value that seemed to be unused.<br>
<br>
Those are all the questions I think, Please criticise and help.<br>
<br>
Kind regards<br>
Kuba<br>
</body>
</html>