Lines Matching refs:value
55 typedef bool (* TextPropertyValueFunc) ( uno::Any& rAny, const gchar * value );
251 String2Float( uno::Any& rAny, const gchar * value ) in String2Float() argument
255 if( 1 != sscanf( value, "%g", &fval ) ) in String2Float()
382 String2Color( uno::Any& rAny, const gchar * value ) in String2Color() argument
386 if( 3 != sscanf( value, "%d,%d,%d", &red, &green, &blue ) ) in String2Color()
399 const gchar * value = NULL; in FontSlant2Style() local
404 value = "normal"; in FontSlant2Style()
408 value = "oblique"; in FontSlant2Style()
412 value = "italic"; in FontSlant2Style()
416 value = "reverse oblique"; in FontSlant2Style()
420 value = "reverse italic"; in FontSlant2Style()
427 if( value ) in FontSlant2Style()
428 return g_strdup( value ); in FontSlant2Style()
434 Style2FontSlant( uno::Any& rAny, const gchar * value ) in Style2FontSlant() argument
438 if( strncmp( value, STRNCMP_PARAM( "normal" ) ) ) in Style2FontSlant()
440 else if( strncmp( value, STRNCMP_PARAM( "oblique" ) ) ) in Style2FontSlant()
442 else if( strncmp( value, STRNCMP_PARAM( "italic" ) ) ) in Style2FontSlant()
444 else if( strncmp( value, STRNCMP_PARAM( "reverse oblique" ) ) ) in Style2FontSlant()
446 else if( strncmp( value, STRNCMP_PARAM( "reverse italic" ) ) ) in Style2FontSlant()
464 String2Weight( uno::Any& rAny, const gchar * value ) in String2Weight() argument
468 if( 1 != sscanf( value, "%g", &weight ) ) in String2Weight()
481 const gchar * value = NULL; in Adjust2Justification() local
486 value = "left"; in Adjust2Justification()
490 value = "right"; in Adjust2Justification()
495 value = "fill"; in Adjust2Justification()
499 value = "center"; in Adjust2Justification()
506 if( value ) in Adjust2Justification()
507 return g_strdup( value ); in Adjust2Justification()
513 Justification2Adjust( uno::Any& rAny, const gchar * value ) in Justification2Adjust() argument
517 if( strncmp( value, STRNCMP_PARAM( "left" ) ) ) in Justification2Adjust()
519 else if( strncmp( value, STRNCMP_PARAM( "right" ) ) ) in Justification2Adjust()
521 else if( strncmp( value, STRNCMP_PARAM( "fill" ) ) ) in Justification2Adjust()
523 else if( strncmp( value, STRNCMP_PARAM( "center" ) ) ) in Justification2Adjust()
558 String2Strikeout( uno::Any& rAny, const gchar * value ) in String2Strikeout() argument
563 0 == strncmp( value, font_strikethrough[n], strlen( font_strikethrough[n] ) ) ) in String2Strikeout()
578 const gchar * value = NULL; in Underline2String() local
583 value = "none"; in Underline2String()
587 value = "single"; in Underline2String()
591 value = "double"; in Underline2String()
598 if( value ) in Underline2String()
599 return g_strdup( value ); in Underline2String()
605 String2Underline( uno::Any& rAny, const gchar * value ) in String2Underline() argument
609 if( strncmp( value, STRNCMP_PARAM( "none" ) ) ) in String2Underline()
611 else if( strncmp( value, STRNCMP_PARAM( "single" ) ) ) in String2Underline()
613 else if( strncmp( value, STRNCMP_PARAM( "double" ) ) ) in String2Underline()
636 SetString( uno::Any& rAny, const gchar * value ) in SetString() argument
638 rtl::OString aFontName( value ); in SetString()
664 UnitString2CMM( uno::Any& rAny, const gchar * value ) in UnitString2CMM() argument
668 if( 1 != sscanf( value, "%gmm", &fValue ) ) in UnitString2CMM()
693 String2Bool( uno::Any& rAny, const gchar * value ) in String2Bool() argument
697 if( strncmp( value, STRNCMP_PARAM( "true" ) ) ) in String2Bool()
699 else if( strncmp( value, STRNCMP_PARAM( "false" ) ) ) in String2Bool()
717 String2Scale( uno::Any& rAny, const gchar * value ) in String2Scale() argument
721 if( 1 != sscanf( value, "%lg", &dval ) ) in String2Scale()
733 const gchar * value = NULL; in CaseMap2String() local
738 value = "small_caps"; in CaseMap2String()
742 value = "normal"; in CaseMap2String()
746 if( value ) in CaseMap2String()
747 return g_strdup( value ); in CaseMap2String()
753 String2CaseMap( uno::Any& rAny, const gchar * value ) in String2CaseMap() argument
757 if( strncmp( value, STRNCMP_PARAM( "normal" ) ) ) in String2CaseMap()
759 else if( strncmp( value, STRNCMP_PARAM( "small_caps" ) ) ) in String2CaseMap()
809 String2Locale( uno::Any& rAny, const gchar * value ) in String2Locale() argument
813 gchar ** str_array = g_strsplit_set( value, "-.@", -1 ); in String2Locale()
1148 gchar * value ) in attribute_set_prepend() argument
1150 if( value ) in attribute_set_prepend()
1154 at->value = value; in attribute_set_prepend()
1433 … if( ! g_TextAttrMap[text_attr].toPropertyValue( aAttributeList[nIndex].Value, attribute->value) ) in attribute_set_map_to_property_values()