LibreOffice Module sd (master) 1
|
#include <sdtreelb.hxx>
Public Member Functions | |
SdPageObjsTransferable (INetBookmark aBookmark, ::sd::DrawDocShell &rDocShell, NavigatorDragType eDragType) | |
::sd::DrawDocShell & | GetDocShell () const |
NavigatorDragType | GetDragType () const |
![]() | |
SdTransferable (SdDrawDocument *pSrcDoc, ::sd::View *pWorkView, bool bInitOnGetData) | |
virtual | ~SdTransferable () override |
void | SetDocShell (const SfxObjectShellRef &rRef) |
const SfxObjectShellRef & | GetDocShell () const |
void | SetWorkDocument (const SdDrawDocument *pWorkDoc) |
const SdDrawDocument * | GetWorkDocument () const |
void | SetView (const ::sd::View *pView) |
const ::sd::View * | GetView () const |
void | SetObjectDescriptor (std::unique_ptr< TransferableObjectDescriptor > pObjDesc) |
void | SetStartPos (const Point &rStartPos) |
const Point & | GetStartPos () const |
void | SetInternalMove (bool bSet) |
bool | IsInternalMove () const |
bool | HasSourceDoc (const SdDrawDocument *pDoc) const |
void | SetPageBookmarks (std::vector< OUString > &&rPageBookmarks, bool bPersistent) |
bool | IsPageTransferable () const |
bool | HasPageBookmarks () const |
const std::vector< OUString > & | GetPageBookmarks () const |
::sd::DrawDocShell * | GetPageDocShell () const |
bool | SetTableRTF (SdDrawDocument *) |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void | DragFinished (sal_Int8 nDropAction) override |
SdDrawDocument * | GetSourceDoc () const |
void | AddUserData (const std::shared_ptr< UserData > &rpData) |
Add a user data object. More... | |
sal_Int32 | GetUserDataCount () const |
Return the number of user data objects. More... | |
std::shared_ptr< UserData > | GetUserData (const sal_Int32 nIndex) const |
Return the specified user data object. More... | |
![]() | |
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) |
![]() | |
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) |
![]() | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Static Public Member Functions | |
static SdPageObjsTransferable * | getImplementation (const css::uno::Reference< css::uno::XInterface > &rxData) noexcept |
static SotClipboardFormatId | GetListBoxDropFormatId () |
Return a temporary transferable data flavor that is used internally in the navigator for reordering entries. More... | |
![]() | |
static SdTransferable * | getImplementation (const css::uno::Reference< css::uno::XInterface > &rxData) noexcept |
![]() | |
static void | ClearPrimarySelection () |
Private Member Functions | |
virtual | ~SdPageObjsTransferable () override |
virtual void | AddSupportedFormats () override |
virtual bool | GetData (const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc) override |
virtual void | DragFinished (sal_Int8 nDropAction) override |
Private Attributes | |
INetBookmark const | maBookmark |
::sd::DrawDocShell & | mrDocShell |
NavigatorDragType const | meDragType |
Static Private Attributes | |
static SotClipboardFormatId | mnListBoxDropFormatId = static_cast<SotClipboardFormatId>(SAL_MAX_UINT32) |
Temporary drop flavor id that is used internally in the navigator. More... | |
Additional Inherited Members | |
![]() | |
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 | ObjectReleased () override final |
![]() | |
~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 424 of file sdtreelb.hxx.
SdPageObjsTLV::SdPageObjsTransferable::SdPageObjsTransferable | ( | INetBookmark | aBookmark, |
::sd::DrawDocShell & | rDocShell, | ||
NavigatorDragType | eDragType | ||
) |
Definition at line 83 of file sdtreelb.cxx.
|
overrideprivatevirtual |
Definition at line 94 of file sdtreelb.cxx.
|
overrideprivatevirtual |
Reimplemented from SdTransferable.
Definition at line 98 of file sdtreelb.cxx.
|
overrideprivatevirtual |
Reimplemented from SdTransferable.
Definition at line 126 of file sdtreelb.cxx.
References SdTransferable::DragFinished(), and SdPageObjsTLV::OnDragFinished().
|
overrideprivatevirtual |
Reimplemented from SdTransferable.
Definition at line 105 of file sdtreelb.cxx.
References SotExchange::GetFormat().
|
inline |
Definition at line 431 of file sdtreelb.hxx.
Referenced by sd::slidesorter::controller::Clipboard::CreateTransferableUserData(), and sd::IMPL_LINK().
|
inline |
Definition at line 432 of file sdtreelb.hxx.
Referenced by sd::View::ExecuteDrop(), and sd::IMPL_LINK().
|
staticnoexcept |
Definition at line 132 of file sdtreelb.cxx.
Referenced by sd::View::ExecuteDrop(), and sd::IMPL_LINK().
|
static |
Return a temporary transferable data flavor that is used internally in the navigator for reordering entries.
Its lifetime ends with the office application.
Definition at line 138 of file sdtreelb.cxx.
References SotExchange::RegisterFormatMimeType(), and SAL_MAX_UINT32.
Referenced by sd::View::AcceptDrop().
|
private |
Definition at line 447 of file sdtreelb.hxx.
|
private |
Definition at line 449 of file sdtreelb.hxx.
|
staticprivate |
Temporary drop flavor id that is used internally in the navigator.
Definition at line 445 of file sdtreelb.hxx.
|
private |
Definition at line 448 of file sdtreelb.hxx.