#include <transfer.hxx>
|
| ~TransferableHelper () |
|
const css::uno::Reference< css::datatransfer::clipboard::XClipboard > & | getOwnClipboard () const |
|
void | implCallOwnLostOwnership (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &_rxClipboard, const css::uno::Reference< css::datatransfer::XTransferable > &_rxTrans) |
|
void | AddFormat (SotClipboardFormatId nFormat) |
|
void | AddFormat (const css::datatransfer::DataFlavor &rFlavor) |
|
void | RemoveFormat (SotClipboardFormatId nFormat) |
|
void | RemoveFormat (const css::datatransfer::DataFlavor &rFlavor) |
|
bool | HasFormat (SotClipboardFormatId nFormat) |
|
void | ClearFormats () |
|
bool | SetAny (const css::uno::Any &rAny) |
|
bool | SetString (const OUString &rString, const css::datatransfer::DataFlavor &rFlavor) |
|
bool | SetBitmapEx (const BitmapEx &rBitmap, const css::datatransfer::DataFlavor &rFlavor) |
|
bool | SetGDIMetaFile (const GDIMetaFile &rMtf) |
|
bool | SetGraphic (const Graphic &rGraphic) |
|
bool | SetImageMap (const ImageMap &rIMap) |
|
bool | SetTransferableObjectDescriptor (const TransferableObjectDescriptor &rDesc) |
|
bool | SetINetBookmark (const INetBookmark &rBmk, const css::datatransfer::DataFlavor &rFlavor) |
|
bool | SetINetImage (const INetImage &rINtImg, const css::datatransfer::DataFlavor &rFlavor) |
|
bool | SetObject (void *pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor &rFlavor) |
|
virtual void | AddSupportedFormats ()=0 |
|
virtual bool | GetData (const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc)=0 |
|
virtual bool | WriteObject (tools::SvRef< SotTempStream > &rxOStm, void *pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor &rFlavor) |
|
virtual void | DragFinished (sal_Int8 nDropAction) |
|
virtual void | ObjectReleased () |
|
|
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
|
virtual void SAL_CALL | dragDropEnd (const css::datatransfer::dnd::DragSourceDropEvent &dsde) override |
|
virtual void SAL_CALL | dragEnter (const css::datatransfer::dnd::DragSourceDragEvent &dsde) override |
|
virtual void SAL_CALL | dragExit (const css::datatransfer::dnd::DragSourceEvent &dse) override |
|
virtual void SAL_CALL | dragOver (const css::datatransfer::dnd::DragSourceDragEvent &dsde) override |
|
virtual void SAL_CALL | dropActionChanged (const css::datatransfer::dnd::DragSourceDragEvent &dsde) override |
|
virtual void SAL_CALL | lostOwnership (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &xClipboard, const css::uno::Reference< css::datatransfer::XTransferable > &xTrans) override |
|
VCL_DLLPRIVATE void | ImplFlush () |
|
Definition at line 129 of file transfer.hxx.
TransferableHelper::~TransferableHelper |
( |
| ) |
|
|
protected |
void TransferableHelper::AddFormat |
( |
const css::datatransfer::DataFlavor & |
rFlavor | ) |
|
|
protected |
virtual void TransferableHelper::AddSupportedFormats |
( |
| ) |
|
|
protectedpure virtual |
void TransferableHelper::ClearFormats |
( |
| ) |
|
|
protected |
void TransferableHelper::CopyToClipboard |
( |
const css::uno::Reference< css::datatransfer::clipboard::XClipboard > & |
rClipboard | ) |
const |
void TransferableHelper::CopyToSelection |
( |
const css::uno::Reference< css::datatransfer::clipboard::XClipboard > & |
rClipboard | ) |
const |
void SAL_CALL TransferableHelper::disposing |
( |
const css::lang::EventObject & |
Source | ) |
|
|
overrideprivatevirtual |
void SAL_CALL TransferableHelper::dragDropEnd |
( |
const css::datatransfer::dnd::DragSourceDropEvent & |
dsde | ) |
|
|
overrideprivatevirtual |
void SAL_CALL TransferableHelper::dragEnter |
( |
const css::datatransfer::dnd::DragSourceDragEvent & |
dsde | ) |
|
|
overrideprivatevirtual |
void SAL_CALL TransferableHelper::dragExit |
( |
const css::datatransfer::dnd::DragSourceEvent & |
dse | ) |
|
|
overrideprivatevirtual |
void TransferableHelper::DragFinished |
( |
sal_Int8 |
nDropAction | ) |
|
|
protectedvirtual |
void SAL_CALL TransferableHelper::dragOver |
( |
const css::datatransfer::dnd::DragSourceDragEvent & |
dsde | ) |
|
|
overrideprivatevirtual |
void SAL_CALL TransferableHelper::dropActionChanged |
( |
const css::datatransfer::dnd::DragSourceDragEvent & |
dsde | ) |
|
|
overrideprivatevirtual |
virtual bool TransferableHelper::GetData |
( |
const css::datatransfer::DataFlavor & |
rFlavor, |
|
|
const OUString & |
rDestDoc |
|
) |
| |
|
protectedpure virtual |
const css::uno::Reference< css::datatransfer::clipboard::XClipboard >& TransferableHelper::getOwnClipboard |
( |
| ) |
const |
|
inlineprotected |
sal_Int64 SAL_CALL TransferableHelper::getSomething |
( |
const css::uno::Sequence< sal_Int8 > & |
rId | ) |
|
|
overridevirtual |
Any SAL_CALL TransferableHelper::getTransferData |
( |
const css::datatransfer::DataFlavor & |
rFlavor | ) |
|
|
overridevirtual |
Any SAL_CALL TransferableHelper::getTransferData2 |
( |
const css::datatransfer::DataFlavor & |
rFlavor, |
|
|
const OUString & |
rDestDoc |
|
) |
| |
|
overridevirtual |
Definition at line 291 of file transfer.cxx.
References AddSupportedFormats(), Any, aSeq, ConvertGDIMetaFileToWMF(), EMF, ERRCODE_NONE, GraphicConverter::Export(), SvMemoryStream::GetData(), GetData(), SotExchange::GetFormatDataFlavor(), TransferableDataHelper::IsEqual(), maAny, maFormats, maLastFormat, ReadGDIMetaFile(), and SvMemoryStream::TellEnd().
Referenced by getTransferData().
Sequence< DataFlavor > SAL_CALL TransferableHelper::getTransferDataFlavors |
( |
| ) |
|
|
overridevirtual |
void TransferableHelper::implCallOwnLostOwnership |
( |
const css::uno::Reference< css::datatransfer::clipboard::XClipboard > & |
_rxClipboard, |
|
|
const css::uno::Reference< css::datatransfer::XTransferable > & |
_rxTrans |
|
) |
| |
|
inlineprotected |
void TransferableHelper::ImplFlush |
( |
| ) |
|
|
private |
sal_Bool SAL_CALL TransferableHelper::isComplex |
( |
| ) |
|
|
overridevirtual |
sal_Bool SAL_CALL TransferableHelper::isDataFlavorSupported |
( |
const css::datatransfer::DataFlavor & |
rFlavor | ) |
|
|
overridevirtual |
void SAL_CALL TransferableHelper::lostOwnership |
( |
const css::uno::Reference< css::datatransfer::clipboard::XClipboard > & |
xClipboard, |
|
|
const css::uno::Reference< css::datatransfer::XTransferable > & |
xTrans |
|
) |
| |
|
overrideprivatevirtual |
void TransferableHelper::ObjectReleased |
( |
| ) |
|
|
protectedvirtual |
void TransferableHelper::RemoveFormat |
( |
const css::datatransfer::DataFlavor & |
rFlavor | ) |
|
|
protected |
bool TransferableHelper::SetAny |
( |
const css::uno::Any & |
rAny | ) |
|
|
protected |
bool TransferableHelper::SetBitmapEx |
( |
const BitmapEx & |
rBitmap, |
|
|
const css::datatransfer::DataFlavor & |
rFlavor |
|
) |
| |
|
protected |
bool TransferableHelper::SetGDIMetaFile |
( |
const GDIMetaFile & |
rMtf | ) |
|
|
protected |
bool TransferableHelper::SetGraphic |
( |
const Graphic & |
rGraphic | ) |
|
|
protected |
bool TransferableHelper::SetImageMap |
( |
const ImageMap & |
rIMap | ) |
|
|
protected |
bool TransferableHelper::SetINetBookmark |
( |
const INetBookmark & |
rBmk, |
|
|
const css::datatransfer::DataFlavor & |
rFlavor |
|
) |
| |
|
protected |
bool TransferableHelper::SetINetImage |
( |
const INetImage & |
rINtImg, |
|
|
const css::datatransfer::DataFlavor & |
rFlavor |
|
) |
| |
|
protected |
bool TransferableHelper::SetObject |
( |
void * |
pUserObject, |
|
|
sal_uInt32 |
nUserObjectId, |
|
|
const css::datatransfer::DataFlavor & |
rFlavor |
|
) |
| |
|
protected |
bool TransferableHelper::SetString |
( |
const OUString & |
rString, |
|
|
const css::datatransfer::DataFlavor & |
rFlavor |
|
) |
| |
|
protected |
bool TransferableHelper::WriteObject |
( |
tools::SvRef< SotTempStream > & |
rxOStm, |
|
|
void * |
pUserObject, |
|
|
sal_uInt32 |
nUserObjectId, |
|
|
const css::datatransfer::DataFlavor & |
rFlavor |
|
) |
| |
|
protectedvirtual |
css::uno::Any TransferableHelper::maAny |
|
private |
Definition at line 167 of file transfer.hxx.
Referenced by ClearFormats(), getTransferData2(), SetAny(), SetBitmapEx(), SetGDIMetaFile(), SetGraphic(), SetImageMap(), SetINetBookmark(), SetINetImage(), SetObject(), SetString(), and SetTransferableObjectDescriptor().
OUString TransferableHelper::maLastFormat |
|
private |
css::uno::Reference< css::datatransfer::clipboard::XClipboard > TransferableHelper::mxClipboard |
|
mutableprivate |
css::uno::Reference< css::frame::XTerminateListener > TransferableHelper::mxTerminateListener |
|
private |
The documentation for this class was generated from the following files: