/aoo4110/main/cppu/inc/com/sun/star/uno/ |
H A D | Any.hxx | 69 ::uno_type_any_construct( this, rAny.pData, rAny.pType, (uno_AcquireFunc)cpp_acquire ); in Any() 99 if (this != &rAny) in operator =() 102 this, rAny.pData, rAny.pType, in operator =() 167 pData, pType, rAny.pData, rAny.pType, in operator ==() 174 pData, pType, rAny.pData, rAny.pType, in operator !=() 222 rAny.pData, rAny.pType, in operator >>=() 437 (sizeof(void *) >= sizeof(float)) ? (void *)&rAny.pReserved : rAny.pData ); in operator >>=() 467 (sizeof(void *) >= sizeof(float)) ? (void *)&rAny.pReserved : rAny.pData ); in operator >>=() 516 if (&rAny != &value) in operator >>=() 519 &value, rAny.pData, rAny.pType, in operator >>=() [all …]
|
H A D | Any.h | 84 inline Any( const Any & rAny ) SAL_THROW( () ); 116 inline Any & SAL_CALL operator = ( const Any & rAny ) SAL_THROW( () ); 234 inline sal_Bool SAL_CALL operator == ( const Any & rAny ) const SAL_THROW( () ); 241 inline sal_Bool SAL_CALL operator != ( const Any & rAny ) const SAL_THROW( () ); 282 inline void SAL_CALL operator <<= ( Any & rAny, const C & value ) SAL_THROW( () ); 285 inline void SAL_CALL operator <<= ( Any & rAny, bool const & value ) 298 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, C & value ) SAL_THROW( () ); 330 inline sal_Bool SAL_CALL operator >>= ( Any const & rAny, bool & value ) 333 inline sal_Bool SAL_CALL operator == ( Any const & rAny, bool const & value ) 354 inline sal_Bool SAL_CALL operator >>= ( const Any & rAny, Type & value ) SAL_THROW( () ); [all …]
|
H A D | Reference.hxx | 164 inline Reference< interface_type >::Reference( const Any & rAny, UnoReference_Query ) SAL_THROW( (R… in Reference() argument 166 _pInterface = (typelib_TypeClass_INTERFACE == rAny.pType->eTypeClass in Reference() 167 ? iquery( static_cast< XInterface * >( rAny.pReserved ) ) : 0); in Reference() 189 _pInterface = iquery_throw( typelib_TypeClass_INTERFACE == rAny.pType->eTypeClass in Reference() 190 ? static_cast< XInterface * >( rAny.pReserved ) : 0 ); in Reference() 276 Any const & rAny, UnoReference_Query ) in set() argument 281 rAny.pType->eTypeClass == typelib_TypeClass_INTERFACE in set() 282 ? static_cast< XInterface * >( rAny.pReserved ) : 0 )), in set() 305 Any const & rAny, UnoReference_QueryThrow ) in set() argument 309 rAny.pType->eTypeClass == typelib_TypeClass_INTERFACE in set() [all …]
|
/aoo4110/main/sw/source/core/fields/ |
H A D | dbfld.cxx | 130 rAny <<= aDBData.sCommand; in QueryValue() 133 rAny <<= OUString(sColumn); in QueryValue() 152 rAny >>= aDBData.sCommand; in PutValue() 157 ::GetString( rAny, sTmp ); in PutValue() 481 rAny >>= nTemp; in PutValue() 684 rAny <<= OUString(aCond); in QueryValue() 801 rAny <<= OUString(aCond); in QueryValue() 823 rAny >>= nVal; in PutValue() 975 rAny <<= nNumber; in QueryValue() 991 rAny >>= nSet; in PutValue() [all …]
|
H A D | docufld.cxx | 254 rAny <<= nOffset; in QueryValue() 284 rAny >>= nSet; in PutValue() 295 rAny >>= nSet; in PutValue() 536 rAny <<= nRet; in QueryValue() 566 rAny >>= nType; in PutValue() 704 rAny <<= nRet; in QueryValue() 723 rAny >>= nType; in PutValue() 858 rAny >>= nSet; in PutValue() 2123 rAny <<= nTmp; in QueryValue() 2149 rAny >>= nTmp; in PutValue() [all …]
|
H A D | expfld.cxx | 95 rAny >>= nVal; in lcl_APIToSubType() 444 rAny <<= nRet; in QueryValue() 472 rAny >>= nTmp; in PutValue() 476 rAny >>= nTmp; in PutValue() 652 rAny <<= nRet; in QueryValue() 661 rAny <<= nRet; in QueryValue() 694 rAny >>= nLvl; in PutValue() 994 rAny >>= nTmp32; in PutValue() 1019 rAny >>= uTmp; in PutValue() 1030 rAny >>= fVal; in PutValue() [all …]
|
H A D | usrfld.cxx | 135 rAny.setValue(&bTmp, ::getBooleanCppuType()); in QueryValue() 141 rAny.setValue(&bTmp, ::getBooleanCppuType()); in QueryValue() 145 rAny <<= (sal_Int32)GetFormat(); in QueryValue() 160 if(*(sal_Bool*) rAny.getValue()) in PutValue() 166 if(*(sal_Bool*) rAny.getValue()) in PutValue() 174 rAny >>= nTmp; in PutValue() 321 rAny <<= (double) nValue; in QueryValue() 324 rAny <<= rtl::OUString(aContent); in QueryValue() 347 rAny >>= fVal; in PutValue() 358 ::GetString( rAny, aContent ); in PutValue() [all …]
|
H A D | macrofld.cxx | 174 sal_Bool SwMacroField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument 179 rAny <<= OUString(GetMacroName()); in QueryValue() 182 rAny <<= OUString(aText); in QueryValue() 185 rAny <<= OUString(GetLibName()); in QueryValue() 188 rAny <<= bIsScriptURL ? OUString(GetMacroName()): OUString(); in QueryValue() 198 sal_Bool SwMacroField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument 204 CreateMacroString( aMacro, ::GetString(rAny, sTmp), GetLibName()); in PutValue() 207 ::GetString( rAny, aText ); in PutValue() 210 CreateMacroString(aMacro, GetMacroName(), ::GetString(rAny, sTmp) ); in PutValue() 213 ::GetString(rAny, aMacro); in PutValue()
|
H A D | tblcalc.cxx | 180 sal_Bool SwTblField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument 190 rAny <<= rtl::OUString( Expand() ); in QueryValue() 197 rAny.setValue(&bFormula, ::getBooleanCppuType()); in QueryValue() 201 rAny <<= rtl::OUString(GetExpStr()); in QueryValue() 204 rAny <<= (sal_Int32)GetFormat(); in QueryValue() 212 sal_Bool SwTblField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument 219 SetFormula( ::GetString( rAny, sTmp )); in PutValue() 222 if(*(sal_Bool*)rAny.getValue()) in PutValue() 228 ChgExpStr( ::GetString( rAny, sTmp )); in PutValue() 233 rAny >>= nTmp; in PutValue()
|
H A D | scrptfld.cxx | 110 sal_Bool SwScriptField::QueryValue( uno::Any& rAny, sal_uInt16 nWhichId ) const in QueryValue() argument 115 rAny <<= OUString( sType ); in QueryValue() 118 rAny <<= OUString( sCode ); in QueryValue() 121 rAny.setValue(&bCodeURL, ::getBooleanCppuType()); in QueryValue() 131 sal_Bool SwScriptField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId ) in PutValue() argument 136 ::GetString( rAny, sType ); in PutValue() 139 ::GetString( rAny, sCode ); in PutValue() 142 bCodeURL = *(sal_Bool*)rAny.getValue(); in PutValue()
|
/aoo4110/main/vcl/unx/gtk/a11y/ |
H A D | atktextattributes.cxx | 245 Float2String(const uno::Any& rAny) in Float2String() argument 258 rAny = uno::makeAny( fval ); in String2Float() 390 rAny = uno::makeAny( nColor ); in String2Color() 483 switch( rAny.get<short>() ) in Adjust2Justification() 625 GetString(const uno::Any& rAny) in GetString() argument 686 if( rAny.get<sal_Bool>() ) in Bool2String() 704 rAny = uno::makeAny(bValue); in String2Bool() 735 switch( rAny.get<short>() ) in CaseMap2String() 925 if( rAny.get<sal_Bool>() ) in Bool2Shadow() 1002 if( rAny >>= ls ) in LineSpacing2LineHeight() [all …]
|
/aoo4110/main/extensions/source/ole/ |
H A D | unoconversionutilities.hxx | 471 variantToAny(& var, rAny); in variantToAny() 708 if (rAny >>= xInt) in anyToVariant() 723 if (rAny >>= d) in anyToVariant() 736 if (rAny >>= d) in anyToVariant() 753 if (rAny >>= c) in anyToVariant() 766 if (rAny >>= s) in anyToVariant() 810 if (rAny >>= value) in anyToVariant() 932 rAny >>= value; in anyToVariant() 948 rAny >>= value; in anyToVariant() 955 rAny >>= type; in anyToVariant() [all …]
|
/aoo4110/main/stoc/source/typeconv/ |
H A D | convert.cxx | 356 nRet = *(sal_Int32 *)rAny.getValue(); in toHyper() 367 nRet = *(sal_Int8 *)rAny.getValue(); in toHyper() 371 nRet = *(sal_Int16 *)rAny.getValue(); in toHyper() 379 nRet = *(sal_Int32 *)rAny.getValue(); in toHyper() 387 nRet = *(sal_Int64 *)rAny.getValue(); in toHyper() 392 nRet = *(sal_Int64 *)rAny.getValue(); in toHyper() 471 fRet = *(sal_Int32 *)rAny.getValue(); in toDouble() 482 fRet = *(sal_Int8 *)rAny.getValue(); in toDouble() 486 fRet = *(sal_Int16 *)rAny.getValue(); in toDouble() 510 fRet = *(float *)rAny.getValue(); in toDouble() [all …]
|
/aoo4110/main/sc/source/core/tool/ |
H A D | rangeseq.cxx | 91 rAny <<= aRowSeq; in FillLongArray() 120 rAny <<= aRowSeq; in FillLongArray() 147 rAny <<= aRowSeq; in FillDoubleArray() 176 rAny <<= aRowSeq; in FillDoubleArray() 209 rAny <<= aRowSeq; in FillStringArray() 250 rAny <<= aRowSeq; in FillStringArray() 313 rAny <<= aRowSeq; in FillMixedArray() 355 rAny <<= aRowSeq; in FillMixedArray() 381 rAny >>= o_fVal; in ConvertAnyToDouble() 399 if ( rAny >>= aSequence ) in CreateMixedMatrix() [all …]
|
/aoo4110/main/comphelper/inc/comphelper/ |
H A D | extract.hxx | 63 if (rAny.getValueTypeClass() == ::com::sun::star::uno::TypeClass_ENUM) in enum2int() 65 rnEnum = * reinterpret_cast< const int * >( rAny.getValue() ); in enum2int() 69 return rAny >>= rnEnum; in enum2int() 84 if (! (rAny >>= eRet)) in any2enum() 88 if (! (rAny >>= nValue)) in any2enum() 119 const ::com::sun::star::uno::Any & rAny ) in extractInterface() 122 return (rAny >>= rxOut); in extractInterface() 131 inline sal_Bool SAL_CALL any2bool( const ::com::sun::star::uno::Any & rAny ) in any2bool() argument 134 if (rAny.getValueTypeClass() == ::com::sun::star::uno::TypeClass_BOOLEAN) in any2bool() 136 return *(sal_Bool *)rAny.getValue(); in any2bool() [all …]
|
/aoo4110/main/sc/inc/ |
H A D | rangeseq.hxx | 38 static sal_Bool FillLongArray( com::sun::star::uno::Any& rAny, 40 static sal_Bool FillLongArray( com::sun::star::uno::Any& rAny, 42 static sal_Bool FillDoubleArray( com::sun::star::uno::Any& rAny, 44 static sal_Bool FillDoubleArray( com::sun::star::uno::Any& rAny, 46 static sal_Bool FillStringArray( com::sun::star::uno::Any& rAny, 48 static sal_Bool FillStringArray( com::sun::star::uno::Any& rAny, 50 static sal_Bool FillMixedArray( com::sun::star::uno::Any& rAny, 60 static sal_Bool FillMixedArray( com::sun::star::uno::Any& rAny, 79 const com::sun::star::uno::Any & rAny ); 95 static ScMatrixRef CreateMixedMatrix( const com::sun::star::uno::Any & rAny ); [all …]
|
/aoo4110/main/svx/source/xml/ |
H A D | xmlxtimp.cxx | 100 …tring& rLocalName, const uno::Reference< XAttributeList >& xAttrList, Any& rAny, OUString& rName ); 101 …tring& rLocalName, const uno::Reference< XAttributeList >& xAttrList, Any& rAny, OUString& rName ); 102 …tring& rLocalName, const uno::Reference< XAttributeList >& xAttrList, Any& rAny, OUString& rName ); 103 …tring& rLocalName, const uno::Reference< XAttributeList >& xAttrList, Any& rAny, OUString& rName ); 105 …tring& rLocalName, const uno::Reference< XAttributeList >& xAttrList, Any& rAny, OUString& rName ); 245 rAny <<= (sal_Int32)aColor.GetColor(); in importColor() 259 aMarkerStyle.importXML( xAttrList, rAny, rName ); in importMarker() 275 aDashStyle.importXML( xAttrList, rAny, rName ); in importDash() 291 aHatchStyle.importXML( xAttrList, rAny, rName ); in importHatch() 307 aGradientStyle.importXML( xAttrList, rAny, rName ); in importGradient() [all …]
|
/aoo4110/main/svx/source/unodraw/ |
H A D | XPropertyTable.cxx | 64 virtual XPropertyEntry* getEntry( const OUString& rName, const uno::Any& rAny ) const throw() = 0; 283 virtual XPropertyEntry* getEntry( const OUString& rName, const uno::Any& rAny ) const throw(); 309 if( !(rAny >>= nColor) ) in getEntry() 346 virtual XPropertyEntry* getEntry( const OUString& rName, const uno::Any& rAny ) const throw(); 375 …if( !rAny.getValue() || rAny.getValueType() != ::getCppuType((const drawing::PolyPolygonBezierCoor… in getEntry() 419 virtual XPropertyEntry* getEntry( const OUString& rName, const uno::Any& rAny ) const throw(); 456 if(!(rAny >>= aLineDash)) in getEntry() 501 virtual XPropertyEntry* getEntry( const OUString& rName, const uno::Any& rAny ) const throw(); 536 if(!(rAny >>= aUnoHatch)) in getEntry() 618 if(!(rAny >>= aGradient)) in getEntry() [all …]
|
/aoo4110/main/vbahelper/source/vbahelper/ |
H A D | vbahelper.cxx | 629 switch( rAny.getValueType().getTypeClass() ) in extractIntFromAny() 638 return rAny.get< sal_Int32 >(); in extractIntFromAny() 646 return rAny.hasValue() ? extractIntFromAny( rAny ) : nDefault; in extractIntFromAny() 651 switch( rAny.getValueType().getTypeClass() ) in extractBoolFromAny() 654 return rAny.get< bool >(); in extractBoolFromAny() 656 return rAny.get< float >() != 0.0; in extractBoolFromAny() 658 return rAny.get< double >() != 0.0; in extractBoolFromAny() 662 return rAny.get< sal_Int32 >() != 0; in extractBoolFromAny() 664 return rAny.get< sal_Int64 >() != 0; in extractBoolFromAny() 672 return rAny.hasValue() ? extractBoolFromAny( rAny ) : bDefault; in extractBoolFromAny() [all …]
|
/aoo4110/main/forms/source/xforms/ |
H A D | convert.cxx | 207 OUString lcl_toXSD_OUString( const Any& rAny ) in lcl_toXSD_OUString() argument 208 { OUString sStr; rAny >>= sStr; return sStr; } in lcl_toXSD_OUString() 215 OUString lcl_toXSD_bool( const Any& rAny ) in lcl_toXSD_bool() argument 226 OUString lcl_toXSD_double( const Any& rAny ) in lcl_toXSD_double() argument 229 rAny >>= f; in lcl_toXSD_double() 274 OUString lcl_toXSD_UNODate( const Any& rAny ) in lcl_toXSD_UNODate() argument 277 OSL_VERIFY( rAny >>= aDate ); in lcl_toXSD_UNODate() 356 OUString lcl_toXSD_UNOTime( const Any& rAny ) in lcl_toXSD_UNOTime() argument 359 OSL_VERIFY( rAny >>= aTime ); in lcl_toXSD_UNOTime() 462 OSL_VERIFY( rAny >>= aDateTime ); in lcl_toXSD_UNODateTime() [all …]
|
/aoo4110/main/xmloff/source/core/ |
H A D | SettingsExportHelper.cxx | 66 void XMLSettingsExportHelper::CallTypeFunction(const uno::Any& rAny, in CallTypeFunction() argument 69 uno::Any aAny( rAny ); in CallTypeFunction() 385 void XMLSettingsExportHelper::exportMapEntry(const uno::Any& rAny, in exportMapEntry() argument 391 rAny >>= aProps; in exportMapEntry() 444 const uno::Any &rAny, in exportForbiddenCharacters() argument 450 rAny >>= xForbChars; in exportForbiddenCharacters() 451 rAny >>= xLocales; in exportForbiddenCharacters() 529 if( rAny >>= nTmp ) in ManipulateSetting() 534 rAny <<= rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("disabled")); in ManipulateSetting() 560 rAny >>= aURL; in ManipulateSetting() [all …]
|
/aoo4110/main/winaccessibility/source/UAccCOM/ |
H A D | AccEditableText.cpp | 268 …eText::get_AnyFromOLECHAR(const ::rtl::OUString &ouName, const ::rtl::OUString &ouValue, Any &rAny) in get_AnyFromOLECHAR() argument 283 rAny.setValue(&nValue, getCppuType((sal_Int32 *)0)); in get_AnyFromOLECHAR() 290 rAny.setValue(&nValue, getCppuType((sal_Bool *)sal_False)); in get_AnyFromOLECHAR() 299 rAny.setValue(&nValue, getCppuType((short *)0)); in get_AnyFromOLECHAR() 306 rAny.setValue(&fValue, getCppuType((float *)0)); in get_AnyFromOLECHAR() 311 rAny.setValue(&ouValue, getCppuType((::rtl::OUString *)0)); in get_AnyFromOLECHAR() 317 rAny.setValue(&fontSlant, getCppuType((::com::sun::star::awt::FontSlant*)0)); in get_AnyFromOLECHAR() 427 rAny.setValue(&seqTabStop, getCppuType((Sequence< ::com::sun::star::style::TabStop >*)0)); in get_AnyFromOLECHAR() 470 rAny.setValue(&lineSpacing, getCppuType((::com::sun::star::style::LineSpacing* )0)); in get_AnyFromOLECHAR() 476 rAny.setValue(&nDefault, getCppuType((sal_Int32 *)0)); in get_AnyFromOLECHAR()
|
/aoo4110/main/chart2/source/tools/ |
H A D | PropertyHelper.cxx | 275 …setPropertyValueAny( tPropertyValueMap & rOutMap, tPropertyValueMapKey key, const uno::Any & rAny ) in setPropertyValueAny() argument 279 rOutMap.insert( tPropertyValueMap::value_type( key, rAny )); in setPropertyValueAny() 281 (*aIt).second = rAny; in setPropertyValueAny() 285 …>( tPropertyValueMap & rOutMap, tPropertyValueMapKey key, const ::com::sun::star::uno::Any & rAny ) in setPropertyValue() argument 287 setPropertyValueAny( rOutMap, key, rAny ); in setPropertyValue() 290 …ertyValueDefaultAny( tPropertyValueMap & rOutMap, tPropertyValueMapKey key, const uno::Any & rAny ) in setPropertyValueDefaultAny() argument 293 setPropertyValue( rOutMap, key, rAny ); in setPropertyValueDefaultAny() 297 …>( tPropertyValueMap & rOutMap, tPropertyValueMapKey key, const ::com::sun::star::uno::Any & rAny ) in setPropertyValueDefault() argument 299 setPropertyValueDefaultAny( rOutMap, key, rAny ); in setPropertyValueDefault()
|
/aoo4110/main/sd/source/ui/unoidl/ |
H A D | unohelp.hxx | 26 inline sal_Bool any2bool( const ::com::sun::star::uno::Any& rAny, sal_Bool& rBool ) in any2bool() argument 28 if( rAny.getValueType() == ::getCppuBooleanType() ) in any2bool() 30 rBool = *(sal_Bool*)rAny.getValue(); in any2bool() 35 if(!(rAny >>= nValue)) in any2bool() 43 inline void bool2any( sal_Bool bBool, ::com::sun::star::uno::Any& rAny ) in bool2any() argument 45 rAny.setValue( &bBool, ::getCppuBooleanType() ); in bool2any()
|
/aoo4110/main/chart2/source/inc/ |
H A D | CommonFunctors.hxx | 60 double operator() ( const ::com::sun::star::uno::Any & rAny ) in operator ()() 65 ::com::sun::star::uno::TypeClass eClass( rAny.getValueType().getTypeClass() ); in operator ()() 68 fResult = * reinterpret_cast< const double * >( rAny.getValue() ); in operator ()() 80 ::rtl::OUString operator() ( const ::com::sun::star::uno::Any & rAny ) in operator ()() 82 ::com::sun::star::uno::TypeClass eClass( rAny.getValueType().getTypeClass() ); in operator ()() 85 const double* pDouble = reinterpret_cast< const double * >( rAny.getValue() ); in operator ()() 98 return * reinterpret_cast< const ::rtl::OUString * >( rAny.getValue() ); in operator ()()
|