Lines Matching refs:eItem
80 Image Theme::GetImage (const ThemeItem eItem) in GetImage() argument
82 const PropertyType eType (GetPropertyType(eItem)); in GetImage()
84 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetImage()
90 Color Theme::GetColor (const ThemeItem eItem) in GetColor() argument
92 const PropertyType eType (GetPropertyType(eItem)); in GetColor()
94 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetColor()
105 const Paint& Theme::GetPaint (const ThemeItem eItem) in GetPaint() argument
107 const PropertyType eType (GetPropertyType(eItem)); in GetPaint()
109 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetPaint()
115 const Wallpaper Theme::GetWallpaper (const ThemeItem eItem) in GetWallpaper() argument
117 return GetPaint(eItem).GetWallpaper(); in GetWallpaper()
121 sal_Int32 Theme::GetInteger (const ThemeItem eItem) in GetInteger() argument
123 const PropertyType eType (GetPropertyType(eItem)); in GetInteger()
125 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetInteger()
131 bool Theme::GetBoolean (const ThemeItem eItem) in GetBoolean() argument
133 const PropertyType eType (GetPropertyType(eItem)); in GetBoolean()
135 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetBoolean()
141 Rectangle Theme::GetRectangle (const ThemeItem eItem) in GetRectangle() argument
143 const PropertyType eType (GetPropertyType(eItem)); in GetRectangle()
145 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetRectangle()
508 const ThemeItem eItem (iId->second); in setPropertyValue() local
510 if (rValue == maRawValues[eItem]) in setPropertyValue()
517 const Any aOldValue (maRawValues[eItem]); in setPropertyValue()
523 eItem, in setPropertyValue()
529 if (DoVetoableListenersVeto(GetVetoableListeners(eItem, false), aEvent)) in setPropertyValue()
532 maRawValues[eItem] = rValue; in setPropertyValue()
533 ProcessNewValue(rValue, eItem, eType); in setPropertyValue()
536 BroadcastPropertyChange(GetChangeListeners(eItem, false), aEvent); in setPropertyValue()
554 const ThemeItem eItem (iId->second); in getPropertyValue() local
556 return maRawValues[eItem]; in getPropertyValue()
567 ThemeItem eItem (__AnyItem); in addPropertyChangeListener() local
578 eItem = iId->second; in addPropertyChangeListener()
580 ChangeListenerContainer* pListeners = GetChangeListeners(eItem, true); in addPropertyChangeListener()
593 ThemeItem eItem (__AnyItem); in removePropertyChangeListener() local
604 eItem = iId->second; in removePropertyChangeListener()
606 ChangeListenerContainer* pContainer = GetChangeListeners(eItem, false); in removePropertyChangeListener()
616 maChangeListeners.erase(eItem); in removePropertyChangeListener()
629 ThemeItem eItem (__AnyItem); in addVetoableChangeListener() local
640 eItem = iId->second; in addVetoableChangeListener()
642 VetoableListenerContainer* pListeners = GetVetoableListeners(eItem, true); in addVetoableChangeListener()
655 ThemeItem eItem (__AnyItem); in removeVetoableChangeListener() local
666 eItem = iId->second; in removeVetoableChangeListener()
668 VetoableListenerContainer* pContainer = GetVetoableListeners(eItem, false); in removeVetoableChangeListener()
677 maVetoableListeners.erase(eItem); in removeVetoableChangeListener()
690 const ThemeItem eItem (static_cast<ThemeItem>(nItem)); in getProperties() local
691 const PropertyType eType (GetPropertyType(eItem)); in getProperties()
696 maPropertyIdToNameMap[eItem], in getProperties()
697 eItem, in getProperties()
721 const ThemeItem eItem (iId->second); in getPropertyByName() local
725 eItem, in getPropertyByName()
822 Theme::PropertyType Theme::GetPropertyType (const ThemeItem eItem) in GetPropertyType() argument
824 switch(eItem) in GetPropertyType()
925 sal_Int32 Theme::GetIndex (const ThemeItem eItem, const PropertyType eType) in GetIndex() argument
930 return eItem - __Pre_Image-1; in GetIndex()
932 return eItem - __Image_Color-1; in GetIndex()
934 return eItem - __Color_Paint-1; in GetIndex()
936 return eItem - __Paint_Int-1; in GetIndex()
938 return eItem - __Int_Bool-1; in GetIndex()
940 return eItem - __Bool_Rect-1; in GetIndex()
950 const ThemeItem eItem, in GetVetoableListeners() argument
953 VetoableListeners::iterator iContainer (maVetoableListeners.find(eItem)); in GetVetoableListeners()
958 maVetoableListeners[eItem] = VetoableListenerContainer(); in GetVetoableListeners()
959 return &maVetoableListeners[eItem]; in GetVetoableListeners()
967 const ThemeItem eItem, in GetChangeListeners() argument
970 ChangeListeners::iterator iContainer (maChangeListeners.find(eItem)); in GetChangeListeners()
975 maChangeListeners[eItem] = ChangeListenerContainer(); in GetChangeListeners()
976 return &maChangeListeners[eItem]; in GetChangeListeners()
1042 const ThemeItem eItem, in ProcessNewValue() argument
1045 const sal_Int32 nIndex (GetIndex (eItem, eType)); in ProcessNewValue()
1086 if (eItem == Bool_IsHighContrastModeActive) in ProcessNewValue()
1092 else if (eItem == Bool_UseSystemColors) in ProcessNewValue()