53 void SetView(const ::sd::View* pView);
54 const ::sd::View*
GetView()
const {
return mpSdView; }
56 void SetObjectDescriptor( std::unique_ptr<TransferableObjectDescriptor> pObjDesc );
66 void SetPageBookmarks( std::vector<OUString>&& rPageBookmarks,
bool bPersistent );
68 bool HasPageBookmarks()
const {
return( mpPageDocShell && ( !maPageBookmarks.empty() ) ); }
74 static SdTransferable* getImplementation(
const css::uno::Reference< css::uno::XInterface >& rxData )
noexcept;
92 void AddUserData (
const std::shared_ptr<UserData>& rpData);
96 sal_Int32 GetUserDataCount()
const;
102 std::shared_ptr<UserData> GetUserData (
const sal_Int32 nIndex)
const;
107 virtual bool GetData(
const css::datatransfer::DataFlavor& rFlavor,
const OUString& rDestDoc )
override;
114 ::
sd::DrawDocShell* mpPageDocShell;
115 std::vector<OUString> maPageBookmarks;
118 const ::
sd::View* mpSdView;
119 ::
sd::View* mpSdViewIntern;
129 bool mbInternalMove : 1;
130 bool mbOwnDocument : 1;
133 bool mbPageTransferable : 1;
134 bool mbPageTransferablePersistent : 1;
140 void CreateObjectReplacement(
SdrObject* pObj );
User data objects can be used to store information temporarily at the transferable.
const SfxObjectShellRef & GetDocShell() const
bool IsPageTransferable() const
void SetStartPos(const Point &rStartPos)
const ::sd::View * GetView() const
void SetInternalMove(bool bSet)
void SetWorkDocument(const SdDrawDocument *pWorkDoc)
const Point & GetStartPos() const
bool HasPageBookmarks() const
void SetDocShell(const SfxObjectShellRef &rRef)
::sd::DrawDocShell * GetPageDocShell() const
const std::vector< OUString > & GetPageBookmarks() const
const SdDrawDocument * GetWorkDocument() const
bool IsInternalMove() const
SdDrawDocument * GetSourceDoc() const
bool HasSourceDoc(const SdDrawDocument *pDoc) const
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint)
virtual void DragFinished(sal_Int8 nDropAction) override
virtual bool GetData(const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc) override
virtual void AddSupportedFormats() override
virtual bool WriteObject(tools::SvRef< SotTempStream > &rxOStm, void *pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor &rFlavor)
virtual void ObjectReleased()