Lines Matching refs:nPropId
100 static void lcl_ImplMergeFontProperty( FontDescriptor& rFD, sal_uInt16 nPropId, const Any& rValue ) in DECLARE_TABLE()
108 switch ( nPropId ) in DECLARE_TABLE()
217 sal_Bool UnoControlModel::ImplHasProperty( sal_uInt16 nPropId ) const in ImplHasProperty()
219 …if ( ( nPropId >= BASEPROPERTY_FONTDESCRIPTORPART_START ) && ( nPropId <= BASEPROPERTY_FONTDESCRIP… in ImplHasProperty()
220 nPropId = BASEPROPERTY_FONTDESCRIPTOR; in ImplHasProperty()
222 return mpData->Get( nPropId ) ? sal_True : sal_False; in ImplHasProperty()
225 ::com::sun::star::uno::Any UnoControlModel::ImplGetDefaultValue( sal_uInt16 nPropId ) const in ImplGetDefaultValue()
230 (nPropId == BASEPROPERTY_FONTDESCRIPTOR) || in ImplGetDefaultValue()
232 (nPropId >= BASEPROPERTY_FONTDESCRIPTORPART_START) && in ImplGetDefaultValue()
233 (nPropId <= BASEPROPERTY_FONTDESCRIPTORPART_END) in ImplGetDefaultValue()
238 switch ( nPropId ) in ImplGetDefaultValue()
262 switch ( nPropId ) in ImplGetDefaultValue()
458 void UnoControlModel::ImplRegisterProperty( sal_uInt16 nPropId, const ::com::sun::star::uno::Any& r… in ImplRegisterProperty() argument
460 ImplControlProperty* pProp = new ImplControlProperty( nPropId, rDefault ); in ImplRegisterProperty()
461 mpData->Insert( nPropId, pProp ); in ImplRegisterProperty()
464 void UnoControlModel::ImplRegisterProperty( sal_uInt16 nPropId ) in ImplRegisterProperty() argument
466 ImplRegisterProperty( nPropId, ImplGetDefaultValue( nPropId ) ); in ImplRegisterProperty()
468 if ( nPropId == BASEPROPERTY_FONTDESCRIPTOR ) in ImplRegisterProperty()
551 sal_uInt16 nPropId = GetPropertyId( PropertyName ); in getPropertyState() local
554 ::com::sun::star::uno::Any aDefault = ImplGetDefaultValue( nPropId ); in getPropertyState()
848 sal_uInt16 nPropId = (sal_uInt16)InStream->readShort(); in read() local
854 …const ::com::sun::star::uno::Type* pType = mpData->Get( nPropId ) ? GetPropertyType( nPropId ) : N… in read()
950 ::rtl::OUString sPropertyName( GetPropertyName( nPropId ) ); in read()
959 if ( nPropId == BASEPROPERTY_FONT_TYPE ) in read()
979 else if ( nPropId == BASEPROPERTY_FONT_SIZE ) in read()
996 else if ( nPropId == BASEPROPERTY_FONT_ATTRIBS ) in read()
1024 if ( nPropId == BASEPROPERTY_FONTDESCRIPTOR ) in read()
1031 if ( mpData->Get( nPropId ) ) in read()
1033 aProps.getArray()[i] = GetPropertyName( nPropId ); in read()
1124 …vertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nPropId, const Any& rValu… in convertFastPropertyValue() argument
1135 const ::com::sun::star::uno::Type* pDestType = GetPropertyType( (sal_uInt16)nPropId ); in convertFastPropertyValue()
1229 aErrorMessage.append ( GetPropertyName( (sal_uInt16)nPropId ) ); in convertFastPropertyValue()
1246 getFastPropertyValue( rOldValue, nPropId ); in convertFastPropertyValue()
1250 void UnoControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 nPropId, const ::com::sun::star::… in setFastPropertyValue_NoBroadcast() argument
1254 ImplControlProperty* pProp = mpData->Get( nPropId ); in setFastPropertyValue_NoBroadcast()
1257 …m::sun::star::uno::TypeClass_VOID ) || ( GetPropertyAttribs( (sal_uInt16)nPropId ) & ::com::sun::s… in setFastPropertyValue_NoBroadcast()
1261 void UnoControlModel::getFastPropertyValue( ::com::sun::star::uno::Any& rValue, sal_Int32 nPropId )… in getFastPropertyValue()
1265 ImplControlProperty* pProp = mpData->Get( nPropId ); in getFastPropertyValue()
1269 …else if ( ( nPropId >= BASEPROPERTY_FONTDESCRIPTORPART_START ) && ( nPropId <= BASEPROPERTY_FONTDE… in getFastPropertyValue()
1274 switch ( nPropId ) in getFastPropertyValue()
1320 sal_Int32 nPropId = 0; in setPropertyValue() local
1323 nPropId = (sal_Int32) GetPropertyId( rPropertyName ); in setPropertyValue()
1324 DBG_ASSERT( nPropId, "Invalid ID in UnoControlModel::setPropertyValue" ); in setPropertyValue()
1326 if( nPropId ) in setPropertyValue()
1327 setFastPropertyValue( nPropId, rValue ); in setPropertyValue()
1333 void UnoControlModel::setFastPropertyValue( sal_Int32 nPropId, const ::com::sun::star::uno::Any& rV… in setFastPropertyValue() argument
1335 …if ( ( nPropId >= BASEPROPERTY_FONTDESCRIPTORPART_START ) && ( nPropId <= BASEPROPERTY_FONTDESCRIP… in setFastPropertyValue()
1347 lcl_ImplMergeFontProperty( aNewFontDescriptor, (sal_uInt16)nPropId, rValue ); in setFastPropertyValue()
1361 fire( &nPropId, &aNewSingleValue, &aOldSingleValue, 1, sal_False ); in setFastPropertyValue()
1364 setFastPropertyValues( 1, &nPropId, &rValue, 1 ); in setFastPropertyValue()