On Fri, Jan 23, 2015 at 5:10 AM, Regina Henschel <rb.hensc...@t-online.de>
wrote:

> Hallo Kay,
>
> Kay Schenk schrieb:
>
>> Does anyone know where I can find information on where actual keyboard
>> shortcut definitions -- the actual escape sequences -- are defined for
>> use in OpenOffice. I found an old thread on where the menus are defined
>> -- the *.xcu files -- but the not the actual ascii sequence assignments.
>>
>>
> When you do not look for the configuration but for the code, then you can
> start with the files main/framework/source/accelerators/keymapping.cxx
> and main/vcl/inc/vcl/keycodes.hxx. With the internal names, e.g.
> KEY_CONTEXTMENU, you can search and find relevant code parts.
>
> Kind regards
> Regina


Regina, thanks for this info. It going me going in the right direction.

What I was ultimately trying to determine is how/where combinations of
accelerators was constructed.

For example, if I start a new text document and see Customize -> Keyboard,
for either the module I'm using or for OpenOffice in general, where are
these preset entities defined, and how do they get defined.

I did finally track down more of the key definitions than what is
accelerators/keymapping.cxx, like for the "Ctrl" key.

It seems the actual combinations might be in many places. For example --
the code in /main/vcl/source/window/keycode.cxx.

This is really what I wanted even though it meant backtracking to find out
how the "keys" were defined, but I thought ALL the combinations would be in
one place.

I think it would be a worthwhile project to better document this aspect.

@orcmid -- where was I looking. In the source code the source.



>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


-- 
-------------------------------------------------------------------------------------------------
MzK

"There's a bit of magic in everything,
  and some loss to even things out."
                            -- Lou Reed

Reply via email to