Bart Aimar wrote:
Hi,
I need some help to modify the code below for set the shortcut in Calc
document.
I try to change the line:
oModuleCfgMgr =_
oModuleCfgMgrSupplier.getUIConfigurationManager("com.sun.star.text.TextDocument"
)
to
oModuleCfgMgr =_
oModuleCfgMgrSupplier.getUIConfigurationManager("com.sun.star.table.Spredsheet"
)
but get error...
Can you help me?
Hi Bart,
You use a wrong module name. If you want to get access to Calc use the
following string "com.sun.star.sheet.SpreadsheetDocument". You can find
the strings for the other modules in the OpenOffice.org Developer's
Guide, chapter "6.1.3 Using the Component Framework", paragraph "Models".
Regards,
Carsten
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]