Robert Vojta wrote:
On Fri, Feb 13, 2009 at 6:15 PM, Carsten Driesner
<carsten.dries...@sun.com> 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.
Hi Robert,
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?
Yes, there are not used for OpenOffice.org 3.1 and obsolete.
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)
Due to the changes described they are without any effect.
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,
I hope that the colleague who implemented the changes posted a feature
change mail.
Regards,
Carsten
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@framework.openoffice.org
For additional commands, e-mail: dev-h...@framework.openoffice.org