Lines Matching refs:rElement
416 UIElementData& rElement = pIter->second; in impl_storeElementTypeData() local
417 if ( rElement.bModified ) in impl_storeElementTypeData()
419 if ( rElement.bDefault ) in impl_storeElementTypeData()
421 xStorage->removeElement( rElement.aName ); in impl_storeElementTypeData()
422 rElement.bModified = sal_False; // mark as not modified in impl_storeElementTypeData()
426 …Reference< XStream > xStream( xStorage->openStreamElement( rElement.aName, ElementModes::WRITE|Ele… in impl_storeElementTypeData()
438 … aMenuCfg.StoreMenuBarConfigurationToXML( rElement.xSettings, xOutputStream ); in impl_storeElementTypeData()
450 … ToolBoxConfiguration::StoreToolBox( m_xServiceManager, xOutputStream, rElement.xSettings ); in impl_storeElementTypeData()
462 … StatusBarConfiguration::StoreStatusBar( m_xServiceManager, xOutputStream, rElement.xSettings ); in impl_storeElementTypeData()
477 rElement.bModified = sal_False; in impl_storeElementTypeData()
512 UIElementData& rElement = pIter->second; in impl_resetElementTypeData() local
513 if ( !rElement.bDefault ) in impl_resetElementTypeData()
515 if ( m_bUseDefault && xDefaultNameAccess->hasByName( rElement.aName )) in impl_resetElementTypeData()
518 Reference< XIndexAccess > xOldSettings( rElement.xSettings ); in impl_resetElementTypeData()
519 impl_requestUIElementData( nType, LAYER_DEFAULT, rElement ); in impl_resetElementTypeData()
522 aReplaceEvent.ResourceURL = rElement.aResourceURL; in impl_resetElementTypeData()
526 aReplaceEvent.Element <<= rElement.xSettings; in impl_resetElementTypeData()
532 rElement.bModified = false; in impl_resetElementTypeData()
533 rElement.bDefault = true; in impl_resetElementTypeData()
539 aEvent.ResourceURL = rElement.aResourceURL; in impl_resetElementTypeData()
542 aEvent.Element <<= rElement.xSettings; in impl_resetElementTypeData()
548 rElement.bModified = false; in impl_resetElementTypeData()
549 rElement.bDefault = true; in impl_resetElementTypeData()
553 rElement.bModified = false; in impl_resetElementTypeData()
580 UIElementData& rElement = pIter->second; in impl_reloadElementTypeData() local
581 if ( rElement.bModified ) in impl_reloadElementTypeData()
583 if ( xUserNameAccess->hasByName( rElement.aName )) in impl_reloadElementTypeData()
586 Reference< XIndexAccess > xOldSettings( rElement.xSettings ); in impl_reloadElementTypeData()
588 impl_requestUIElementData( nType, LAYER_USERDEFINED, rElement ); in impl_reloadElementTypeData()
592 aReplaceEvent.ResourceURL = rElement.aResourceURL; in impl_reloadElementTypeData()
596 aReplaceEvent.Element <<= rElement.xSettings; in impl_reloadElementTypeData()
599 rElement.bModified = false; in impl_reloadElementTypeData()
601 else if ( m_bUseDefault && xDefaultNameAccess->hasByName( rElement.aName )) in impl_reloadElementTypeData()
604 Reference< XIndexAccess > xOldSettings( rElement.xSettings ); in impl_reloadElementTypeData()
606 impl_requestUIElementData( nType, LAYER_DEFAULT, rElement ); in impl_reloadElementTypeData()
610 aReplaceEvent.ResourceURL = rElement.aResourceURL; in impl_reloadElementTypeData()
614 aReplaceEvent.Element <<= rElement.xSettings; in impl_reloadElementTypeData()
619 rElement.bModified = false; in impl_reloadElementTypeData()
620 rElement.bDefault = true; in impl_reloadElementTypeData()
627 aRemoveEvent.ResourceURL = rElement.aResourceURL; in impl_reloadElementTypeData()
630 aRemoveEvent.Element <<= rElement.xSettings; in impl_reloadElementTypeData()
636 rElement.bModified = false; in impl_reloadElementTypeData()
637 rElement.bDefault = true; in impl_reloadElementTypeData()