|
LibreOffice Module svx (master) 1
|
#include <galmisc.hxx>
Public Member Functions | |
| GalleryTransferable (GalleryTheme *pTheme, sal_uInt32 nObjectPos, bool bLazy) | |
| virtual | ~GalleryTransferable () override |
| void | SelectObject (sal_uInt32 nObjectPos) |
| virtual void | AddSupportedFormats () override |
| virtual bool | GetData (const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc) override |
| virtual bool | WriteObject (tools::SvRef< SotTempStream > &rxOStm, void *pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor &rFlavor) override |
| virtual void | DragFinished (sal_Int8 nDropAction) override |
| virtual void | ObjectReleased () override |
| bool | StartDrag () |
Public Member Functions inherited from TransferDataContainer | |
| TransferDataContainer () | |
| virtual | ~TransferDataContainer () override |
| void | CopyINetBookmark (const INetBookmark &rBkmk) |
| void | CopyString (const OUString &rStr) |
| void | CopyString (SotClipboardFormatId nFmt, const OUString &rStr) |
| void | CopyByteString (SotClipboardFormatId nFormatId, const OString &rStr) |
| void | CopyAnyData (SotClipboardFormatId nFormatId, const char *pData, sal_uLong nLen) |
| bool | HasAnyData () const |
| void | StartDrag (vcl::Window *pWindow, sal_Int8 nDragSourceActions, const Link< sal_Int8, void > &rCallback) |
| virtual void | DragFinished (sal_Int8 nDropAction) override |
| void | StartDrag (vcl::Window *pWindow, sal_Int8 nDragSourceActions) |
Public Member Functions inherited from TransferableHelper | |
| virtual css::uno::Any SAL_CALL | getTransferData (const css::datatransfer::DataFlavor &rFlavor) override |
| virtual css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL | getTransferDataFlavors () override |
| virtual sal_Bool SAL_CALL | isDataFlavorSupported (const css::datatransfer::DataFlavor &rFlavor) override |
| virtual css::uno::Any SAL_CALL | getTransferData2 (const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc) override |
| virtual sal_Bool SAL_CALL | isComplex () override |
| void | PrepareOLE (const TransferableObjectDescriptor &rObjDesc) |
| void | CopyToClipboard (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &rClipboard) const |
| void | CopyToClipboard (vcl::Window *pWindow) const |
| void | CopyToPrimarySelection () const |
| void | StartDrag (vcl::Window *pWindow, sal_Int8 nDragSourceActions) |
Private Member Functions | |
| void | InitData (bool bLazy) |
| void | CopyToClipboard (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &rClipboard) const |
| void | CopyToClipboard (vcl::Window *pWindow) const |
Private Attributes | |
| GalleryTheme * | mpTheme |
| SgaObjKind | meObjectKind |
| sal_uInt32 | mnObjectPos |
| tools::SvRef< SotTempStream > | mxModelStream |
| std::unique_ptr< GraphicObject > | mpGraphicObject |
| std::unique_ptr< INetURLObject > | mpURL |
Friends | |
| class | GalleryTheme |
Additional Inherited Members | |
Static Public Member Functions inherited from TransferableHelper | |
| static void | ClearPrimarySelection () |
Protected Member Functions inherited from TransferableHelper | |
| ~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) |
| 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 () |
| void | CopyToSelection (const css::uno::Reference< css::datatransfer::clipboard::XClipboard > &rClipboard) const |
Definition at line 135 of file galmisc.hxx.
| GalleryTransferable::GalleryTransferable | ( | GalleryTheme * | pTheme, |
| sal_uInt32 | nObjectPos, | ||
| bool | bLazy | ||
| ) |
Definition at line 357 of file galmisc.cxx.
References InitData(), and NONE.
|
overridevirtual |
Definition at line 377 of file galmisc.cxx.
|
overridevirtual |
Reimplemented from TransferDataContainer.
Definition at line 442 of file galmisc.cxx.
References TransferableHelper::AddFormat(), meObjectKind, mpGraphicObject, mpURL, and SvDraw.
|
private |
|
private |
|
overridevirtual |
Reimplemented from TransferDataContainer.
Definition at line 519 of file galmisc.cxx.
References Application::GetFocusWindow(), vcl::Window::GrabFocusToDocument(), mpTheme, GalleryTheme::SetDragging(), and GalleryTheme::SetDragPos().
|
overridevirtual |
Reimplemented from TransferDataContainer.
Definition at line 474 of file galmisc.cxx.
References tools::SvRef< typename T >::get(), SotExchange::GetFormat(), InitData(), tools::SvRef< typename T >::is(), meObjectKind, mpGraphicObject, mpURL, mxModelStream, INetURLObject::NONE, TransferableHelper::SetBitmapEx(), TransferableHelper::SetGDIMetaFile(), TransferableHelper::SetGraphic(), TransferableHelper::SetObject(), TransferableHelper::SetString(), and SvDraw.
|
private |
Definition at line 381 of file galmisc.cxx.
References Animation, Bitmap, tools::SvRef< typename T >::clear(), GalleryTheme::GetGraphic(), GalleryTheme::GetModelStream(), GalleryTheme::GetURL(), Inet, tools::SvRef< typename T >::is(), meObjectKind, mnObjectPos, mpGraphicObject, mpTheme, mpURL, mxModelStream, Sound, and SvDraw.
Referenced by GalleryTransferable(), GetData(), and SelectObject().
|
overridevirtual |
Reimplemented from TransferableHelper.
Definition at line 534 of file galmisc.cxx.
References tools::SvRef< typename T >::clear(), mpGraphicObject, mpURL, and mxModelStream.
Referenced by SelectObject().
| void GalleryTransferable::SelectObject | ( | sal_uInt32 | nObjectPos | ) |
Definition at line 366 of file galmisc.cxx.
References TransferableHelper::ClearFormats(), GalleryTheme::GetObjectKind(), InitData(), meObjectKind, mnObjectPos, mpTheme, NONE, and ObjectReleased().
| bool GalleryTransferable::StartDrag | ( | ) |
Definition at line 541 of file galmisc.cxx.
References aURL, GalleryTheme::GetURL(), mnObjectPos, mpTheme, GalleryTheme::SetDragging(), and GalleryTheme::SetDragPos().
|
overridevirtual |
Reimplemented from TransferableHelper.
Definition at line 505 of file galmisc.cxx.
References ERRCODE_NONE.
|
friend |
Definition at line 137 of file galmisc.hxx.
|
private |
Definition at line 141 of file galmisc.hxx.
Referenced by AddSupportedFormats(), GetData(), InitData(), and SelectObject().
|
private |
Definition at line 142 of file galmisc.hxx.
Referenced by InitData(), SelectObject(), and StartDrag().
|
private |
Definition at line 144 of file galmisc.hxx.
Referenced by AddSupportedFormats(), GetData(), InitData(), and ObjectReleased().
|
private |
Definition at line 140 of file galmisc.hxx.
Referenced by DragFinished(), InitData(), SelectObject(), and StartDrag().
|
private |
Definition at line 145 of file galmisc.hxx.
Referenced by AddSupportedFormats(), GetData(), InitData(), and ObjectReleased().
|
private |
Definition at line 143 of file galmisc.hxx.
Referenced by GetData(), InitData(), and ObjectReleased().