|
LibreOffice Module sd (master) 1
|
Represent previews and other information so that they can be attached to an existing transferable. More...
#include <SlsTransferableData.hxx>
Classes | |
| class | Representative |
Public Member Functions | |
| TransferableData (SlideSorterViewShell *pViewShell, ::std::vector< TransferableData::Representative > &&rRepresentatives) | |
| virtual | ~TransferableData () override |
| const ::std::vector< Representative > & | GetRepresentatives () const |
| SlideSorterViewShell * | GetSourceViewShell () const |
| Return the view shell for which the transferable was created. More... | |
Public Member Functions inherited from SdTransferable::UserData | |
| virtual | ~UserData () |
Public Member Functions inherited from SfxListener | |
| 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 rtl::Reference< SdTransferable > | CreateTransferable (SdDrawDocument *pSrcDoc, SlideSorterViewShell *pViewShell, ::std::vector< TransferableData::Representative > &&rRepresentatives) |
| static std::shared_ptr< TransferableData > | GetFromTransferable (const SdTransferable *pTransferable) |
Private Member Functions | |
| virtual void | Notify (SfxBroadcaster &rBroadcaster, const SfxHint &rHint) override |
Private Attributes | |
| SlideSorterViewShell * | mpViewShell |
| const ::std::vector< Representative > | maRepresentatives |
Represent previews and other information so that they can be attached to an existing transferable.
Definition at line 36 of file SlsTransferableData.hxx.
| sd::slidesorter::controller::TransferableData::TransferableData | ( | SlideSorterViewShell * | pViewShell, |
| ::std::vector< TransferableData::Representative > && | rRepresentatives | ||
| ) |
Definition at line 52 of file SlsTransferableData.cxx.
References mpViewShell, and SfxListener::StartListening().
|
overridevirtual |
Definition at line 62 of file SlsTransferableData.cxx.
References SfxListener::EndListening(), and mpViewShell.
|
static |
Definition at line 26 of file SlsTransferableData.cxx.
References pData.
Referenced by sd::slidesorter::controller::Clipboard::CreateSlideTransferable().
|
static |
Definition at line 37 of file SlsTransferableData.cxx.
References SdTransferable::GetUserData(), SdTransferable::GetUserDataCount(), nCount, and nIndex.
Referenced by sd::slidesorter::view::InsertionIndicatorOverlay::Create(), sd::slidesorter::controller::DragAndDropContext::DragAndDropContext(), sd::slidesorter::controller::Clipboard::ExecuteDrop(), and sd::slidesorter::controller::Clipboard::IsInsertionTrivial().
|
inline |
Definition at line 63 of file SlsTransferableData.hxx.
References maRepresentatives.
|
inline |
Return the view shell for which the transferable was created.
Definition at line 67 of file SlsTransferableData.hxx.
References mpViewShell.
|
overrideprivatevirtual |
Reimplemented from SfxListener.
Definition at line 68 of file SlsTransferableData.cxx.
References SfxListener::EndListening(), SfxHint::GetId(), and mpViewShell.
|
private |
Definition at line 71 of file SlsTransferableData.hxx.
Referenced by GetRepresentatives().
|
private |
Definition at line 70 of file SlsTransferableData.hxx.
Referenced by GetSourceViewShell(), Notify(), TransferableData(), and ~TransferableData().