Lines Matching refs:rAny
54 typedef gchar* (* AtkTextAttrFunc) ( const uno::Any& rAny );
55 typedef bool (* TextPropertyValueFunc) ( uno::Any& rAny, const gchar * value );
245 Float2String(const uno::Any& rAny) in Float2String() argument
247 return g_strdup_printf( "%g", rAny.get<float>() ); in Float2String()
251 String2Float( uno::Any& rAny, const gchar * value ) in String2Float() argument
258 rAny = uno::makeAny( fval ); in String2Float()
382 String2Color( uno::Any& rAny, const gchar * value ) in String2Color() argument
390 rAny = uno::makeAny( nColor ); in String2Color()
397 FontSlant2Style(const uno::Any& rAny) in FontSlant2Style() argument
401 switch( rAny.get<awt::FontSlant>() ) in FontSlant2Style()
434 Style2FontSlant( uno::Any& rAny, const gchar * value ) in Style2FontSlant() argument
451 rAny = uno::makeAny( aFontSlant ); in Style2FontSlant()
458 Weight2String(const uno::Any& rAny) in Weight2String() argument
460 return g_strdup_printf( "%g", rAny.get<float>() * 4 ); in Weight2String()
464 String2Weight( uno::Any& rAny, const gchar * value ) in String2Weight() argument
471 rAny = uno::makeAny( weight / 4 ); in String2Weight()
479 Adjust2Justification(const uno::Any& rAny) in Adjust2Justification() argument
483 switch( rAny.get<short>() ) in Adjust2Justification()
513 Justification2Adjust( uno::Any& rAny, const gchar * value ) in Justification2Adjust() argument
528 rAny = uno::makeAny( nParagraphAdjust ); in Justification2Adjust()
547 Strikeout2String(const uno::Any& rAny) in Strikeout2String() argument
549 sal_Int16 n = rAny.get<sal_Int16>(); in Strikeout2String()
558 String2Strikeout( uno::Any& rAny, const gchar * value ) in String2Strikeout() argument
565 rAny = uno::makeAny( n ); in String2Strikeout()
576 Underline2String(const uno::Any& rAny) in Underline2String() argument
580 switch( rAny.get<sal_Int16>() ) in Underline2String()
605 String2Underline( uno::Any& rAny, const gchar * value ) in String2Underline() argument
618 rAny = uno::makeAny( nUnderline ); in String2Underline()
625 GetString(const uno::Any& rAny) in GetString() argument
627 …rtl::OString aFontName = rtl::OUStringToOString( rAny.get< rtl::OUString > (), RTL_TEXTENCODING_UT… in GetString()
636 SetString( uno::Any& rAny, const gchar * value ) in SetString() argument
642 rAny = uno::makeAny( rtl::OStringToOUString( aFontName, RTL_TEXTENCODING_UTF8 ) ); in SetString()
655 CMM2UnitString(const uno::Any& rAny) in CMM2UnitString() argument
657 double fValue = rAny.get<sal_Int32>(); in CMM2UnitString()
664 UnitString2CMM( uno::Any& rAny, const gchar * value ) in UnitString2CMM() argument
673 rAny = uno::makeAny( (sal_Int32) fValue); in UnitString2CMM()
682 Bool2String( const uno::Any& rAny ) in Bool2String() argument
686 if( rAny.get<sal_Bool>() ) in Bool2String()
693 String2Bool( uno::Any& rAny, const gchar * value ) in String2Bool() argument
704 rAny = uno::makeAny(bValue); in String2Bool()
711 Scale2String( const uno::Any& rAny ) in Scale2String() argument
713 return g_strdup_printf( "%g", (double) (rAny.get< sal_Int16 > ()) / 100 ); in Scale2String()
717 String2Scale( uno::Any& rAny, const gchar * value ) in String2Scale() argument
724 rAny = uno::makeAny((sal_Int16) (dval * 100)); in String2Scale()
731 CaseMap2String( const uno::Any& rAny ) in CaseMap2String() argument
735 switch( rAny.get<short>() ) in CaseMap2String()
753 String2CaseMap( uno::Any& rAny, const gchar * value ) in String2CaseMap() argument
764 rAny = uno::makeAny( nCaseMap ); in String2CaseMap()
783 Kerning2Stretch(const uno::Any& rAny) in Kerning2Stretch() argument
785 sal_Int16 n = rAny.get<sal_Int16>(); in Kerning2Stretch()
800 Locale2String(const uno::Any& rAny) in Locale2String() argument
802 lang::Locale aLocale = rAny.get<lang::Locale> (); in Locale2String()
809 String2Locale( uno::Any& rAny, const gchar * value ) in String2Locale() argument
828 rAny = uno::makeAny(aLocale); in String2Locale()
921 Bool2Shadow( const uno::Any& rAny ) in Bool2Shadow() argument
925 if( rAny.get<sal_Bool>() ) in Bool2Shadow()
934 Short2Degree( const uno::Any& rAny ) in Short2Degree() argument
936 float f = rAny.get<sal_Int16>() / 10; in Short2Degree()
945 WritingMode2Direction( const uno::Any& rAny ) in WritingMode2Direction() argument
947 sal_Int16 n = rAny.get<sal_Int16>(); in WritingMode2Direction()
959 WritingMode2String( const uno::Any& rAny ) in WritingMode2String() argument
961 sal_Int16 n = rAny.get<sal_Int16>(); in WritingMode2String()
975 Escapement2VerticalAlign( const uno::Any& rAny ) in Escapement2VerticalAlign() argument
977 sal_Int16 n = rAny.get<sal_Int16>(); in Escapement2VerticalAlign()
997 LineSpacing2LineHeight( const uno::Any& rAny ) in LineSpacing2LineHeight() argument
1002 if( rAny >>= ls ) in LineSpacing2LineHeight()
1017 TabStopList2String( const uno::Any& rAny, bool default_tabs ) in TabStopList2String() argument
1022 if( rAny >>= theTabStops) in TabStopList2String()
1103 TabStops2String( const uno::Any& rAny ) in TabStops2String() argument
1105 return TabStopList2String(rAny, false); in TabStops2String()
1109 DefaultTabStops2String( const uno::Any& rAny ) in DefaultTabStops2String() argument
1111 return TabStopList2String(rAny, true); in DefaultTabStops2String()