Lines Matching refs:eItem
88 Image Theme::GetImage (const ThemeItem eItem) in GetImage() argument
90 const PropertyType eType (GetPropertyType(eItem)); in GetImage()
92 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetImage()
100 Color Theme::GetColor (const ThemeItem eItem) in GetColor() argument
102 const PropertyType eType (GetPropertyType(eItem)); in GetColor()
104 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetColor()
117 const Paint& Theme::GetPaint (const ThemeItem eItem) in GetPaint() argument
119 const PropertyType eType (GetPropertyType(eItem)); in GetPaint()
121 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetPaint()
129 const Wallpaper Theme::GetWallpaper (const ThemeItem eItem) in GetWallpaper() argument
131 return GetPaint(eItem).GetWallpaper(); in GetWallpaper()
137 sal_Int32 Theme::GetInteger (const ThemeItem eItem) in GetInteger() argument
139 const PropertyType eType (GetPropertyType(eItem)); in GetInteger()
141 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetInteger()
149 bool Theme::GetBoolean (const ThemeItem eItem) in GetBoolean() argument
151 const PropertyType eType (GetPropertyType(eItem)); in GetBoolean()
153 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetBoolean()
161 Rectangle Theme::GetRectangle (const ThemeItem eItem) in GetRectangle() argument
163 const PropertyType eType (GetPropertyType(eItem)); in GetRectangle()
165 const sal_Int32 nIndex (GetIndex(eItem, eType)); in GetRectangle()
541 const ThemeItem eItem (iId->second); in setPropertyValue() local
543 if (rValue == maRawValues[eItem]) in setPropertyValue()
550 const Any aOldValue (maRawValues[eItem]); in setPropertyValue()
556 eItem, in setPropertyValue()
562 if (DoVetoableListenersVeto(GetVetoableListeners(eItem, false), aEvent)) in setPropertyValue()
565 maRawValues[eItem] = rValue; in setPropertyValue()
566 ProcessNewValue(rValue, eItem, eType); in setPropertyValue()
569 BroadcastPropertyChange(GetChangeListeners(eItem, false), aEvent); in setPropertyValue()
589 const ThemeItem eItem (iId->second); in getPropertyValue() local
591 return maRawValues[eItem]; in getPropertyValue()
604 ThemeItem eItem (__AnyItem); in addPropertyChangeListener() local
615 eItem = iId->second; in addPropertyChangeListener()
617 ChangeListenerContainer* pListeners = GetChangeListeners(eItem, true); in addPropertyChangeListener()
632 ThemeItem eItem (__AnyItem); in removePropertyChangeListener() local
643 eItem = iId->second; in removePropertyChangeListener()
645 ChangeListenerContainer* pContainer = GetChangeListeners(eItem, false); in removePropertyChangeListener()
655 maChangeListeners.erase(eItem); in removePropertyChangeListener()
670 ThemeItem eItem (__AnyItem); in addVetoableChangeListener() local
681 eItem = iId->second; in addVetoableChangeListener()
683 VetoableListenerContainer* pListeners = GetVetoableListeners(eItem, true); in addVetoableChangeListener()
698 ThemeItem eItem (__AnyItem); in removeVetoableChangeListener() local
709 eItem = iId->second; in removeVetoableChangeListener()
711 VetoableListenerContainer* pContainer = GetVetoableListeners(eItem, false); in removeVetoableChangeListener()
720 maVetoableListeners.erase(eItem); in removeVetoableChangeListener()
735 const ThemeItem eItem (static_cast<ThemeItem>(nItem)); in getProperties() local
736 const PropertyType eType (GetPropertyType(eItem)); in getProperties()
741 maPropertyIdToNameMap[eItem], in getProperties()
742 eItem, in getProperties()
768 const ThemeItem eItem (iId->second); in getPropertyByName() local
772 eItem, in getPropertyByName()
875 Theme::PropertyType Theme::GetPropertyType (const ThemeItem eItem) in GetPropertyType() argument
877 switch(eItem) in GetPropertyType()
982 sal_Int32 Theme::GetIndex (const ThemeItem eItem, const PropertyType eType) in GetIndex() argument
987 return eItem - __Pre_Image-1; in GetIndex()
989 return eItem - __Image_Color-1; in GetIndex()
991 return eItem - __Color_Paint-1; in GetIndex()
993 return eItem - __Paint_Int-1; in GetIndex()
995 return eItem - __Int_Bool-1; in GetIndex()
997 return eItem - __Bool_Rect-1; in GetIndex()
1009 const ThemeItem eItem, in GetVetoableListeners() argument
1012 VetoableListeners::iterator iContainer (maVetoableListeners.find(eItem)); in GetVetoableListeners()
1017 maVetoableListeners[eItem] = VetoableListenerContainer(); in GetVetoableListeners()
1018 return &maVetoableListeners[eItem]; in GetVetoableListeners()
1028 const ThemeItem eItem, in GetChangeListeners() argument
1031 ChangeListeners::iterator iContainer (maChangeListeners.find(eItem)); in GetChangeListeners()
1036 maChangeListeners[eItem] = ChangeListenerContainer(); in GetChangeListeners()
1037 return &maChangeListeners[eItem]; in GetChangeListeners()
1109 const ThemeItem eItem, in ProcessNewValue() argument
1112 const sal_Int32 nIndex (GetIndex (eItem, eType)); in ProcessNewValue()
1153 if (eItem == Bool_IsHighContrastModeActive) in ProcessNewValue()
1159 else if (eItem == Bool_UseSystemColors) in ProcessNewValue()