diff options
author | Release Engineers <releng@openoffice.org> | 2009-04-12 04:24:43 +0000 |
---|---|---|
committer | Release Engineers <releng@openoffice.org> | 2009-04-12 04:24:43 +0000 |
commit | a3735ed51103b8eb46d80fc916739f3e7858c63f (patch) | |
tree | 90e673cf8007dfc7a03fb1a396463deccc99ec1f | |
parent | e85ac34e5d6a6dcc85aaf9d28463cf557ed273aa (diff) |
CWS-TOOLING: integrate CWS macshortcuts01
2009-04-02 18:13:38 +0200 pl r270430 : CWS-TOOLING: rebase CWS macshortcuts01 to trunk@270033 (milestone: DEV300:m45)
2009-03-04 13:02:01 +0100 pl r268816 : make compile with oldish gtk headers
2009-03-04 11:23:41 +0100 rvojta r268799 : Remove #ifndef MACOSX as Mac OS X X11 port is obsolote, no need to check for non Mac OS X
2009-03-03 16:33:34 +0100 rvojta r268764 : Meta/Super to MOD3 on all Unix platforms except Mac OS X
2009-03-03 16:08:46 +0100 rvojta r268744 : Map GDK_Meta_L/R and GDK_Super_L/R keys to KEY_MOD3 on Unix systems except Mac OS X
2009-03-03 16:04:23 +0100 rvojta r268742 : IsMod3(), IsLeftMod3(), IsRightMod3() added
2009-03-03 16:03:48 +0100 rvojta r268741 : MODKEY_LMOD3, MODKEY_RMOD3, MODKEY_MOD3 support
2009-02-28 00:09:26 +0100 rvojta r268620 : New KeyCode constructors support, by default MOD3 is not used here (probably temporary solution)
2009-02-25 22:53:02 +0100 rvojta r268469 : MOD3 support (META_DOWN_MASK)
2009-02-25 13:22:13 +0100 rvojta r268435 : Cmd-M to minimize window, Cmd-Option-M to minimize all windows
2009-02-25 11:09:20 +0100 rvojta r268417 : Add back F11 for non Mac OS X platforms (removed by accident in r268405)
2009-02-24 18:32:31 +0100 rvojta r268405 : F11 replaced by Cmd-T on Mac OS X
2009-02-23 15:21:53 +0100 sb r268358 : #i99296# support values with both xml:lang and install:module (which are moved into the spool tree, not the res tree)
2009-02-16 22:45:34 +0100 rvojta r267839 : Multiplatform shortcuts support
2009-02-16 22:41:03 +0100 rvojta r267838 : Use install:module instead of separate xcu file
2009-02-16 18:35:36 +0100 rvojta r267833 : Removed accelerators target
2009-02-16 09:27:42 +0100 rvojta r267776 : MOD3 added
2009-02-16 09:18:32 +0100 rvojta r267775 : MOD3 support
2009-02-16 09:17:11 +0100 rvojta r267774 : MOD3 support
2009-02-15 22:11:37 +0100 rvojta r267773 : Check for MOD3 too
2009-02-15 22:11:15 +0100 rvojta r267772 : Check for MOD3 too
2009-02-15 22:10:37 +0100 rvojta r267771 : Check for MOD3 too
2009-02-15 22:10:15 +0100 rvojta r267770 : Check for MOD3 during mouse event too
2009-02-15 22:09:54 +0100 rvojta r267769 : IsMod3() added
2009-02-15 19:34:59 +0100 rvojta r267768 : MOD3 added (Ctrl on Mac OS X)
2009-02-15 19:33:43 +0100 rvojta r267767 : Cmd-M -> Ctrl-M for default format
2009-02-15 19:32:19 +0100 rvojta r267766 : MOD3 added (Ctrl on Mac OS X)
2009-02-15 19:31:30 +0100 rvojta r267765 : MOD3 added (Ctrl on Mac OS X)
2009-02-15 19:31:04 +0100 rvojta r267764 : MOD3 added (Ctrl on Mac OS X)
2009-02-15 19:30:33 +0100 rvojta r267763 : MOD3 added (Ctrl on Mac OS X)
2009-02-15 19:30:09 +0100 rvojta r267762 : MOD3 added (Ctrl on Mac OS X)
2009-02-13 22:11:22 +0100 rvojta r267751 : Cmd-Shift-Z for .uno:Redo
2009-02-13 22:04:19 +0100 rvojta r267748 : F11 -> Cmd-T for .uno:DesignerDialog
2009-02-13 21:09:11 +0100 rvojta r267743 : F11 -> Cmd-T (all occurences)
2009-02-13 19:47:21 +0100 rvojta r267741 : accelerators target added for Mac OS X shortcuts
2009-02-13 19:46:58 +0100 rvojta r267740 : Spreadsheet - replace F11 with Cmd-T
2009-02-13 19:24:19 +0100 rvojta r267739 : Remove Accelerators-Mac.xcs
2009-02-13 18:50:01 +0100 rvojta r267738 : Accelerators-Mac.xcs test
2009-02-13 18:48:10 +0100 rvojta r267737 : Accelerators-Mac.xcu added
2009-02-13 18:46:48 +0100 rvojta r267736 : F11 -> Cmd-T for stylist in Spreadsheet
-rw-r--r-- | framework/collector/cmduicollector.cxx | 8 | ||||
-rw-r--r-- | framework/inc/acceleratorconst.h | 3 | ||||
-rw-r--r-- | framework/inc/xml/acceleratorconfigurationreader.hxx | 1 | ||||
-rw-r--r-- | framework/inc/xml/acceleratorconst.hxx | 2 | ||||
-rw-r--r-- | framework/source/accelerators/acceleratorconfiguration.cxx | 10 | ||||
-rw-r--r-- | framework/source/accelerators/acceleratorexecute.cxx | 5 | ||||
-rw-r--r-- | framework/source/xml/acceleratorconfigurationreader.cxx | 6 | ||||
-rw-r--r-- | framework/source/xml/acceleratorconfigurationwriter.cxx | 3 | ||||
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/Accelerators.xcu | 239 | ||||
-rw-r--r-- | officecfg/registry/data/org/openoffice/Office/makefile.mk | 2 | ||||
-rw-r--r-- | officecfg/util/alllang.xsl | 12 | ||||
-rw-r--r-- | officecfg/util/data_val.xsl | 8 | ||||
-rw-r--r-- | sfx2/source/view/userinputinterception.cxx | 2 | ||||
-rw-r--r-- | svx/source/fmcomp/gridctrl.cxx | 2 |
14 files changed, 223 insertions, 80 deletions
diff --git a/framework/collector/cmduicollector.cxx b/framework/collector/cmduicollector.cxx index fac5fa1c69c8..e6d9fd0a726c 100644 --- a/framework/collector/cmduicollector.cxx +++ b/framework/collector/cmduicollector.cxx @@ -828,13 +828,14 @@ KeyCode impl_KeyCodeAWT2VCL(const css::awt::KeyEvent& aAWTKey) BOOL bShift = ((aAWTKey.Modifiers & css::awt::KeyModifier::SHIFT) == css::awt::KeyModifier::SHIFT ); BOOL bMod1 = ((aAWTKey.Modifiers & css::awt::KeyModifier::MOD1 ) == css::awt::KeyModifier::MOD1 ); BOOL bMod2 = ((aAWTKey.Modifiers & css::awt::KeyModifier::MOD2 ) == css::awt::KeyModifier::MOD2 ); + BOOL bMod3 = ((aAWTKey.Modifiers & css::awt::KeyModifier::MOD3 ) == css::awt::KeyModifier::MOD3 ); USHORT nKey = (USHORT)aAWTKey.KeyCode; // unfortunately MENU and CONTEXTMENU are twisted between vcl and awt if( aAWTKey.KeyCode == css::awt::Key::MENU ) nKey = KEY_CONTEXTMENU; else if( aAWTKey.KeyCode == css::awt::Key::CONTEXTMENU ) nKey = KEY_MENU; - return KeyCode(nKey, bShift, bMod1, bMod2); + return KeyCode(nKey, bShift, bMod1, bMod2, bMod3); } css::awt::KeyEvent impl_KeyCodeVCL2AWT(const KeyCode& aVCLKey) @@ -854,6 +855,8 @@ css::awt::KeyEvent impl_KeyCodeVCL2AWT(const KeyCode& aVCLKey) aAWTKey.Modifiers |= css::awt::KeyModifier::MOD1; if (aVCLKey.IsMod2()) aAWTKey.Modifiers |= css::awt::KeyModifier::MOD2; + if (aVCLKey.IsMod3()) + aAWTKey.Modifiers |= css::awt::KeyModifier::MOD3; return aAWTKey; } @@ -1911,6 +1914,7 @@ bool ReadResourceWriteAcceleratorXMLLang( const ::rtl::OUString& aOutDirURL, BOOL bShift = ((aInfo.aAWTKey.Modifiers & css::awt::KeyModifier::SHIFT) == css::awt::KeyModifier::SHIFT ); BOOL bMod1 = ((aInfo.aAWTKey.Modifiers & css::awt::KeyModifier::MOD1 ) == css::awt::KeyModifier::MOD1 ); BOOL bMod2 = ((aInfo.aAWTKey.Modifiers & css::awt::KeyModifier::MOD2 ) == css::awt::KeyModifier::MOD2 ); + BOOL bMod3 = ((aInfo.aAWTKey.Modifiers & css::awt::KeyModifier::MOD3 ) == css::awt::KeyModifier::MOD3 ); if (bShift) sAccBuf.appendAscii(" accel:shift=\"true\""); @@ -1918,6 +1922,8 @@ bool ReadResourceWriteAcceleratorXMLLang( const ::rtl::OUString& aOutDirURL, sAccBuf.appendAscii(" accel:mod1=\"true\""); if (bMod2) sAccBuf.appendAscii(" accel:mod2=\"true\""); + if (bMod3) + sAccBuf.appendAscii(" accel:mod3=\"true\""); sAccBuf.appendAscii(" xlink:href=\""); sAccBuf.append(aInfo.sCommand); diff --git a/framework/inc/acceleratorconst.h b/framework/inc/acceleratorconst.h index bf9eed06ad66..de1066202576 100644 --- a/framework/inc/acceleratorconst.h +++ b/framework/inc/acceleratorconst.h @@ -60,6 +60,7 @@ namespace framework{ #define ATTRIBUTE_MOD_SHIFT DECLARE_ASCII("shift") #define ATTRIBUTE_MOD_MOD1 DECLARE_ASCII("mod1" ) #define ATTRIBUTE_MOD_MOD2 DECLARE_ASCII("mod2" ) +#define ATTRIBUTE_MOD_MOD3 DECLARE_ASCII("mod3" ) // same items with a name space alias #define AL_ELEMENT_ACCELERATORLIST DECLARE_ASCII("accel:acceleratorlist") @@ -73,6 +74,7 @@ namespace framework{ #define AL_ATTRIBUTE_MOD_SHIFT DECLARE_ASCII("accel:shift") #define AL_ATTRIBUTE_MOD_MOD1 DECLARE_ASCII("accel:mod1" ) #define AL_ATTRIBUTE_MOD_MOD2 DECLARE_ASCII("accel:mod2" ) +#define AL_ATTRIBUTE_MOD_MOD3 DECLARE_ASCII("accel:mod3" ) // same items with full qualified name space #define NS_ELEMENT_ACCELERATORLIST DECLARE_ASCII("http://openoffice.org/2001/accel^acceleratorlist") @@ -86,6 +88,7 @@ namespace framework{ #define NS_ATTRIBUTE_MOD_SHIFT DECLARE_ASCII("http://openoffice.org/2001/accel^shift") #define NS_ATTRIBUTE_MOD_MOD1 DECLARE_ASCII("http://openoffice.org/2001/accel^mod1" ) #define NS_ATTRIBUTE_MOD_MOD2 DECLARE_ASCII("http://openoffice.org/2001/accel^mod2" ) +#define NS_ATTRIBUTE_MOD_MOD3 DECLARE_ASCII("http://openoffice.org/2001/accel^mod3" ) // some storage related values (pathes, names of sub storages etcpp). #define PRESET_DEFAULT_XML DECLARE_ASCII("default.xml") diff --git a/framework/inc/xml/acceleratorconfigurationreader.hxx b/framework/inc/xml/acceleratorconfigurationreader.hxx index a89b0392270e..2f32386be404 100644 --- a/framework/inc/xml/acceleratorconfigurationreader.hxx +++ b/framework/inc/xml/acceleratorconfigurationreader.hxx @@ -84,6 +84,7 @@ class AcceleratorConfigurationReader : public css::xml::sax::XDocumentHandler E_ATTRIBUTE_MOD_SHIFT, E_ATTRIBUTE_MOD_MOD1, E_ATTRIBUTE_MOD_MOD2, + E_ATTRIBUTE_MOD_MOD3, E_ATTRIBUTE_URL }; diff --git a/framework/inc/xml/acceleratorconst.hxx b/framework/inc/xml/acceleratorconst.hxx index 70139a545bc3..c2a04d3ccaee 100644 --- a/framework/inc/xml/acceleratorconst.hxx +++ b/framework/inc/xml/acceleratorconst.hxx @@ -61,6 +61,7 @@ namespace framework{ #define ATTRIBUTE_MOD_SHIFT DECLARE_ASCII("shift") #define ATTRIBUTE_MOD_MOD1 DECLARE_ASCII("mod1" ) #define ATTRIBUTE_MOD_MOD2 DECLARE_ASCII("mod2" ) +#define ATTRIBUTE_MOD_MOD3 DECLARE_ASCII("mod3" ) // same items with a name space alias #define AL_ELEMENT_ACCELERATORLIST DECLARE_ASCII("accel:acceleratorlist") @@ -74,6 +75,7 @@ namespace framework{ #define AL_ATTRIBUTE_MOD_SHIFT DECLARE_ASCII("accel^shift") #define AL_ATTRIBUTE_MOD_MOD1 DECLARE_ASCII("accel^mod1" ) #define AL_ATTRIBUTE_MOD_MOD2 DECLARE_ASCII("accel^mod2" ) +#define AL_ATTRIBUTE_MOD_MOD3 DECLARE_ASCII("accel^mod3" ) // same items with full qualified name space #define NS_ELEMENT_ACCELERATORLIST DECLARE_ASCII("http://openoffice.org/2001/accel^acceleratorlist") diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx index 368bcb738984..e589022f9b64 100644 --- a/framework/source/accelerators/acceleratorconfiguration.cxx +++ b/framework/source/accelerators/acceleratorconfiguration.cxx @@ -1319,6 +1319,8 @@ void XCUBasedAcceleratorConfiguration::impl_ts_load( sal_Bool bPreferred, const aKeyEvent.Modifiers |= css::awt::KeyModifier::MOD1; else if (sToken[k].equalsAscii("MOD2")) aKeyEvent.Modifiers |= css::awt::KeyModifier::MOD2; + else if (sToken[k].equalsAscii("MOD3")) + aKeyEvent.Modifiers |= css::awt::KeyModifier::MOD3; else { bValid = sal_False; @@ -1468,7 +1470,8 @@ void XCUBasedAcceleratorConfiguration::insertKeyToConfiguration( const css::awt: sKey += ::rtl::OUString::createFromAscii("_MOD1"); if ( (aKeyEvent.Modifiers & css::awt::KeyModifier::MOD2 ) == css::awt::KeyModifier::MOD2 ) sKey += ::rtl::OUString::createFromAscii("_MOD2"); - + if ( (aKeyEvent.Modifiers & css::awt::KeyModifier::MOD3 ) == css::awt::KeyModifier::MOD3 ) + sKey += ::rtl::OUString::createFromAscii("_MOD3"); css::uno::Reference< css::container::XNameAccess > xKey; css::uno::Reference< css::container::XNameContainer > xCommand; if ( !xContainer->hasByName(sKey) ) @@ -1519,6 +1522,8 @@ void XCUBasedAcceleratorConfiguration::removeKeyFromConfiguration( const css::aw sKey += ::rtl::OUString::createFromAscii("_MOD1"); if ( (aKeyEvent.Modifiers & css::awt::KeyModifier::MOD2 ) == css::awt::KeyModifier::MOD2 ) sKey += ::rtl::OUString::createFromAscii("_MOD2"); + if ( (aKeyEvent.Modifiers & css::awt::KeyModifier::MOD3 ) == css::awt::KeyModifier::MOD3 ) + sKey += ::rtl::OUString::createFromAscii("_MOD3"); xContainer->removeByName(sKey); } @@ -1563,6 +1568,8 @@ void XCUBasedAcceleratorConfiguration::reloadChanged( const ::rtl::OUString& sPr aKeyEvent.Modifiers |= css::awt::KeyModifier::MOD1; else if (sToken[i].equalsAscii("MOD2")) aKeyEvent.Modifiers |= css::awt::KeyModifier::MOD2; + else if (sToken[i].equalsAscii("MOD3")) + aKeyEvent.Modifiers |= css::awt::KeyModifier::MOD3; } css::uno::Reference< css::container::XNameAccess > xKey; @@ -1666,3 +1673,4 @@ AcceleratorCache& XCUBasedAcceleratorConfiguration::impl_getCFG(sal_Bool bPrefer } } // namespace framework + diff --git a/framework/source/accelerators/acceleratorexecute.cxx b/framework/source/accelerators/acceleratorexecute.cxx index d53138613317..89f43cebc65d 100644 --- a/framework/source/accelerators/acceleratorexecute.cxx +++ b/framework/source/accelerators/acceleratorexecute.cxx @@ -208,6 +208,8 @@ css::awt::KeyEvent AcceleratorExecute::st_VCLKey2AWTKey(const KeyCode& aVCLKey) aAWTKey.Modifiers |= css::awt::KeyModifier::MOD1; if (aVCLKey.IsMod2()) aAWTKey.Modifiers |= css::awt::KeyModifier::MOD2; + if (aVCLKey.IsMod3()) + aAWTKey.Modifiers |= css::awt::KeyModifier::MOD3; return aAWTKey; } @@ -223,9 +225,10 @@ KeyCode AcceleratorExecute::st_AWTKey2VCLKey(const css::awt::KeyEvent& aAWTKey) sal_Bool bShift = ((aAWTKey.Modifiers & css::awt::KeyModifier::SHIFT) == css::awt::KeyModifier::SHIFT ); sal_Bool bMod1 = ((aAWTKey.Modifiers & css::awt::KeyModifier::MOD1 ) == css::awt::KeyModifier::MOD1 ); sal_Bool bMod2 = ((aAWTKey.Modifiers & css::awt::KeyModifier::MOD2 ) == css::awt::KeyModifier::MOD2 ); + sal_Bool bMod3 = ((aAWTKey.Modifiers & css::awt::KeyModifier::MOD3 ) == css::awt::KeyModifier::MOD3 ); USHORT nKey = (USHORT)aAWTKey.KeyCode; - return KeyCode(nKey, bShift, bMod1, bMod2); + return KeyCode(nKey, bShift, bMod1, bMod2, bMod3); } //----------------------------------------------- diff --git a/framework/source/xml/acceleratorconfigurationreader.cxx b/framework/source/xml/acceleratorconfigurationreader.cxx index 9fb996ac90eb..155c57ea6314 100644 --- a/framework/source/xml/acceleratorconfigurationreader.cxx +++ b/framework/source/xml/acceleratorconfigurationreader.cxx @@ -174,6 +174,9 @@ void SAL_CALL AcceleratorConfigurationReader::startElement(const ::rtl::OUString case E_ATTRIBUTE_MOD_MOD2 : aEvent.Modifiers |= css::awt::KeyModifier::MOD2; break; + + case E_ATTRIBUTE_MOD_MOD3 : + aEvent.Modifiers |= css::awt::KeyModifier::MOD3; } } @@ -307,6 +310,9 @@ AcceleratorConfigurationReader::EXMLAttribute AcceleratorConfigurationReader::im if (sAttribute.equals(NS_ATTRIBUTE_MOD_MOD2)) eAttribute = E_ATTRIBUTE_MOD_MOD2; else + if (sAttribute.equals(NS_ATTRIBUTE_MOD_MOD3)) + eAttribute = E_ATTRIBUTE_MOD_MOD3; + else if (sAttribute.equals(NS_ATTRIBUTE_URL)) eAttribute = E_ATTRIBUTE_URL; else diff --git a/framework/source/xml/acceleratorconfigurationwriter.cxx b/framework/source/xml/acceleratorconfigurationwriter.cxx index 2d3fb9f427e6..0de3cda46de3 100644 --- a/framework/source/xml/acceleratorconfigurationwriter.cxx +++ b/framework/source/xml/acceleratorconfigurationwriter.cxx @@ -146,6 +146,9 @@ void AcceleratorConfigurationWriter::impl_ts_writeKeyCommandPair(const css::awt: if ((aKey.Modifiers & css::awt::KeyModifier::MOD2) == css::awt::KeyModifier::MOD2) pAttribs->AddAttribute(AL_ATTRIBUTE_MOD_MOD2, ATTRIBUTE_TYPE_CDATA, ::rtl::OUString::createFromAscii("true")); + if ((aKey.Modifiers & css::awt::KeyModifier::MOD3) == css::awt::KeyModifier::MOD3) + pAttribs->AddAttribute(AL_ATTRIBUTE_MOD_MOD3, ATTRIBUTE_TYPE_CDATA, ::rtl::OUString::createFromAscii("true")); + xConfig->ignorableWhitespace(::rtl::OUString()); xConfig->startElement(AL_ELEMENT_ITEM, xAttribs); xConfig->ignorableWhitespace(::rtl::OUString()); diff --git a/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu index 5bfabf50e155..31f69d80a5f0 100644 --- a/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu +++ b/officecfg/registry/data/org/openoffice/Office/Accelerators.xcu @@ -465,8 +465,8 @@ </prop> </node> <node oor:name="F11" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:DesignerDialog</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US" install:module="unxwnt">.uno:DesignerDialog</value> </prop> </node> <node oor:name="F11_MOD1" oor:op="replace"> @@ -666,7 +666,12 @@ <value xml:lang="en-US">.uno:SelectData</value> </prop> </node> - <node oor:name="M_MOD1" oor:op="replace"> + <node oor:name="M_MOD1" oor:op="replace" install:module="unxwnt"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:ResetAttributes</value> + </prop> + </node> + <node oor:name="M_MOD3" oor:op="replace" install:module="macosx"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:ResetAttributes</value> </prop> @@ -792,9 +797,10 @@ </prop> </node> <node oor:name="T_MOD1" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="de">.uno:SubScript</value> - <value xml:lang="es">.uno:AlignHorizontalCenter</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="de" install:module="unxwnt">.uno:SubScript</value> + <value xml:lang="es" install:module="unxwnt">.uno:AlignHorizontalCenter</value> + <value xml:lang="en-US" install:module="macosx">.uno:DesignerDialog</value> </prop> </node> <node oor:name="T_SHIFT_MOD1" oor:op="replace"> @@ -837,7 +843,7 @@ <value xml:lang="en-US">.uno:PasteSpecial</value> </prop> </node> - <node oor:name="Y_MOD1" oor:op="replace"> + <node oor:name="Y_MOD1" oor:op="replace" install:module="unxwnt"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:Redo</value> </prop> @@ -847,6 +853,11 @@ <value xml:lang="en-US">.uno:Undo</value> </prop> </node> + <node oor:name="Z_SHIFT_MOD1" oor:op="replace" install:module="macosx"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:Redo</value> + </prop> + </node> </node> <node oor:name="com.sun.star.chart2.ChartDocument" oor:op="replace"> <node oor:name="9_SHIFT_MOD1_MOD2" oor:op="replace"> @@ -919,7 +930,7 @@ <value xml:lang="en-US">.uno:Cut</value> </prop> </node> - <node oor:name="Y_MOD1" oor:op="replace"> + <node oor:name="Y_MOD1" oor:op="replace" install:module="unxwnt"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:Redo</value> </prop> @@ -929,6 +940,11 @@ <value xml:lang="en-US">.uno:Undo</value> </prop> </node> + <node oor:name="Z_SHIFT_MOD1" oor:op="replace" install:module="macosx"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:Redo</value> + </prop> + </node> </node> <node oor:name="com.sun.star.drawing.DrawingDocument" oor:op="replace"> <node oor:name="1_MOD1" oor:op="replace"> @@ -1013,8 +1029,8 @@ </prop> </node> <node oor:name="F11" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:DesignerDialog</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US" install:module="unxwnt">.uno:DesignerDialog</value> </prop> </node> <node oor:name="F11_MOD1" oor:op="replace"> @@ -1129,7 +1145,12 @@ <value xml:lang="en-US">.uno:LeftPara</value> </prop> </node> - <node oor:name="M_MOD1" oor:op="replace"> + <node oor:name="M_MOD1" oor:op="replace" install:module="unxwnt"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:ResetAttributes</value> + </prop> + </node> + <node oor:name="M_MOD3" oor:op="replace" install:module="macosx"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:ResetAttributes</value> </prop> @@ -1201,9 +1222,10 @@ </prop> </node> <node oor:name="T_MOD1" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="de">.uno:SubScript</value> - <value xml:lang="es">.uno:CenterPara</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="de" install:module="unxwnt">.uno:SubScript</value> + <value xml:lang="es" install:module="unxwnt">.uno:CenterPara</value> + <value xml:lang="en-US" install:module="macosx">.uno:DesignerDialog</value> </prop> </node> <node oor:name="U_MOD1" oor:op="replace"> @@ -1231,7 +1253,7 @@ <value xml:lang="en-US">.uno:Cut</value> </prop> </node> - <node oor:name="Y_MOD1" oor:op="replace"> + <node oor:name="Y_MOD1" oor:op="replace" install:module="unxwnt"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:Redo</value> </prop> @@ -1241,6 +1263,11 @@ <value xml:lang="en-US">.uno:Undo</value> </prop> </node> + <node oor:name="Z_SHIFT_MOD1" oor:op="replace" install:module="macosx"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:Redo</value> + </prop> + </node> </node> <node oor:name="com.sun.star.text.GlobalDocument" oor:op="replace"> <node oor:name="0_MOD1" oor:op="replace"> @@ -1405,8 +1432,8 @@ </prop> </node> <node oor:name="F11" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:DesignerDialog</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US" install:module="unxwnt">.uno:DesignerDialog</value> </prop> </node> <node oor:name="F11_MOD1" oor:op="replace"> @@ -1636,7 +1663,12 @@ <value xml:lang="en-US">.uno:ExecuteMacroField</value> </prop> </node> - <node oor:name="M_MOD1" oor:op="replace"> + <node oor:name="M_MOD1" oor:op="replace" install:module="unxwnt"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:ResetAttributes</value> + </prop> + </node> + <node oor:name="M_MOD3" oor:op="replace" install:module="macosx"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:ResetAttributes</value> </prop> @@ -1767,9 +1799,10 @@ </prop> </node> <node oor:name="T_MOD1" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="de">.uno:SubScript</value> - <value xml:lang="es">.uno:CenterPara</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="de" install:module="unxwnt">.uno:SubScript</value> + <value xml:lang="es" install:module="unxwnt">.uno:CenterPara</value> + <value xml:lang="en-US" install:module="macosx">.uno:DesignerDialog</value> </prop> </node> <node oor:name="T_SHIFT_MOD1" oor:op="replace"> @@ -1822,7 +1855,7 @@ <value xml:lang="en-US">.uno:RemoveDirectCharFormats</value> </prop> </node> - <node oor:name="Y_MOD1" oor:op="replace"> + <node oor:name="Y_MOD1" oor:op="replace" install:module="unxwnt"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:Redo</value> </prop> @@ -1832,6 +1865,11 @@ <value xml:lang="en-US">.uno:Undo</value> </prop> </node> + <node oor:name="Z_SHIFT_MOD1" oor:op="replace" install:module="macosx"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:Redo</value> + </prop> + </node> </node> <node oor:name="com.sun.star.presentation.PresentationDocument" oor:op="replace"> <node oor:name="1_MOD1" oor:op="replace"> @@ -1921,8 +1959,8 @@ </prop> </node> <node oor:name="F11" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:DesignerDialog</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US" install:module="unxwnt">.uno:DesignerDialog</value> </prop> </node> <node oor:name="F11_MOD1" oor:op="replace"> @@ -2052,7 +2090,12 @@ <value xml:lang="en-US">.uno:LeftPara</value> </prop> </node> - <node oor:name="M_MOD1" oor:op="replace"> + <node oor:name="M_MOD1" oor:op="replace" install:module="unxwnt"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:ResetAttributes</value> + </prop> + </node> + <node oor:name="M_MOD3" oor:op="replace" install:module="macosx"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:ResetAttributes</value> </prop> @@ -2129,9 +2172,10 @@ </prop> </node> <node oor:name="T_MOD1" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="de">.uno:SubScript</value> - <value xml:lang="es">.uno:CenterPara</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="de" install:module="unxwnt">.uno:SubScript</value> + <value xml:lang="es" install:module="unxwnt">.uno:CenterPara</value> + <value xml:lang="en-US" install:module="macosx">.uno:DesignerDialog</value> </prop> </node> <node oor:name="UP_SHIFT_MOD2" oor:op="replace"> @@ -2164,7 +2208,7 @@ <value xml:lang="en-US">.uno:Cut</value> </prop> </node> - <node oor:name="Y_MOD1" oor:op="replace"> + <node oor:name="Y_MOD1" oor:op="replace" install:module="unxwnt"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:Redo</value> </prop> @@ -2174,6 +2218,11 @@ <value xml:lang="en-US">.uno:Undo</value> </prop> </node> + <node oor:name="Z_SHIFT_MOD1" oor:op="replace" install:module="macosx"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:Redo</value> + </prop> + </node> </node> <node oor:name="com.sun.star.formula.FormulaProperties" oor:op="replace"> <node oor:name="A_MOD1" oor:op="replace"> @@ -2211,7 +2260,7 @@ <value xml:lang="en-US">.uno:FullScreen</value> </prop> </node> - <node oor:name="Y_MOD1" oor:op="replace"> + <node oor:name="Y_MOD1" oor:op="replace" install:module="unxwnt"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:Redo</value> </prop> @@ -2221,6 +2270,11 @@ <value xml:lang="en-US">.uno:Undo</value> </prop> </node> + <node oor:name="Z_SHIFT_MOD1" oor:op="replace" install:module="macosx"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:Redo</value> + </prop> + </node> </node> <node oor:name="com.sun.star.text.WebDocument" oor:op="replace"> <node oor:name="0_MOD1" oor:op="replace"> @@ -2385,8 +2439,8 @@ </prop> </node> <node oor:name="F11" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:DesignerDialog</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US" install:module="unxwnt">.uno:DesignerDialog</value> </prop> </node> <node oor:name="F11_MOD1" oor:op="replace"> @@ -2616,7 +2670,12 @@ <value xml:lang="en-US">.uno:ExecuteMacroField</value> </prop> </node> - <node oor:name="M_MOD1" oor:op="replace"> + <node oor:name="M_MOD1" oor:op="replace" install:module="unxwnt"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:ResetAttributes</value> + </prop> + </node> + <node oor:name="M_MOD3" oor:op="replace" install:module="macosx"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:ResetAttributes</value> </prop> @@ -2747,9 +2806,10 @@ </prop> </node> <node oor:name="T_MOD1" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="de">.uno:SubScript</value> - <value xml:lang="es">.uno:CenterPara</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="de" install:module="unxwnt">.uno:SubScript</value> + <value xml:lang="es" install:module="unxwnt">.uno:CenterPara</value> + <value xml:lang="en-US" install:module="macosx">.uno:DesignerDialog</value> </prop> </node> <node oor:name="T_SHIFT_MOD1" oor:op="replace"> @@ -2802,7 +2862,7 @@ <value xml:lang="en-US">.uno:RemoveDirectCharFormats</value> </prop> </node> - <node oor:name="Y_MOD1" oor:op="replace"> + <node oor:name="Y_MOD1" oor:op="replace" install:module="unxwnt"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:Redo</value> </prop> @@ -2812,6 +2872,11 @@ <value xml:lang="en-US">.uno:Undo</value> </prop> </node> + <node oor:name="Z_SHIFT_MOD1" oor:op="replace" install:module="macosx"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:Redo</value> + </prop> + </node> </node> <node oor:name="com.sun.star.sdb.FormDesign" oor:op="replace"> <node oor:name="0_MOD1" oor:op="replace"> @@ -2986,8 +3051,8 @@ </prop> </node> <node oor:name="F11" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:DesignerDialog</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US" install:module="unxwnt">.uno:DesignerDialog</value> </prop> </node> <node oor:name="F11_MOD1" oor:op="replace"> @@ -3232,7 +3297,12 @@ <value xml:lang="en-US">.uno:ExecuteMacroField</value> </prop> </node> - <node oor:name="M_MOD1" oor:op="replace"> + <node oor:name="M_MOD1" oor:op="replace" install:module="unxwnt"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:ResetAttributes</value> + </prop> + </node> + <node oor:name="M_MOD3" oor:op="replace" install:module="macosx"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:ResetAttributes</value> </prop> @@ -3368,9 +3438,10 @@ </prop> </node> <node oor:name="T_MOD1" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="de">.uno:SubScript</value> - <value xml:lang="es">.uno:CenterPara</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="de" install:module="unxwnt">.uno:SubScript</value> + <value xml:lang="es" install:module="unxwnt">.uno:CenterPara</value> + <value xml:lang="en-US" install:module="macosx">.uno:DesignerDialog</value> </prop> </node> <node oor:name="T_SHIFT_MOD1" oor:op="replace"> @@ -3423,7 +3494,12 @@ <value xml:lang="en-US">.uno:RemoveDirectCharFormats</value> </prop> </node> - <node oor:name="Y_MOD1" oor:op="replace"> + <node oor:name="Y_MOD1" oor:op="replace" install:module="unxwnt"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:Redo</value> + </prop> + </node> + <node oor:name="Z_SHIFT_MOD1" oor:op="replace" install:module="macosx"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:Redo</value> </prop> @@ -3592,8 +3668,8 @@ </prop> </node> <node oor:name="F11" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:DesignerDialog</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US" install:module="unxwnt">.uno:DesignerDialog</value> </prop> </node> <node oor:name="F11_MOD1" oor:op="replace"> @@ -3823,7 +3899,12 @@ <value xml:lang="en-US">.uno:ExecuteMacroField</value> </prop> </node> - <node oor:name="M_MOD1" oor:op="replace"> + <node oor:name="M_MOD1" oor:op="replace" install:module="unxwnt"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:ResetAttributes</value> + </prop> + </node> + <node oor:name="M_MOD3" oor:op="replace" install:module="macosx"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:ResetAttributes</value> </prop> @@ -3954,9 +4035,10 @@ </prop> </node> <node oor:name="T_MOD1" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="de">.uno:SubScript</value> - <value xml:lang="es">.uno:CenterPara</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="de" install:module="unxwnt">.uno:SubScript</value> + <value xml:lang="es" install:module="unxwnt">.uno:CenterPara</value> + <value xml:lang="en-US" install:module="macosx">.uno:DesignerDialog</value> </prop> </node> <node oor:name="T_SHIFT_MOD1" oor:op="replace"> @@ -4009,7 +4091,7 @@ <value xml:lang="en-US">.uno:RemoveDirectCharFormats</value> </prop> </node> - <node oor:name="Y_MOD1" oor:op="replace"> + <node oor:name="Y_MOD1" oor:op="replace" install:module="unxwnt"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:Redo</value> </prop> @@ -4019,6 +4101,11 @@ <value xml:lang="en-US">.uno:Undo</value> </prop> </node> + <node oor:name="Z_SHIFT_MOD1" oor:op="replace" install:module="macosx"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:Redo</value> + </prop> + </node> </node> <node oor:name="com.sun.star.text.TextDocument" oor:op="replace"> <node oor:name="0_MOD1" oor:op="replace"> @@ -4183,8 +4270,8 @@ </prop> </node> <node oor:name="F11" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:DesignerDialog</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US" install:module="unxwnt">.uno:DesignerDialog</value> </prop> </node> <node oor:name="F11_MOD1" oor:op="replace"> @@ -4414,7 +4501,12 @@ <value xml:lang="en-US">.uno:ExecuteMacroField</value> </prop> </node> - <node oor:name="M_MOD1" oor:op="replace"> + <node oor:name="M_MOD1" oor:op="replace" install:module="unxwnt"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:ResetAttributes</value> + </prop> + </node> + <node oor:name="M_MOD3" oor:op="replace" install:module="macosx"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:ResetAttributes</value> </prop> @@ -4545,9 +4637,10 @@ </prop> </node> <node oor:name="T_MOD1" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="de">.uno:SubScript</value> - <value xml:lang="es">.uno:CenterPara</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="de" install:module="unxwnt">.uno:SubScript</value> + <value xml:lang="es" install:module="unxwnt">.uno:CenterPara</value> + <value xml:lang="en-US" install:module="macosx">.uno:DesignerDialog</value> </prop> </node> <node oor:name="T_SHIFT_MOD1" oor:op="replace"> @@ -4600,7 +4693,7 @@ <value xml:lang="en-US">.uno:RemoveDirectCharFormats</value> </prop> </node> - <node oor:name="Y_MOD1" oor:op="replace"> + <node oor:name="Y_MOD1" oor:op="replace" install:module="unxwnt"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:Redo</value> </prop> @@ -4610,6 +4703,11 @@ <value xml:lang="en-US">.uno:Undo</value> </prop> </node> + <node oor:name="Z_SHIFT_MOD1" oor:op="replace" install:module="macosx"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:Redo</value> + </prop> + </node> </node> <node oor:name="com.sun.star.xforms.XMLFormDocument" oor:op="replace"> <node oor:name="0_MOD1" oor:op="replace"> @@ -4774,8 +4872,8 @@ </prop> </node> <node oor:name="F11" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="en-US">.uno:DesignerDialog</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US" install:module="unxwnt">.uno:DesignerDialog</value> </prop> </node> <node oor:name="F11_MOD1" oor:op="replace"> @@ -5005,7 +5103,12 @@ <value xml:lang="en-US">.uno:ExecuteMacroField</value> </prop> </node> - <node oor:name="M_MOD1" oor:op="replace"> + <node oor:name="M_MOD1" oor:op="replace" install:module="unxwnt"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:ResetAttributes</value> + </prop> + </node> + <node oor:name="M_MOD3" oor:op="replace" install:module="macosx"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:ResetAttributes</value> </prop> @@ -5136,9 +5239,10 @@ </prop> </node> <node oor:name="T_MOD1" oor:op="replace"> - <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> - <value xml:lang="de">.uno:SubScript</value> - <value xml:lang="es">.uno:CenterPara</value> + <prop oor:name="Command"><value xml:lang="x-no-translate" install:module="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="de" install:module="unxwnt">.uno:SubScript</value> + <value xml:lang="es" install:module="unxwnt">.uno:CenterPara</value> + <value xml:lang="en-US" install:module="macosx">.uno:DesignerDialog</value> </prop> </node> <node oor:name="T_SHIFT_MOD1" oor:op="replace"> @@ -5191,7 +5295,7 @@ <value xml:lang="en-US">.uno:RemoveDirectCharFormats</value> </prop> </node> - <node oor:name="Y_MOD1" oor:op="replace"> + <node oor:name="Y_MOD1" oor:op="replace" install:module="unxwnt"> <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> <value xml:lang="en-US">.uno:Redo</value> </prop> @@ -5201,6 +5305,11 @@ <value xml:lang="en-US">.uno:Undo</value> </prop> </node> + <node oor:name="Z_SHIFT_MOD1" oor:op="replace" install:module="macosx"> + <prop oor:name="Command"><value xml:lang="x-no-translate">I10N SHORTCUTS - NO TRANSLATE</value> + <value xml:lang="en-US">.uno:Redo</value> + </prop> + </node> </node> <node oor:name="com.sun.star.report.ReportDefinition" oor:op="replace"/> </node> diff --git a/officecfg/registry/data/org/openoffice/Office/makefile.mk b/officecfg/registry/data/org/openoffice/Office/makefile.mk index 19ebc9279cce..52f31ee38261 100644 --- a/officecfg/registry/data/org/openoffice/Office/makefile.mk +++ b/officecfg/registry/data/org/openoffice/Office/makefile.mk @@ -68,6 +68,8 @@ XCUFILES= \ Histories.xcu MODULEFILES= \ + Accelerators-macosx.xcu \ + Accelerators-unxwnt.xcu \ Common-brand.xcu \ Common-writer.xcu \ Common-calc.xcu \ diff --git a/officecfg/util/alllang.xsl b/officecfg/util/alllang.xsl index 53f488066e2e..47ae08165928 100644 --- a/officecfg/util/alllang.xsl +++ b/officecfg/util/alllang.xsl @@ -101,7 +101,7 @@ </xsl:template> <xsl:template match="value" mode="locale"> - <xsl:if test="@xml:lang = $locale"> + <xsl:if test="@xml:lang=$locale and not(@install:module)"> <xsl:copy> <xsl:apply-templates select = "@*" mode="locale"/> <xsl:value-of select="."/> @@ -198,7 +198,7 @@ <xsl:param name = "context"/> <xsl:param name = "component-schema"/> - <xsl:variable name="applicable-values" select="descendant::value[not (@xml:lang) or (@xml:lang=$fallback-locale)]"/> + <xsl:variable name="applicable-values" select="descendant::value[not (@xml:lang) or (@xml:lang=$fallback-locale) or (@install:module=$module)]"/> <xsl:variable name="substantive-nodes" select="descendant-or-self::*[(@oor:finalized='true') or (@oor:mandatory='true') or (@oor:op!='modify')]"/> <xsl:choose> @@ -245,13 +245,13 @@ <xsl:apply-templates select = "value"/> </xsl:copy> </xsl:when> - <xsl:when test="value[not (@xml:lang)]"> + <xsl:when test="value[not (@xml:lang) or @install:module]"> <xsl:if test="value[not(@install:module) or @install:module=$module]"> <!-- copy locale independent values only, if the values differ --> <xsl:variable name="isRedundant"> <xsl:call-template name="isRedundant"> <xsl:with-param name="schemaval" select="$context/value"/> - <xsl:with-param name="dataval" select="value[not (@xml:lang) and (not(@install:module) or @install:module=$module)]"/> + <xsl:with-param name="dataval" select="value[(not(@xml:lang) or @install:module) and (not(@install:module) or @install:module=$module)]"/> </xsl:call-template> </xsl:variable> <xsl:if test="$isRedundant ='false'"> @@ -273,7 +273,7 @@ <xsl:template match="value"> <xsl:choose> - <xsl:when test="@xml:lang"/> + <xsl:when test="@xml:lang and not(@install:module)"/> <xsl:when test="$module and not(ancestor-or-self::*/@install:module=$module)"/> <xsl:when test="not($module) and ancestor-or-self::*/@install:module"/> <xsl:otherwise> @@ -286,7 +286,7 @@ </xsl:template> <xsl:template match="value" mode="fallback-locale"> - <xsl:if test="@xml:lang = $fallback-locale"> + <xsl:if test="@xml:lang=$fallback-locale and not(@install:module)"> <xsl:copy> <xsl:apply-templates select = "@*"/> <xsl:value-of select="."/> diff --git a/officecfg/util/data_val.xsl b/officecfg/util/data_val.xsl index 994664376325..bdf7c1ba2546 100644 --- a/officecfg/util/data_val.xsl +++ b/officecfg/util/data_val.xsl @@ -201,12 +201,10 @@ <xsl:call-template name="collectPath"/> </xsl:variable> <xsl:variable name = "module" select="@install:module"/> + <xsl:variable name = "lang" select="@xml:lang"/> - <xsl:if test="@oor:lang"> - <xsl:message terminate="yes">ERROR: Value in property '<xsl:value-of select="$path"/>' has module and locale!</xsl:message> - </xsl:if> - <xsl:if test="following-sibling::value[@install:module=$module]"> - <xsl:message terminate="yes">ERROR: Property '<xsl:value-of select="$path"/>' has multiple values for module <xsl:value-of select="$module"/>!</xsl:message> + <xsl:if test="following-sibling::value[@install:module=$module and @xml:lang=$lang]"> + <xsl:message terminate="yes">ERROR: Property '<xsl:value-of select="$path"/>' has multiple values for module <xsl:value-of select="$module"/> and locale <xsl:value-of select="$lang"/>!</xsl:message> </xsl:if> <xsl:if test="../value[not(@install:module)]"> <xsl:message terminate="yes">ERROR: Property '<xsl:value-of select="$path"/>' has values both with and without module. This is currently not supported. Please contact jb@openoffice.org, if you need this!</xsl:message> diff --git a/sfx2/source/view/userinputinterception.cxx b/sfx2/source/view/userinputinterception.cxx index aae3127461c0..932b698c753e 100644 --- a/sfx2/source/view/userinputinterception.cxx +++ b/sfx2/source/view/userinputinterception.cxx @@ -96,6 +96,8 @@ namespace sfx2 _rEvent.Modifiers |= KeyModifier::MOD1; if ( _rVclEvent.IsMod2() ) _rEvent.Modifiers |= KeyModifier::MOD2; + if ( _rVclEvent.IsMod3() ) + _rEvent.Modifiers |= KeyModifier::MOD3; } void lcl_initKeyEvent( KeyEvent& rEvent, const ::KeyEvent& rEvt ) diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 96534551b354..3ef1d68916ec 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -3407,7 +3407,7 @@ long DbGridControl::PreNotify(NotifyEvent& rEvt) // Ctrl-Tab is used to step out of the control, without traveling to the // remaining cells first // -> build a new key event without the Ctrl-key, and let the very base class handle it - KeyCode aNewCode( KEY_TAB, bShift, sal_False, sal_False ); + KeyCode aNewCode( KEY_TAB, bShift, sal_False, sal_False, sal_False ); KeyEvent aNewEvent( pKeyEvent->GetCharCode(), aNewCode ); // call the Control - our direct base class will interpret this in a way we do not want (and do |