Hi,<br><br>Here is a modification. (Shift+F3 is not hardcoded)<br><br>Balint<br><br><div class="gmail_quote">2011. március 16. 17:56 Bálint Dózsa írta, <span dir="ltr">&lt;<a href="mailto:dozsabalint@gmail.com">dozsabalint@gmail.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks for helping.<br>I&#39;m working on it<br><br>Balint<br><br><div class="gmail_quote">2011. március 15. 17:43 Caolán McNamara írta, <span dir="ltr">&lt;<a href="mailto:caolanm@redhat.com" target="_blank">caolanm@redhat.com</a>&gt;</span>:<div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Wed, 2011-03-09 at 15:50 +0100, Bálint Dózsa wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Here is the correction patch<br>
<br>
</div>This looks reasonable so far, though it might be better to avoid<br>
hardcoding a &quot;case KEY_F3 | KEY_SHIFT&quot; to run this stuff, and instead<br>
move it around a bit to make it configurable, (though that seems like a<br>
good default)<br>
<br>
Doing it the configurable way is a bit[1] involved, but here&#39;s the rough<br>
guide<br>
<br>
search for something similar, e.g. SID_TRANSLITERATE_TOGGLE_CASE<br>
<br>
starting at<br>
<a href="http://opengrok.libreoffice.org/xref/libs-core/svx/inc/svx/svxids.hrc" target="_blank">http://opengrok.libreoffice.org/xref/libs-core/svx/inc/svx/svxids.hrc</a><br>
add a new one, e.g. SID_TRANSLITERATE_ROTATE_CASE<br>
<br>
In svx/sdi/svx.sdi copy and paste the<br>
SfxVoidItem ChangeCaseToToggleCase SID_TRANSLITERATE_TOGGLE_CASE entry<br>
to e.g.<br>
SfxVoidItem ChangeCaseRotateCase SID_TRANSLITERATE_ROTATE_CASE<br>
<br>
Where SID_TRANSLITERATE_TOGGLE_CASE appears in the other .sdi files (use<br>
opengrok to find them, e.g. sw/sdi/_textsh.sdi) add an entry for<br>
SID_TRANSLITERATE_ROTATE_CASE by copying and pasting the<br>
SID_TRANSLITERATE_ROTATE_CASE one except change the impl name e.g.<br>
ExecTransliteration -&gt; ExecRotateTransliteration<br>
<br>
For writer you can then implement ExecRotateTransliteration like you&#39;ve<br>
already done to call TransliterateText with a nMode which advances from<br>
the previous one on each attempt.<br>
<br>
In officecfg/registry grep for ChangeCaseToToggleCase and some cut and<br>
paste to give yourself a ChangeCaseRotateCase entry in there<br>
<br>
To set an accelerator key combo for it then see<br>
officecfg/registry/data/org/openoffice/Office/Accelerators.xcu<br>
Doing is this involved way allows the feature to appear in<br>
tools-&gt;customize-&gt;keyboard etc.<br>
<br>
C.<br>
<br>
[1] understatement of the year<br>
<br>
</blockquote></div></div></div><br>
</blockquote></div><br>