Lines Matching refs:rElement
443 UIElementData& rElement = pIter->second; in impl_storeElementTypeData() local
444 if ( rElement.bModified ) in impl_storeElementTypeData()
446 if ( rElement.bDefault ) in impl_storeElementTypeData()
448 xStorage->removeElement( rElement.aName ); in impl_storeElementTypeData()
449 rElement.bModified = sal_False; // mark as not modified in impl_storeElementTypeData()
453 …Reference< XStream > xStream( xStorage->openStreamElement( rElement.aName, ElementModes::WRITE|Ele… in impl_storeElementTypeData()
465 … aMenuCfg.StoreMenuBarConfigurationToXML( rElement.xSettings, xOutputStream ); in impl_storeElementTypeData()
477 … ToolBoxConfiguration::StoreToolBox( m_xServiceManager, xOutputStream, rElement.xSettings ); in impl_storeElementTypeData()
489 … StatusBarConfiguration::StoreStatusBar( m_xServiceManager, xOutputStream, rElement.xSettings ); in impl_storeElementTypeData()
504 rElement.bModified = sal_False; in impl_storeElementTypeData()
540 UIElementData& rElement = pIter->second; in impl_resetElementTypeData() local
541 if ( !rElement.bDefault ) in impl_resetElementTypeData()
543 if ( xDefaultNameAccess->hasByName( rElement.aName )) in impl_resetElementTypeData()
546 Reference< XIndexAccess > xOldSettings( rElement.xSettings ); in impl_resetElementTypeData()
547 impl_requestUIElementData( nType, LAYER_DEFAULT, rElement ); in impl_resetElementTypeData()
550 aReplaceEvent.ResourceURL = rElement.aResourceURL; in impl_resetElementTypeData()
554 aReplaceEvent.Element <<= rElement.xSettings; in impl_resetElementTypeData()
560 rElement.bModified = false; in impl_resetElementTypeData()
561 rElement.bDefault = true; in impl_resetElementTypeData()
567 aEvent.ResourceURL = rElement.aResourceURL; in impl_resetElementTypeData()
570 aEvent.Element <<= rElement.xSettings; in impl_resetElementTypeData()
576 rElement.bModified = false; in impl_resetElementTypeData()
577 rElement.bDefault = true; in impl_resetElementTypeData()
607 UIElementData& rElement = pIter->second; in impl_reloadElementTypeData() local
608 if ( rElement.bModified ) in impl_reloadElementTypeData()
610 if ( xUserNameAccess->hasByName( rElement.aName )) in impl_reloadElementTypeData()
613 Reference< XIndexAccess > xOldSettings( rElement.xSettings ); in impl_reloadElementTypeData()
615 impl_requestUIElementData( nType, LAYER_USERDEFINED, rElement ); in impl_reloadElementTypeData()
619 aReplaceEvent.ResourceURL = rElement.aResourceURL; in impl_reloadElementTypeData()
623 aReplaceEvent.Element <<= rElement.xSettings; in impl_reloadElementTypeData()
626 rElement.bModified = false; in impl_reloadElementTypeData()
628 else if ( xDefaultNameAccess->hasByName( rElement.aName )) in impl_reloadElementTypeData()
631 Reference< XIndexAccess > xOldSettings( rElement.xSettings ); in impl_reloadElementTypeData()
633 impl_requestUIElementData( nType, LAYER_DEFAULT, rElement ); in impl_reloadElementTypeData()
637 aReplaceEvent.ResourceURL = rElement.aResourceURL; in impl_reloadElementTypeData()
641 aReplaceEvent.Element <<= rElement.xSettings; in impl_reloadElementTypeData()
646 rElement.bModified = false; in impl_reloadElementTypeData()
647 rElement.bDefault = true; in impl_reloadElementTypeData()
654 aRemoveEvent.ResourceURL = rElement.aResourceURL; in impl_reloadElementTypeData()
657 aRemoveEvent.Element <<= rElement.xSettings; in impl_reloadElementTypeData()
663 rElement.bModified = false; in impl_reloadElementTypeData()
664 rElement.bDefault = true; in impl_reloadElementTypeData()