Lines Matching refs:sCommand

194 													const ::rtl::OUString&    sCommand )  in setKeyEvent()
209 if (!sCommand.getLength()) in setKeyEvent()
219 rCache.setKeyCommandPair(aKeyEvent, sCommand); in setKeyEvent()
244 …> SAL_CALL XMLBasedAcceleratorConfiguration::getKeyEventsByCommand(const ::rtl::OUString& sCommand) in getKeyEventsByCommand() argument
249 if (!sCommand.getLength()) in getKeyEventsByCommand()
259 if (!rCache.hasCommand(sCommand)) in getKeyEventsByCommand()
264 AcceleratorCache::TKeyList lKeys = rCache.getKeysByCommand(sCommand); in getKeyEventsByCommand()
310 …LL XMLBasedAcceleratorConfiguration::removeCommandFromAllKeyEvents(const ::rtl::OUString& sCommand) in removeCommandFromAllKeyEvents() argument
315 if (!sCommand.getLength()) in removeCommandFromAllKeyEvents()
325 if (!rCache.hasCommand(sCommand)) in removeCommandFromAllKeyEvents()
329 rCache.removeCommand(sCommand); in removeCommandFromAllKeyEvents()
765 const ::rtl::OUString& sCommand ) in setKeyEvent()
782 if (!sCommand.getLength()) in setKeyEvent()
797 if ( sCommand != sOriginalCommand ) in setKeyEvent()
806 if (rPrimaryCache.hasCommand(sCommand)) in setKeyEvent()
808 AcceleratorCache::TKeyList lPrimaryKeys = rPrimaryCache.getKeysByCommand(sCommand); in setKeyEvent()
810 rSecondaryCache.setKeyCommandPair(lPrimaryKeys[0], sCommand); in setKeyEvent()
813 rPrimaryCache.setKeyCommandPair(aKeyEvent, sCommand); in setKeyEvent()
820 if (sCommand != sOriginalCommand) in setKeyEvent()
822 if (rPrimaryCache.hasCommand(sCommand)) in setKeyEvent()
824 AcceleratorCache::TKeyList lPrimaryKeys = rPrimaryCache.getKeysByCommand(sCommand); in setKeyEvent()
826 rSecondaryCache.setKeyCommandPair(lPrimaryKeys[0], sCommand); in setKeyEvent()
830 rPrimaryCache.setKeyCommandPair(aKeyEvent, sCommand); in setKeyEvent()
836 if (rPrimaryCache.hasCommand(sCommand)) in setKeyEvent()
838 AcceleratorCache::TKeyList lPrimaryKeys = rPrimaryCache.getKeysByCommand(sCommand); in setKeyEvent()
840 rSecondaryCache.setKeyCommandPair(lPrimaryKeys[0], sCommand); in setKeyEvent()
843 rPrimaryCache.setKeyCommandPair(aKeyEvent, sCommand); in setKeyEvent()
894 …> SAL_CALL XCUBasedAcceleratorConfiguration::getKeyEventsByCommand(const ::rtl::OUString& sCommand) in getKeyEventsByCommand() argument
899 if (!sCommand.getLength()) in getKeyEventsByCommand()
911 if (!rPrimaryCache.hasCommand(sCommand) && !rSecondaryCache.hasCommand(sCommand)) in getKeyEventsByCommand()
916 AcceleratorCache::TKeyList lKeys = rPrimaryCache.getKeysByCommand(sCommand); in getKeyEventsByCommand()
918 AcceleratorCache::TKeyList lSecondaryKeys = rSecondaryCache.getKeysByCommand(sCommand); in getKeyEventsByCommand()
991 …LL XCUBasedAcceleratorConfiguration::removeCommandFromAllKeyEvents(const ::rtl::OUString& sCommand) in removeCommandFromAllKeyEvents() argument
996 if (!sCommand.getLength()) in removeCommandFromAllKeyEvents()
1008 if (!rPrimaryCache.hasCommand(sCommand) && !rSecondaryCache.hasCommand(sCommand)) in removeCommandFromAllKeyEvents()
1013 if (rPrimaryCache.hasCommand(sCommand)) in removeCommandFromAllKeyEvents()
1014 rPrimaryCache.removeCommand(sCommand); in removeCommandFromAllKeyEvents()
1015 if (rSecondaryCache.hasCommand(sCommand)) in removeCommandFromAllKeyEvents()
1016 rSecondaryCache.removeCommand(sCommand); in removeCommandFromAllKeyEvents()
1372 ::rtl::OUString sCommand; in impl_ts_load()
1373 xCommand->getByName(sLocale) >>= sCommand; in impl_ts_load()
1374 if (sCommand.getLength()<1) in impl_ts_load()
1417 aReadCache.setKeyCommandPair(aKeyEvent, sCommand); in impl_ts_load()
1444 ::rtl::OUString sCommand = m_pPrimaryWriteCache->getCommandByKey(*pIt); in impl_ts_save()
1447 insertKeyToConfiguration(*pIt, sCommand, sal_True); in impl_ts_save()
1452 if (sReadCommand != sCommand) in impl_ts_save()
1453 insertKeyToConfiguration(*pIt, sCommand, sal_True); in impl_ts_save()
1488 ::rtl::OUString sCommand = m_pSecondaryWriteCache->getCommandByKey(*pIt); in impl_ts_save()
1491 insertKeyToConfiguration(*pIt, sCommand, sal_False); in impl_ts_save()
1496 if (sReadCommand != sCommand) in impl_ts_save()
1497 insertKeyToConfiguration(*pIt, sCommand, sal_False); in impl_ts_save()
1521 …figuration( const css::awt::KeyEvent& aKeyEvent, const ::rtl::OUString& sCommand, const sal_Bool b… in insertKeyToConfiguration() argument
1562 xCommand->insertByName(sLocale, css::uno::makeAny(sCommand)); in insertKeyToConfiguration()
1564 xCommand->replaceByName(sLocale, css::uno::makeAny(sCommand)); in insertKeyToConfiguration()
1638 ::rtl::OUString sCommand; in reloadChanged()
1645 xCommand->getByName(sLocale) >>= sCommand; in reloadChanged()
1650 if (sCommand.getLength() ==0) in reloadChanged()
1653 m_aPrimaryReadCache.setKeyCommandPair(aKeyEvent, sCommand); in reloadChanged()
1657 if (sCommand.getLength() ==0) in reloadChanged()
1660 m_aSecondaryReadCache.setKeyCommandPair(aKeyEvent, sCommand); in reloadChanged()