Home
last modified time | relevance | path

Searched refs:rAny (Results 1 – 25 of 159) sorted by relevance

1234567

/trunk/main/cppu/inc/com/sun/star/uno/
H A DAny.hxx69 ::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 >>=()
285 switch (rAny.pType->eTypeClass) in operator >>=()
301 switch (rAny.pType->eTypeClass) in operator >>=()
511 if (&rAny != &value) in operator >>=()
514 &value, rAny.pData, rAny.pType, in operator >>=()
[all …]
H A DAny.h84 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 DReference.hxx164 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 …]
/trunk/main/sw/source/core/fields/
H A Ddbfld.cxx130 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 Ddocufld.cxx254 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 Dexpfld.cxx95 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 Dusrfld.cxx135 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 Dmacrofld.cxx174 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 Dtblcalc.cxx180 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 Dscrptfld.cxx110 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()
/trunk/main/vcl/unx/gtk/a11y/
H A Datktextattributes.cxx245 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 …]
/trunk/main/extensions/source/ole/
H A Dunoconversionutilities.hxx471 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 …]
/trunk/main/stoc/source/typeconv/
H A Dconvert.cxx356 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 …]
/trunk/main/sc/source/core/tool/
H A Drangeseq.cxx91 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 …]
/trunk/main/comphelper/inc/comphelper/
H A Dextract.hxx64 if (rAny.getValueTypeClass() == ::com::sun::star::uno::TypeClass_ENUM) in enum2int()
66 rnEnum = * reinterpret_cast< const int * >( rAny.getValue() ); in enum2int()
70 return rAny >>= rnEnum; in enum2int()
81 inline void SAL_CALL any2enum( E & eRet, const ::com::sun::star::uno::Any & rAny ) in any2enum() argument
85 if (! (rAny >>= eRet)) in any2enum()
89 if (! (rAny >>= nValue)) in any2enum()
120 const ::com::sun::star::uno::Any & rAny ) in extractInterface()
123 return (rAny >>= rxOut); in extractInterface()
132 inline sal_Bool SAL_CALL any2bool( const ::com::sun::star::uno::Any & rAny ) in any2bool() argument
136 if ( rAny >>= sValue) in any2bool()
[all …]
/trunk/main/sc/inc/
H A Drangeseq.hxx38 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 …]
/trunk/main/svx/source/xml/
H A Dxmlxtimp.cxx100 …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 …]
/trunk/main/svx/source/unodraw/
H A DXPropertyTable.cxx64 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 …]
/trunk/main/vbahelper/source/vbahelper/
H A Dvbahelper.cxx629 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 …]
/trunk/main/forms/source/xforms/
H A Dconvert.cxx207 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 …]
/trunk/main/xmloff/source/core/
H A DSettingsExportHelper.cxx66 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 …]
/trunk/main/winaccessibility/source/UAccCOM/
H A DAccEditableText.cpp268 …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()
/trunk/main/chart2/source/tools/
H A DPropertyHelper.cxx275 …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()
/trunk/main/xmloff/source/xforms/
H A Dxformsexport.cxx243 rAny >>= sId; in exportXFormsInstance()
245 rAny >>= sURL; in exportXFormsInstance()
247 rAny >>= xDoc; in exportXFormsInstance()
643 OUString lcl_convert( const Any& rAny ) in lcl_convert() argument
647 if( rAny >>= aData ) in lcl_convert()
659 if( rAny >>= aData ) in lcl_convertRef()
666 OUString lcl_string( const Any& rAny ) in lcl_string() argument
669 rAny >>= aResult; in lcl_string()
673 OUString lcl_bool( const Any& rAny ) in lcl_bool() argument
676 if( rAny >>= bResult ) in lcl_bool()
[all …]
/trunk/main/sd/source/ui/unoidl/
H A Dunohelp.hxx26 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()

Completed in 164 milliseconds

1234567