On Fri, Feb 13, 2009 at 6:15 PM, Carsten Driesner
<[email protected]> wrote:

Hi Carsten,

> I fully understand that you want to have Mac specific shortcuts. As I don't
> use Apple computers I need assistance if there are system-dependent
> questions. There might be problems with Mac specific modifier keys.
> Currently I am not sure if VCL already supports these keys or not. I am sure
> that support for these keys must be added to the framework code which maps
> the shortcut definitions to toolkit key codes. May be it's also necessary to
> extend/add toolkit structures.

modifier keys are implemented and they work. I can imagine that we
have to add new keys to Key.idl, etc. But basically, it should be easy
for many shortcuts.

> Historically shortcuts were not system-dependent. Therefore there is no
> integrated way to maintain system-dependent shortcuts. Fortunately we moved
> the shortcut definitions from self-defined xml format files to one XCU
> configuration file.

Does this mean that default.xml from sc/uiconfig/scalc/$LANG are
deprecated for example?

> A solution would be to maintain two different
> configuration files, one for Windows/Linux and one for the Mac (see
> officecfg/registry/data/org/openoffice/Office/Accelerator.xcu), e.g.
> Accelerator-Mac.xcu.

What about Accelerator-Mac.xsl and set of changes there only? To
reduce maintenance costs. Something like:

postprocess/packconfig/macosx/macosx_menubar_modification.xsl (m41)

> Please try to use the proposed way with shortcuts that can be mapped. I
> cannot promise that it will work from the scratch. Therefore if you have
> problems or need further assistance please contact me again. If this
> solution is possible we can try to extend the code in framework/toolkit. I
> am quite sure that we will find a acceptable way to support system-dependent
> shortcuts.

I'll try in macshortcuts01 CWS and we will see what works and what doesn't work.

Many thanks for your valued reply,

-- 
Robert Vojta

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to