/aoo42x/main/svtools/source/misc/ |
H A D | transfer.cxx | 355 maLastFormat = rFlavor.MimeType; in getTransferData() 478 GetData( rFlavor ); in getTransferData() 719 aFlavorEx.MimeType = rFlavor.MimeType; in AddFormat() 721 aFlavorEx.DataType = rFlavor.DataType; in AddFormat() 939 switch( SotExchange::GetFormat( rFlavor ) ) in SetINetBookmark() 1782 Any aAny( GetAny( rFlavor ) ); in GetString() 1939 if( GetSotStorageStream( rFlavor, xStm ) ) in GetGDIMetaFile() 2111 if( HasFormat( rFlavor )) in GetINetBookmark() 2120 if( GetString( rFlavor, aString ) ) in GetINetBookmark() 2327 const Any aAny( GetAny( rFlavor ) ); in GetSequence() [all …]
|
H A D | embedtransfer.cxx | 85 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 D | transfer2.cxx | 353 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()
|
/aoo42x/main/svtools/inc/svtools/ |
H A D | transfer.hxx | 251 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 …]
|
/aoo42x/main/sd/source/ui/app/ |
H A D | sdxfer.cxx | 490 sal_Bool SdTransferable::GetData( const DataFlavor& rFlavor ) in GetData() argument 495 sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor ); in GetData() 502 bOK = SetTableRTF( mpSdDrawDocument, rFlavor ); in GetData() 504 else if( mpOLEDataHelper && mpOLEDataHelper->HasFormat( rFlavor ) ) in GetData() 516 bOK = SetGDIMetaFile( mpGraphic->GetGDIMetaFile(), rFlavor ); in GetData() 518 bOK = SetAny( mpOLEDataHelper->GetAny( rFlavor ), rFlavor ); in GetData() 527 bOK = SetTransferableObjectDescriptor( *mpObjDesc, rFlavor ); in GetData() 570 bOK = SetString( mpBookmark->GetURL(), rFlavor ); in GetData() 574 bOK = SetGraphic( *mpGraphic, rFlavor ); in GetData() 578 bOK = SetImageMap( *mpImageMap, rFlavor ); in GetData() [all …]
|
/aoo42x/main/sc/source/ui/app/ |
H A D | drwtrans.cxx | 389 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 D | transobj.cxx | 259 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 D | seltrans.cxx | 402 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()
|
/aoo42x/main/basctl/source/dlged/ |
H A D | dlgedclip.cxx | 58 …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()
|
/aoo42x/main/sot/source/base/ |
H A D | exchange.cxx | 320 sal_uLong SotExchange::RegisterFormat( const DataFlavor& rFlavor ) in RegisterFormat() argument 322 sal_uLong nRet = GetFormat( rFlavor ); in RegisterFormat() 328 rL.Insert( new DataFlavor( rFlavor ), LIST_APPEND ); in RegisterFormat() 340 sal_Bool SotExchange::GetFormatDataFlavor( sal_uLong nFormat, DataFlavor& rFlavor ) in GetFormatDataFlavor() argument 347 rFlavor.MimeType = ::rtl::OUString::createFromAscii( rData.pMimeType ); in GetFormatDataFlavor() 348 rFlavor.HumanPresentableName = ::rtl::OUString::createFromAscii( rData.pName ); in GetFormatDataFlavor() 349 rFlavor.DataType = *rData.pType; in GetFormatDataFlavor() 361 rFlavor = *(DataFlavor*) rL.GetObject( nFormat ); in GetFormatDataFlavor() 366 rFlavor = DataFlavor(); in GetFormatDataFlavor() 445 sal_uLong SotExchange::GetFormat( const DataFlavor& rFlavor ) in GetFormat() argument [all …]
|
/aoo42x/main/vcl/unx/generic/dtrans/ |
H A D | X11_transferable.cxx | 66 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()
|
/aoo42x/main/svx/source/gallery2/ |
H A D | galmisc.cxx | 579 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()
|
/aoo42x/main/chart2/source/controller/main/ |
H A D | ChartTransferable.cxx | 86 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()
|
/aoo42x/main/dtrans/source/os2/clipb/ |
H A D | Os2Transferable.cxx | 86 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()
|
/aoo42x/main/dbaccess/source/ui/browser/ |
H A D | dbexchange.cxx | 176 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()
|
/aoo42x/main/vcl/source/app/ |
H A D | unohelp2.cxx | 79 …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()
|
/aoo42x/main/editeng/source/editeng/ |
H A D | eeobj.cxx | 56 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()
|
/aoo42x/main/svx/source/tbxctrls/ |
H A D | colrctrl.cxx | 60 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()
|
/aoo42x/main/sw/source/ui/dochdl/ |
H A D | swdtflvr.cxx | 386 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 …]
|
/aoo42x/main/reportdesign/source/ui/dlg/ |
H A D | GroupExchange.cxx | 57 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()
|
/aoo42x/main/dbaccess/source/ui/tabledesign/ |
H A D | TableRowExchange.cxx | 72 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()
|
/aoo42x/main/basctl/source/inc/ |
H A D | dlgedclip.hxx | 46 …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…
|
/aoo42x/main/svx/inc/svx/ |
H A D | dbaexchange.hxx | 155 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 );
|
/aoo42x/main/sot/inc/sot/ |
H A D | exchange.hxx | 187 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 );
|
/aoo42x/main/svx/source/fmcomp/ |
H A D | dbaexchange.cxx | 494 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()
|