Home
last modified time | relevance | path

Searched refs:rFlavor (Results 1 – 25 of 50) sorted by relevance

12

/aoo41x/main/svtools/source/misc/
H A Dtransfer.cxx355 maLastFormat = rFlavor.MimeType; in getTransferData()
448 GetData( rFlavor ); in getTransferData()
689 aFlavorEx.MimeType = rFlavor.MimeType; in AddFormat()
691 aFlavorEx.DataType = rFlavor.DataType; in AddFormat()
908 switch( SotExchange::GetFormat( rFlavor ) ) in SetINetBookmark()
1751 Any aAny( GetAny( rFlavor ) ); in GetString()
1908 if( GetSotStorageStream( rFlavor, xStm ) ) in GetGDIMetaFile()
2066 if( HasFormat( rFlavor )) in GetINetBookmark()
2075 if( GetString( rFlavor, aString ) ) in GetINetBookmark()
2282 const Any aAny( GetAny( rFlavor ) ); in GetSequence()
[all …]
H A Dembedtransfer.cxx85 sal_Bool SvEmbedTransferHelper::GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) in GetData() argument
93 sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor ); in GetData()
100 bRet = SetTransferableObjectDescriptor( aDesc, rFlavor ); in GetData()
144 SetAny( aAny, rFlavor ); in GetData()
166 SetAny( aAny, rFlavor ); in GetData()
174 uno::Any aAny = xTransferable->getTransferData( rFlavor ); in GetData()
175 SetAny( aAny, rFlavor ); in GetData()
H A Dtransfer2.cxx353 sal_Bool DropTargetHelper::IsDropFormatSupported( const DataFlavor& rFlavor ) in IsDropFormatSupported() argument
360 if( TransferableDataHelper::IsEqual( rFlavor, *aIter++ ) ) in IsDropFormatSupported()
428 ::com::sun::star::datatransfer::DataFlavor& rFlavor ) in GetData()
433 sal_uLong nFmtId = SotExchange::GetFormat( rFlavor ); in GetData()
441 bFnd = SetAny( rEntry.aAny, rFlavor ); in GetData()
457 bFnd = SetINetBookmark( *pImpl->pBookmk, rFlavor ); in GetData()
465 bFnd = SetGraphic( *pImpl->pGrf, rFlavor ); in GetData()
/aoo41x/main/svtools/inc/svtools/
H A Dtransfer.hxx251 void AddFormat( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
253 void RemoveFormat( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
255 …( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) { return isDataFlavorSupported( rFla… in HasFormat() argument
270 const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
275 virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) = 0;
340 sal_Bool HasFormat( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) const;
357 …::com::sun::star::uno::Any GetAny( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) con…
360 sal_Bool GetString( const ::com::sun::star::datatransfer::DataFlavor& rFlavor, String& rStr );
366 …sal_Bool GetBitmapEx( const ::com::sun::star::datatransfer::DataFlavor& rFlavor, BitmapEx& rBm…
537 sal_Bool IsDropFormatSupported( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
[all …]
/aoo41x/main/sd/source/ui/app/
H A Dsdxfer.cxx481 sal_Bool SdTransferable::GetData( const DataFlavor& rFlavor ) in GetData() argument
486 sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor ); in GetData()
493 bOK = SetTableRTF( mpSdDrawDocument, rFlavor ); in GetData()
495 else if( mpOLEDataHelper && mpOLEDataHelper->HasFormat( rFlavor ) ) in GetData()
507 bOK = SetGDIMetaFile( mpGraphic->GetGDIMetaFile(), rFlavor ); in GetData()
509 bOK = SetAny( mpOLEDataHelper->GetAny( rFlavor ), rFlavor ); in GetData()
518 bOK = SetTransferableObjectDescriptor( *mpObjDesc, rFlavor ); in GetData()
561 bOK = SetString( mpBookmark->GetURL(), rFlavor ); in GetData()
565 bOK = SetGraphic( *mpGraphic, rFlavor ); in GetData()
569 bOK = SetImageMap( *mpImageMap, rFlavor ); in GetData()
[all …]
/aoo41x/main/basctl/source/dlged/
H A Ddlgedclip.cxx58 …l DlgEdTransferableImpl::compareDataFlavors( const DataFlavor& lFlavor, const DataFlavor& rFlavor ) in compareDataFlavors() argument
71 …atransfer::XMimeContentType > xRType = xMCntTypeFactory->createMimeContentType( rFlavor.MimeType ); in compareDataFlavors()
85 Any SAL_CALL DlgEdTransferableImpl::getTransferData( const DataFlavor& rFlavor ) throw(UnsupportedF… in getTransferData() argument
89 if ( !isDataFlavorSupported( rFlavor ) ) in getTransferData()
96 if ( compareDataFlavors( m_SeqFlavors[i] , rFlavor ) ) in getTransferData()
117 sal_Bool SAL_CALL DlgEdTransferableImpl::isDataFlavorSupported( const DataFlavor& rFlavor ) throw(R… in isDataFlavorSupported() argument
125 if ( compareDataFlavors( m_SeqFlavors[i] , rFlavor ) ) in isDataFlavorSupported()
/aoo41x/main/sc/source/ui/app/
H A Ddrwtrans.cxx389 sal_Bool ScDrawTransferObj::GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) in GetData() argument
392 sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor ); in GetData()
403 if( aOleData.GetTransferable().is() && aOleData.HasFormat( rFlavor ) ) in GetData()
413 bOK = SetAny( aOleData.GetAny( rFlavor ), rFlavor ); in GetData()
426 bOK = SetTransferableObjectDescriptor( aObjDesc, rFlavor ); in GetData()
430 bOK = SetObject( pModel, SCDRAWTRANS_TYPE_DRAWMODEL, rFlavor ); in GetData()
443 bOK = SetGDIMetaFile( aView.GetMarkedObjMetaFile(true), rFlavor ); in GetData()
445 bOK = SetBitmapEx( aView.GetMarkedObjBitmapEx(true), rFlavor ); in GetData()
459 bOK = SetGraphic( pGraphObj->GetGraphic(), rFlavor ); in GetData()
479 bOK = SetObject( pEmbObj, SCDRAWTRANS_TYPE_DOCUMENT, rFlavor ); in GetData()
[all …]
H A Dtransobj.cxx259 sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor ); in GetData()
266 bOK = SetTransferableObjectDescriptor( aObjDesc, rFlavor ); in GetData()
299 rFlavor ); in GetData()
322 bOK = SetString( aString, rFlavor ); in GetData()
327 bOK = SetObject( &aObj, SCTRANS_TYPE_IMPEX, rFlavor ); in GetData()
346 bOK = SetBitmapEx( aBmp, rFlavor ); in GetData()
375 bOK = SetGDIMetaFile( aMtf, rFlavor ); in GetData()
384 bOK = SetObject( pEmbObj, SCTRANS_TYPE_EMBOBJ, rFlavor ); in GetData()
391 const datatransfer::DataFlavor& rFlavor ) in WriteObject() argument
402 sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor ); in WriteObject()
[all …]
H A Dseltrans.cxx402 sal_Bool ScSelectionTransferObj::GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor in GetData() argument
429 uno::Any aAny = aHelper.GetAny( rFlavor ); in GetData()
430 bOK = SetAny( aAny, rFlavor ); in GetData()
/aoo41x/main/sot/source/base/
H A Dexchange.cxx318 sal_uLong SotExchange::RegisterFormat( const DataFlavor& rFlavor ) in RegisterFormat() argument
320 sal_uLong nRet = GetFormat( rFlavor ); in RegisterFormat()
326 rL.Insert( new DataFlavor( rFlavor ), LIST_APPEND ); in RegisterFormat()
338 sal_Bool SotExchange::GetFormatDataFlavor( sal_uLong nFormat, DataFlavor& rFlavor ) in GetFormatDataFlavor() argument
345 rFlavor.MimeType = ::rtl::OUString::createFromAscii( rData.pMimeType ); in GetFormatDataFlavor()
346 rFlavor.HumanPresentableName = ::rtl::OUString::createFromAscii( rData.pName ); in GetFormatDataFlavor()
347 rFlavor.DataType = *rData.pType; in GetFormatDataFlavor()
359 rFlavor = *(DataFlavor*) rL.GetObject( nFormat ); in GetFormatDataFlavor()
364 rFlavor = DataFlavor(); in GetFormatDataFlavor()
443 sal_uLong SotExchange::GetFormat( const DataFlavor& rFlavor ) in GetFormat() argument
[all …]
/aoo41x/main/vcl/unx/generic/dtrans/
H A DX11_transferable.cxx66 Any SAL_CALL X11Transferable::getTransferData( const DataFlavor& rFlavor ) in getTransferData() argument
71 …bool bSuccess = m_rManager.getPasteData( m_aSelection ? m_aSelection : XA_PRIMARY, rFlavor.MimeTyp… in getTransferData()
73 …steData( m_rManager.getAtom( OUString::createFromAscii( "CLIPBOARD" ) ), rFlavor.MimeType, aData ); in getTransferData()
77 throw UnsupportedFlavorException( rFlavor.MimeType, static_cast < XTransferable * > ( this ) ); in getTransferData()
79 …if( rFlavor.MimeType.equalsIgnoreAsciiCase( OUString::createFromAscii( "text/plain;charset=utf-16"… in getTransferData()
87 OUStringToOString( rFlavor.MimeType, RTL_TEXTENCODING_ISO_8859_1 ).getStr(), in getTransferData()
/aoo41x/main/svx/source/gallery2/
H A Dgalmisc.cxx579 sal_Bool GalleryTransferable::GetData( const datatransfer::DataFlavor& rFlavor ) in GetData() argument
581 sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor ); in GetData()
588 bRet = ( mxModelStream.Is() && SetObject( &mxModelStream, 0, rFlavor ) ); in GetData()
593 bRet = SetImageMap( *mpImageMap, rFlavor ); in GetData()
597 bRet = SetString( mpURL->GetMainURL( INetURLObject::NO_DECODE ), rFlavor ); in GetData()
601 bRet = SetGraphic( mpGraphicObject->GetGraphic(), rFlavor ); in GetData()
605 bRet = SetGDIMetaFile( mpGraphicObject->GetGraphic().GetGDIMetaFile(), rFlavor ); in GetData()
609 bRet = SetBitmapEx( mpGraphicObject->GetGraphic().GetBitmapEx(), rFlavor ); in GetData()
/aoo41x/main/dtrans/source/os2/clipb/
H A DOs2Transferable.cxx86 Any SAL_CALL Os2Transferable::getTransferData( const DataFlavor& rFlavor ) in getTransferData() argument
90 debug_printf("Os2Transferable::getTransferData mimetype: %s\n", CHAR_POINTER(rFlavor.MimeType)); in getTransferData()
95 …if( rFlavor.MimeType.equalsIgnoreAsciiCase( OUString::createFromAscii( "text/plain;charset=utf-16"… in getTransferData()
113 …if( rFlavor.MimeType.equalsIgnoreAsciiCase( OUString::createFromAscii( "application/x-openoffice-b… in getTransferData()
134 throw UnsupportedFlavorException( rFlavor.MimeType, static_cast < XTransferable * > ( this ) ); in getTransferData()
/aoo41x/main/chart2/source/controller/main/
H A DChartTransferable.cxx86 sal_Bool ChartTransferable::GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) in GetData() argument
88 sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor ); in GetData()
95 bResult = SetObject( m_pMarkedObjModel, CHARTTRANSFER_OBJECTTYPE_DRAWMODEL, rFlavor ); in GetData()
100 bResult = SetGDIMetaFile( aGraphic.GetGDIMetaFile(), rFlavor ); in GetData()
105 bResult = SetBitmapEx( aGraphic.GetBitmapEx(), rFlavor ); in GetData()
/aoo41x/main/dbaccess/source/ui/browser/
H A Ddbexchange.cxx176 sal_Bool ODataClipboard::GetData( const DataFlavor& rFlavor ) in GetData() argument
178 const sal_uLong nFormat = SotExchange::GetFormat(rFlavor); in GetData()
184 return m_pRtf.is() && SetObject( m_pRtf.get(), SOT_FORMAT_RTF, rFlavor ); in GetData()
189 return m_pHtml.is() && SetObject( m_pHtml.get(), SOT_FORMATSTR_ID_HTML, rFlavor ); in GetData()
192 return ODataAccessObjectTransferable::GetData( rFlavor ); in GetData()
/aoo41x/main/vcl/source/app/
H A Dunohelp2.cxx79 …uno::Any TextDataObject::getTransferData( const datatransfer::DataFlavor& rFlavor ) throw(datatran… in getTransferData() argument
83 sal_uLong nT = SotExchange::GetFormat( rFlavor ); in getTransferData()
102 …sal_Bool TextDataObject::isDataFlavorSupported( const datatransfer::DataFlavor& rFlavor ) throw(un… in isDataFlavorSupported() argument
104 sal_uLong nT = SotExchange::GetFormat( rFlavor ); in isDataFlavorSupported()
/aoo41x/main/editeng/source/editeng/
H A Deeobj.cxx56 uno::Any EditDataObject::getTransferData( const datatransfer::DataFlavor& rFlavor ) throw(datatrans… in getTransferData() argument
60 sal_uLong nT = SotExchange::GetFormat( rFlavor ); in getTransferData()
99 sal_Bool EditDataObject::isDataFlavorSupported( const datatransfer::DataFlavor& rFlavor ) throw(uno… in isDataFlavorSupported() argument
103 sal_uLong nT = SotExchange::GetFormat( rFlavor ); in isDataFlavorSupported()
/aoo41x/main/svx/source/tbxctrls/
H A Dcolrctrl.cxx60 virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
61 …pUserObject, sal_uInt32 nUserObjectId, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
78 sal_Bool SvxColorValueSetData::GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) in GetData() argument
82 if( SotExchange::GetFormat( rFlavor ) == SOT_FORMATSTR_ID_XFA ) in GetData()
84 SetObject( &maData, 0, rFlavor ); in GetData()
/aoo41x/main/reportdesign/source/ui/dlg/
H A DGroupExchange.cxx57 sal_Bool OGroupExchange::GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) in GetData() argument
59 sal_uLong nFormat = SotExchange::GetFormat(rFlavor); in GetData()
62 return SetAny(uno::makeAny(m_aGroupRow),rFlavor); in GetData()
/aoo41x/main/dbaccess/source/ui/tabledesign/
H A DTableRowExchange.cxx72 sal_Bool OTableRowExchange::GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) in GetData() argument
74 sal_uLong nFormat = SotExchange::GetFormat(rFlavor); in GetData()
76 return SetObject(&m_vTableRow,SOT_FORMATSTR_ID_SBA_TABED,rFlavor); in GetData()
/aoo41x/main/sw/source/ui/dochdl/
H A Dswdtflvr.cxx386 sal_Bool SwTransferable::GetData( const DATA_FLAVOR& rFlavor ) in GetData() argument
388 sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor ); in GetData()
482 uno::Any aAny( aD.GetAny( rFlavor )); in GetData()
484 bOK = SetAny( aAny, rFlavor ); in GetData()
503 SWTRANSFER_OBJECTTYPE_DDE, rFlavor ); in GetData()
515 SWTRANSFER_OBJECTTYPE_DRAWMODEL, rFlavor ); in GetData()
541 bOK = SetGraphic( *pOrigGrf, rFlavor ); in GetData()
557 bOK = SetImageMap( *pImageMap, rFlavor ); in GetData()
562 bOK = SetINetImage( *pTargetURL, rFlavor ); in GetData()
572 bOK = SetINetBookmark( *pBkmk, rFlavor ); in GetData()
[all …]
/aoo41x/main/basctl/source/inc/
H A Ddlgedclip.hxx46 …ar::datatransfer::DataFlavor& lFlavor, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
53 …_CALL getTransferData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) throw(::com::su…
55 …isDataFlavorSupported( const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) throw(::com::su…
/aoo41x/main/svx/inc/svx/
H A Ddbaexchange.hxx155 virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
233 virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
285 virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
/aoo41x/main/sot/inc/sot/
H A Dexchange.hxx187 static sal_uLong RegisterFormat( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
191 static sal_uLong GetFormat( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
193 …Bool GetFormatDataFlavor( sal_uLong nFormat, ::com::sun::star::datatransfer::DataFlavor& rFlavor );
/aoo41x/main/svx/source/fmcomp/
H A Ddbaexchange.cxx494 sal_Bool ODataAccessObjectTransferable::GetData( const DataFlavor& rFlavor ) in GetData() argument
496 sal_uIntPtr nFormat = SotExchange::GetFormat(rFlavor); in GetData()
502 return SetAny( makeAny(m_aDescriptor.createPropertyValueSequence()), rFlavor ); in GetData()
505 return SetString(m_sCompatibleObjectDescription, rFlavor); in GetData()

Completed in 94 milliseconds

12