Lines Matching refs:rFlavor
349 Any SAL_CALL TransferableHelper::getTransferData( const DataFlavor& rFlavor ) throw( UnsupportedFla… in getTransferData() argument
351 if( !maAny.hasValue() || !mpFormats->size() || ( maLastFormat != rFlavor.MimeType ) ) in getTransferData()
355 maLastFormat = rFlavor.MimeType; in getTransferData()
369 TransferableDataHelper::IsEqual( aSubstFlavor, rFlavor ) ) in getTransferData()
375 && TransferableDataHelper::IsEqual( aSubstFlavor, rFlavor ) in getTransferData()
382 TransferableDataHelper::IsEqual( aSubstFlavor, rFlavor ) && in getTransferData()
412 TransferableDataHelper::IsEqual( aSubstFlavor, rFlavor ) && in getTransferData()
448 GetData( rFlavor ); in getTransferData()
452 …nsferableHelper delivers sequence of data [ %s ]\n", ByteString( String( rFlavor.MimeType), RTL_TE… in getTransferData()
495 sal_Bool SAL_CALL TransferableHelper::isDataFlavorSupported( const DataFlavor& rFlavor ) throw( Run… in isDataFlavorSupported() argument
513 if( TransferableDataHelper::IsEqual( *aIter, rFlavor ) ) in isDataFlavorSupported()
653 void TransferableHelper::AddFormat( const DataFlavor& rFlavor ) in AddFormat() argument
660 if( TransferableDataHelper::IsEqual( *aIter, rFlavor ) ) in AddFormat()
689 aFlavorEx.MimeType = rFlavor.MimeType; in AddFormat()
690 aFlavorEx.HumanPresentableName = rFlavor.HumanPresentableName; in AddFormat()
691 aFlavorEx.DataType = rFlavor.DataType; in AddFormat()
692 aFlavorEx.mnSotId = SotExchange::RegisterFormat( rFlavor ); in AddFormat()
724 void TransferableHelper::RemoveFormat( const DataFlavor& rFlavor ) in RemoveFormat() argument
730 if( TransferableDataHelper::IsEqual( *aIter, rFlavor ) ) in RemoveFormat()
779 sal_Bool TransferableHelper::SetString( const ::rtl::OUString& rString, const DataFlavor& rFlavor ) in SetString() argument
785 TransferableDataHelper::IsEqual( aFileFlavor, rFlavor ) ) in SetString()
803 sal_Bool TransferableHelper::SetBitmapEx( const BitmapEx& rBitmapEx, const DataFlavor& rFlavor ) in SetBitmapEx() argument
809 if(rFlavor.MimeType.equalsIgnoreAsciiCase(::rtl::OUString::createFromAscii("image/png"))) in SetBitmapEx()
904 const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) in SetINetBookmark()
908 switch( SotExchange::GetFormat( rFlavor ) ) in SetINetBookmark()
992 const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) in SetINetImage()
997 rINtImg.Write( aMemStm, SotExchange::GetFormat( rFlavor ) ); in SetINetImage()
1022 …sferableHelper::SetObject( void* pUserObject, sal_uInt32 nUserObjectId, const DataFlavor& rFlavor ) in SetObject() argument
1028 if( pUserObject && WriteObject( xStm, pUserObject, nUserObjectId, rFlavor ) ) in SetObject()
1036 if( nLen && ( SotExchange::GetFormat( rFlavor ) == SOT_FORMAT_STRING ) ) in SetObject()
1450 const DataFlavor& rFlavor = rDataFlavorSeq[ i ]; in FillDataFlavorExVector() local
1455 if( xMimeFact.is() && rFlavor.MimeType.getLength() ) in FillDataFlavorExVector()
1456 xMimeType = xMimeFact->createMimeContentType( rFlavor.MimeType ); in FillDataFlavorExVector()
1463 aFlavorEx.MimeType = rFlavor.MimeType; in FillDataFlavorExVector()
1464 aFlavorEx.HumanPresentableName = rFlavor.HumanPresentableName; in FillDataFlavorExVector()
1465 aFlavorEx.DataType = rFlavor.DataType; in FillDataFlavorExVector()
1466 aFlavorEx.mnSotId = SotExchange::RegisterFormat( rFlavor ); in FillDataFlavorExVector()
1584 sal_Bool TransferableDataHelper::HasFormat( const DataFlavor& rFlavor ) const in HasFormat()
1593 if( TransferableDataHelper::IsEqual( rFlavor, *aIter++ ) ) in HasFormat()
1677 Any TransferableDataHelper::GetAny( const DataFlavor& rFlavor ) const in GetAny()
1687 const SotFormatStringId nRequestFormat = SotExchange::GetFormat( rFlavor ); in GetAny()
1694 …if( ( nRequestFormat == (*aIter).mnSotId ) && !rFlavor.MimeType.equalsIgnoreAsciiCase( (*aIter).Mi… in GetAny()
1705 aRet = mxTransfer->getTransferData( rFlavor ); in GetAny()
1729 sal_Bool TransferableDataHelper::GetString( const DataFlavor& rFlavor, String& rStr ) in GetString() argument
1732 sal_Bool bRet = GetString( rFlavor, aOUString ); in GetString()
1749 sal_Bool TransferableDataHelper::GetString( const DataFlavor& rFlavor, ::rtl::OUString& rStr ) in GetString() argument
1751 Any aAny( GetAny( rFlavor ) ); in GetString()
1807 sal_Bool TransferableDataHelper::GetBitmapEx( const DataFlavor& rFlavor, BitmapEx& rBmpEx ) in GetBitmapEx() argument
1811 bool bRet(GetSotStorageStream(rFlavor, xStm)); in GetBitmapEx()
1829 …if(!bSuppressPNG && rFlavor.MimeType.equalsIgnoreAsciiCase(::rtl::OUString::createFromAscii("image… in GetBitmapEx()
1902 sal_Bool TransferableDataHelper::GetGDIMetaFile( const DataFlavor& rFlavor, GDIMetaFile& rMtf ) in GetGDIMetaFile() argument
1908 if( GetSotStorageStream( rFlavor, xStm ) ) in GetGDIMetaFile()
1969 …ataHelper::GetGraphic( const ::com::sun::star::datatransfer::DataFlavor& rFlavor, Graphic& rGraphi… in GetGraphic() argument
1975 TransferableDataHelper::IsEqual(aFlavor, rFlavor)) in GetGraphic()
1984 TransferableDataHelper::IsEqual( aFlavor, rFlavor ) ) in GetGraphic()
1992 TransferableDataHelper::IsEqual( aFlavor, rFlavor ) ) in GetGraphic()
2003 if( GetSotStorageStream( rFlavor, xStm ) ) in GetGraphic()
2023 …taHelper::GetImageMap( const ::com::sun::star::datatransfer::DataFlavor& rFlavor, ImageMap& rIMap ) in GetImageMap() argument
2026 sal_Bool bRet = GetSotStorageStream( rFlavor, xStm ); in GetImageMap()
2063 …lper::GetINetBookmark( const ::com::sun::star::datatransfer::DataFlavor& rFlavor, INetBookmark& rB… in GetINetBookmark() argument
2066 if( HasFormat( rFlavor )) in GetINetBookmark()
2068 const SotFormatStringId nFormat = SotExchange::GetFormat( rFlavor ); in GetINetBookmark()
2075 if( GetString( rFlavor, aString ) ) in GetINetBookmark()
2122 if( GetSequence( rFlavor, aSeq ) && ( 2048 == aSeq.getLength() ) ) in GetINetBookmark()
2136 if( GetSequence( rFlavor, aSeq ) && aSeq.getLength() ) in GetINetBookmark()
2210 const ::com::sun::star::datatransfer::DataFlavor& rFlavor, in GetINetImage()
2214 sal_Bool bRet = GetSotStorageStream( rFlavor, xStm ); in GetINetImage()
2217 bRet = rINtImg.Read( *xStm, SotExchange::GetFormat( rFlavor ) ); in GetINetImage()
2276 sal_Bool TransferableDataHelper::GetSequence( const DataFlavor& rFlavor, Sequence< sal_Int8 >& rSeq… in GetSequence() argument
2282 const Any aAny( GetAny( rFlavor ) ); in GetSequence()
2296 sal_Bool TransferableDataHelper::GetSotStorageStream( const DataFlavor& rFlavor, SotStorageStreamRe… in GetSotStorageStream() argument
2299 sal_Bool bRet = GetSequence( rFlavor, aSeq ); in GetSotStorageStream()
2319 sal_Bool TransferableDataHelper::GetInputStream( const DataFlavor& rFlavor, Reference < XInputStrea… in GetInputStream() argument
2322 sal_Bool bRet = GetSequence( rFlavor, aSeq ); in GetInputStream()
2341 sal_Bool TransferableDataHelper::GetInterface( const DataFlavor& rFlavor, Reference< XInterface >& … in GetInterface() argument
2343 const Any aAny( GetAny( rFlavor ) ); in GetInterface()