Hi Andreas,
Haven't see you for some days.:-)I got back from vacation last Wednesday.:-)
I defined part of the structure of Accelerators. In the
structure(Accelerators.xcu), The "mod1, mod2, shift" were defined as
props. Every "Key" node will be the set of different "Command"
nodes(e.g. Accelerators/en-US/Modules/swriter/Key_F11). Do you think
this structure is feasible? Or are there other better ways?:-)
I run this newly defined configuration with the basic script but
encountered a problem(I attached the error in this mail.). Currently I
haven't found the cause of this problem.:-(
Now this problem has been solved after I rewrote the Accelerators.xcu/xcs.
I rewrote part of
acceleratorconfiguration.cxx/globalacceleratorconfiguration.cxx/moduleacceleratorconfiguration.cxx.
Now it can read/write the newly defined Accelerators.xcu.
If the code( please see the accelerators.patch ) is what we want and the
schema is feasible, I will start to implement the details of
impl_ts_reload/impl_ts_save.
Regards,
Yan
diff -upNr framework_old/source/accelerators/acceleratorconfiguration.cxx
framework/source/accelerators/acceleratorconfiguration.cxx
--- framework_old/source/accelerators/acceleratorconfiguration.cxx
2006-12-22 19:31:00.000000000 +0800
+++ framework/source/accelerators/acceleratorconfiguration.cxx 2008-02-18
13:27:56.000000000 +0800
@@ -120,6 +120,11 @@
//_______________________________________________
// const
+static const ::rtl::OUString CFG_ENTRY_COMMAND =
::rtl::OUString::createFromAscii(".uno:CloseWin");
+static const ::rtl::OUString CFG_ENTRY_LOCALE =
::rtl::OUString::createFromAscii("en-US");
+static const ::rtl::OUString CFG_ENTRY_SHORTCUT =
::rtl::OUString::createFromAscii("shortcut1");
+static const ::rtl::OUString CFG_ENTRY_KEY =
::rtl::OUString::createFromAscii("key");
+
namespace framework
{
@@ -152,7 +157,7 @@ DEFINE_XTYPEPROVIDER_6(AcceleratorConfig
AcceleratorConfiguration::AcceleratorConfiguration(const css::uno::Reference<
css::lang::XMultiServiceFactory > xSMGR)
: ThreadHelpBase (&Application::GetSolarMutex())
, m_xSMGR (xSMGR )
- , m_aPresetHandler(xSMGR )
+ //, m_aPresetHandler(xSMGR )
, m_pWriteCache (0 )
{
}
@@ -343,6 +348,17 @@ void SAL_CALL AcceleratorConfiguration::
throw(css::uno::Exception ,
css::uno::RuntimeException)
{
+ if ( m_xGlobalCFG.is() )
+ {
+ impl_ts_load(m_xGlobalCFG);
+ return;
+ }
+ else if ( m_xModulesCFG.is() )
+ {
+ impl_ts_load(m_xModulesCFG);
+ return;
+ }
+
css::uno::Reference< css::io::XStream > xStreamNoLang;
// SAFE -> ----------------------------------
@@ -388,6 +404,17 @@ void SAL_CALL AcceleratorConfiguration::
throw(css::uno::Exception ,
css::uno::RuntimeException)
{
+ if ( m_xGlobalCFG.is() )
+ {
+ impl_ts_save( m_xGlobalCFG );
+ return;
+ }
+ else if ( m_xModulesCFG.is() )
+ {
+ impl_ts_save( m_xModulesCFG );
+ return;
+ }
+
// SAFE -> ----------------------------------
ReadGuard aReadLock(m_aLock);
css::uno::Reference< css::io::XStream > xStream =
m_aPresetHandler.openTarget(PresetHandler::TARGET_CURRENT(), sal_True); // TRUE
=> open or create!
@@ -523,6 +550,40 @@ void AcceleratorConfiguration::changesOc
reload();
}
+void AcceleratorConfiguration::impl_ts_load( const css::uno::Reference<
css::container::XNameAccess >& xCfgHandler )
+{
+ // read data from Accelerators.xcu into m_aReadCache
+ // use configuration API
+ css::uno::Reference< css::container::XNameAccess > xNameAccess;
+ css::uno::Reference< css::container::XNameAccess > xCommand;
+ css::uno::Reference< css::container::XNameAccess > xShortcut;
+
+ if ( m_xGlobalCFG.is() )
+ {
+ m_xGlobalCFG->getByName(CFG_ENTRY_COMMAND) >>= xCommand;
+ xCommand->getByName(CFG_ENTRY_LOCALE) >>= xNameAccess;
+ xNameAccess->getByName(CFG_ENTRY_SHORTCUT) >>= xShortcut;
+
+ sal_Int32 nlen = xCommand->getElementNames().getLength();
+
+ ::rtl::OUString sKey;
+ css::uno::Reference< css::beans::XPropertySet > xSet =
css::uno::Reference< css::beans::XPropertySet >(xShortcut, css::uno::UNO_QUERY);
+ xSet->getPropertyValue( CFG_ENTRY_KEY ) >>= sKey;
+ }
+
+ //...
+ //m_aReadCache.setKeyCommandPair(/*aKey, sCommand*/);
+ //...
+}
+
+void AcceleratorConfiguration::impl_ts_save( const css::uno::Reference<
css::container::XNameAccess >& xCfgHandler )
+{
+ // writer data in m_pWriteCache to Accelerators.xcu
+ // use configuration API
+
+ //...
+}
+
//-----------------------------------------------
void AcceleratorConfiguration::impl_ts_load(const css::uno::Reference<
css::io::XInputStream >& xStream)
{
diff -upNr framework_old/source/accelerators/globalacceleratorconfiguration.cxx
framework/source/accelerators/globalacceleratorconfiguration.cxx
--- framework_old/source/accelerators/globalacceleratorconfiguration.cxx
2006-09-19 21:08:14.000000000 +0800
+++ framework/source/accelerators/globalacceleratorconfiguration.cxx
2008-02-18 13:37:06.000000000 +0800
@@ -62,10 +62,6 @@
//_______________________________________________
// interface includes
-#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_
-#include <com/sun/star/beans/XPropertySet.hpp>
-#endif
-
#ifndef _COM_SUN_STAR_LANG_XSINGLESERVICEFACTORY_HPP_
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#endif
@@ -85,12 +81,18 @@
#include <comphelper/locale.hxx>
#endif
+#ifndef _COMPHELPER_CONFIGURATIONHELPER_HXX_
+#include <comphelper/configurationhelper.hxx>
+#endif
+
//_______________________________________________
// const
namespace framework
{
+static const ::rtl::OUString CFG_ENTRY_GLOBAL =
::rtl::OUString::createFromAscii("org.openoffice.Office.Accelerators/Global");
+
//-----------------------------------------------
// XInterface, XTypeProvider, XServiceInfo
DEFINE_XINTERFACE_1(GlobalAcceleratorConfiguration ,
@@ -156,6 +158,10 @@ void GlobalAcceleratorConfiguration::imp
if (!m_aPresetHandler.existsTarget(PresetHandler::TARGET_CURRENT()))
m_aPresetHandler.copyPresetToTarget(PresetHandler::PRESET_DEFAULT(),
PresetHandler::TARGET_CURRENT());
+ if ( !m_xGlobalCFG.is() ) //wuy 20080215
+ m_xGlobalCFG = css::uno::Reference<
css::container::XNameAccess > (
+ ::comphelper::ConfigurationHelper::openConfig(
m_xSMGR, CFG_ENTRY_GLOBAL, ::comphelper::ConfigurationHelper::E_STANDARD ),
+ css::uno::UNO_QUERY );
AcceleratorConfiguration::reload();
m_aPresetHandler.addStorageListener(this);
}
diff -upNr framework_old/source/accelerators/moduleacceleratorconfiguration.cxx
framework/source/accelerators/moduleacceleratorconfiguration.cxx
--- framework_old/source/accelerators/moduleacceleratorconfiguration.cxx
2006-09-19 21:08:14.000000000 +0800
+++ framework/source/accelerators/moduleacceleratorconfiguration.cxx
2008-02-18 12:57:54.000000000 +0800
@@ -85,12 +85,18 @@
#include <vcl/svapp.hxx>
#endif
+#ifndef _COMPHELPER_CONFIGURATIONHELPER_HXX_
+#include <comphelper/configurationhelper.hxx>
+#endif
+
//_______________________________________________
// const
namespace framework
{
+static const ::rtl::OUString CFG_ENTRY_MODULES =
::rtl::OUString::createFromAscii("org.openoffice.Office.Accelerators/Modules");
//wuy 20080215
+
//-----------------------------------------------
// XInterface, XTypeProvider, XServiceInfo
DEFINE_XINTERFACE_2(ModuleAcceleratorConfiguration ,
@@ -187,6 +193,10 @@ void ModuleAcceleratorConfiguration::imp
if
(!m_aPresetHandler.existsTarget(PresetHandler::TARGET_CURRENT()))
m_aPresetHandler.copyPresetToTarget(PresetHandler::PRESET_DEFAULT(),
PresetHandler::TARGET_CURRENT());
+ if ( !m_xModulesCFG.is() )
+ m_xModulesCFG = css::uno::Reference<
css::container::XNameAccess > (
+ ::comphelper::ConfigurationHelper::openConfig( m_xSMGR,
CFG_ENTRY_MODULES, ::comphelper::ConfigurationHelper::E_STANDARD ),
+ css::uno::UNO_QUERY );
AcceleratorConfiguration::reload();
m_aPresetHandler.addStorageListener(this);
}
diff -upNr framework_old/source/inc/accelerators/acceleratorconfiguration.hxx
framework/source/inc/accelerators/acceleratorconfiguration.hxx
--- framework_old/source/inc/accelerators/acceleratorconfiguration.hxx
2006-06-23 19:27:44.000000000 +0800
+++ framework/source/inc/accelerators/acceleratorconfiguration.hxx
2008-02-18 11:47:12.000000000 +0800
@@ -74,6 +74,10 @@
//__________________________________________
// interface includes
+#ifndef _COM_SUN_STAR_CONTAINER_XNAMEACCESS_HPP_
+#define <com/sun/star/container/XNameAccess.hpp>
+#endif
+
#ifndef _COM_SUN_STAR_LANG_XTYPEPROVIDER_HPP_
#include <com/sun/star/lang/XTypeProvider.hpp>
#endif
@@ -166,6 +170,9 @@ class AcceleratorConfiguration : protect
iii) cache all sub storages on the path from the top to the
bottom(!)
iv ) provide commit for changes. */
PresetHandler m_aPresetHandler;
+
+ css::uno::Reference< css::container::XNameAccess > m_xGlobalCFG;
+ css::uno::Reference< css::container::XNameAccess >
m_xModulesCFG;
//---------------------------------------
/** contains the cached configuration data */
@@ -290,6 +297,9 @@ class AcceleratorConfiguration : protect
// helper
private:
+
+ void impl_ts_load( const css::uno::Reference<
css::container::XNameAccess >& xCfgHandler ); //wuy 20080214
+ void impl_ts_save( const css::uno::Reference<
css::container::XNameAccess >& xCfgHandler );
//---------------------------------------
/** @short load a configuration set, using the given stream.
<?xml version="1.0"?>
<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Accelerators" oor:package="org.openoffice.Office" xml:lang="en-US">
<templates>
<group oor:name="shortcut">
<prop oor:name="key" oor:type="xs:string"/>
<prop oor:name="mod1" oor:type="xs:boolean"/>
<prop oor:name="mod2" oor:type="xs:boolean"/>
<prop oor:name="shift" oor:type="xs:boolean"/>
</group>
<set oor:name="locale" oor:node-type="shortcut">
</set>
<set oor:name="Command" oor:node-type="locale">
</set>
<set oor:name="Module" oor:node-type="Command">
</set>
</templates>
<component>
<set oor:name="Global" oor:node-type="Command">
</set>
<set oor:name="Modules" oor:node-type="Module">
</set>
</component>
</oor:component-schema>
<?xml version="1.0"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:install="http://openoffice.org/2004/installation" oor:name="Accelerators" oor:package="org.openoffice.Office">
<node oor:name="Global">
<node oor:name=".uno:CloseWin" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key" oor:type="xs:string">
<value>KEY_F4</value>
</prop>
<prop oor:name="mod1" oor:type="xs:boolean">
<value>true</value>
</prop>
<prop oor:name="mod2" oor:type="xs:boolean">
<value>false</value>
</prop>
<prop oor:name="shift" oor:type="xs:boolean">
<value>false</value>
</prop>
</node>
<node oor:name="shortcut2" oor:op="replace">
<prop oor:name="key">
<value>KEY_W</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F4</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
<node oor:name="shortcut2" oor:op="replace">
<prop oor:name="key">
<value>KEY_W</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F4</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
<node oor:name="shortcut2" oor:op="replace">
<prop oor:name="key">
<value>KEY_W</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
</node>
<node oor:name=".uno:Cut" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_X</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
<node oor:name="shortcut2" oor:op="replace">
<prop oor:name="key">
<value>KEY_DELETE</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>true</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_X</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
<node oor:name="shortcut2" oor:op="replace">
<prop oor:name="key">
<value>KEY_DELETE</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>true</value>
</prop>
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_X</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
<node oor:name="shortcut2" oor:op="replace">
<prop oor:name="key">
<value>KEY_DELETE</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>true</value>
</prop>
</node>
</node>
</node>
</node>
<node oor:name="Modules">
<node oor:name="com.sun.star.text.TextDocument" oor:op="replace">
<node oor:name=".uno:DesignerDialog" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
</node>
<node oor:name=".uno:StyleNewByExample" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>true</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>true</value>
</prop>
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>true</value>
</prop>
</node>
</node>
</node>
<node oor:name=".uno:StyleUpdateByExample" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>true</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>true</value>
</prop>
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>true</value>
</prop>
</node>
</node>
</node>
<node oor:name=".uno:StyleCatalog" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
</node>
</node>
<node oor:name="com.sun.star.sheet.SpreadsheetDocument" oor:op="replace">
<node oor:name=".uno:SaveAsTemplate" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>true</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>true</value>
</prop>
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>true</value>
</prop>
</node>
</node>
</node>
<node oor:name=".uno:DesignerDialog" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop> >
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
</node>
<node oor:name=".uno:StyleCatalog" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
</node>
</node>
<node oor:name="com.sun.star.presentation.PresentationDocument" oor:op="replace">
<node oor:name=".uno:DesignerDialog" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
</node>
<node oor:name=".uno:StyleCatalog" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
</node>
</node>
<node oor:name="com.sun.star.drawing.DrawingDocument" oor:op="replace">
<node oor:name=".uno:DesignerDialog" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>false</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
</node>
<node oor:name=".uno:StyleCatalog" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="de" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="zh-CN" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_F11</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
</node>
</node>
<node oor:name="com.sun.star.frame.StartModule" oor:op="replace">
<node oor:name=".uno:Quit" oor:op="replace">
<node oor:name="en-US" oor:op="replace">
<node oor:name="shortcut1" oor:op="replace">
<prop oor:name="key">
<value>KEY_Q</value>
</prop>
<prop oor:name="mod1">
<value>true</value>
</prop>
<prop oor:name="mod2">
<value>false</value>
</prop>
<prop oor:name="shift">
<value>false</value>
</prop>
</node>
</node>
</node>
</node>
</node>
</oor:component-data>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]