Lines Matching refs:aGconfValue
224 uno::Any makeAnyOfGconfValue( GConfValue *aGconfValue ) in makeAnyOfGconfValue() argument
226 switch( aGconfValue->type ) in makeAnyOfGconfValue()
229 return uno::makeAny( (sal_Bool) gconf_value_get_bool( aGconfValue ) ); in makeAnyOfGconfValue()
232 return uno::makeAny( (sal_Int32) gconf_value_get_int( aGconfValue ) ); in makeAnyOfGconfValue()
236 gconf_value_get_string(aGconfValue) ), RTL_TEXTENCODING_UTF8 ) ); in makeAnyOfGconfValue()
248 static void splitFontName( GConfValue *aGconfValue, rtl::OUString &rName, sal_Int16 &rHeight) in splitFontName() argument
250 rtl::OString aFont( gconf_value_get_string( aGconfValue ) ); in splitFontName()
266 uno::Any translateToOOo( const ConfigurationValue aValue, GConfValue *aGconfValue ) in translateToOOo() argument
274 uno::Any aOriginalValue = makeAnyOfGconfValue( aGconfValue ); in translateToOOo()
287 …if( (GCONF_VALUE_LIST == aGconfValue->type) && (GCONF_VALUE_STRING == gconf_value_get_list_type(aG… in translateToOOo()
289 GSList * list = gconf_value_get_list(aGconfValue); in translateToOOo()
307 uno::Any aOriginalValue = makeAnyOfGconfValue( aGconfValue ); in translateToOOo()
319 uno::Any aOriginalValue = makeAnyOfGconfValue( aGconfValue ); in translateToOOo()
333 uno::Any aOriginalValue = makeAnyOfGconfValue( aGconfValue ); in translateToOOo()
378 splitFontName (aGconfValue, aName, nHeight); in translateToOOo()
402 GConfValue* aGconfValue = gconf_client_get( aClient, GCONF_PROXY_MODE_KEY, NULL ); in isDependencySatisfied() local
404 if ( aGconfValue != NULL ) in isDependencySatisfied()
406 bool bOk = g_strcasecmp( "manual", gconf_value_get_string( aGconfValue ) ) == 0; in isDependencySatisfied()
407 gconf_value_free( aGconfValue ); in isDependencySatisfied()
447 GConfValue* aGconfValue = gconf_client_get( aClient, GCONF_AUTO_SAVE_KEY, NULL ); in isDependencySatisfied() local
449 if( ( aGconfValue != NULL ) ) in isDependencySatisfied()
451 bool bOk = gconf_value_get_bool( aGconfValue ); in isDependencySatisfied()
452 gconf_value_free( aGconfValue ); in isDependencySatisfied()
823 GConfValue* aGconfValue; in getValue() local
826 aGconfValue = gconf_client_get( aClient, data.GconfItem, NULL ); in getValue()
828 if( aGconfValue != NULL ) in getValue()
832 value = translateToOOo( data, aGconfValue ); in getValue()
834 value = makeAnyOfGconfValue( aGconfValue ); in getValue()
836 gconf_value_free( aGconfValue ); in getValue()