19#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_SWDTFLVR_HXX
20#define INCLUDED_SW_SOURCE_UIBASE_INC_SWDTFLVR_HXX
28#include <com/sun/star/embed/XEmbeddedObject.hpp>
87 std::unique_ptr<SwDocFac, o3tl::default_delete<SwDocFac>>
m_pClpDocFac;
101 css::uno::Reference < css::embed::XEmbeddedObject > FindOLEObj( sal_Int64& nAspect )
const;
102 const Graphic* FindOLEReplacementGraphic()
const;
103 void DeleteSelection();
109 OUString& rFileName, OUString* pTitle =
nullptr );
121 bool bReReadGrf,
bool bMsg );
147 const Point* pPt,
bool bMsg );
151 void SetDataForDragAndDrop(
const Point& rSttPos );
157 virtual bool GetData(
const css::datatransfer::DataFlavor& rFlavor,
const OUString& rDestDoc )
override;
160 sal_uInt32 nUserObjectId,
161 const css::datatransfer::DataFlavor& rFlavor )
override;
180 int Copy(
bool bIsCut =
false );
181 int PrepareForCopy(
bool bIsCut =
false );
182 void PrepareForCopyTextRange(
SwPaM & rPaM);
183 void CalculateAndCopy();
184 bool CopyGlossary(
SwTextBlocks& rGlossary,
const OUString& rStr );
199 bool bPasteSelection =
false,
RndStdIds nAnchorType = RndStdIds::FLY_AT_PARA,
200 bool bIgnoreComments =
false,
204 static bool IsPasteSpecial(
const SwWrtShell& rWrtShell,
217 static void FillClipFormatItem(
const SwWrtShell& rSh,
229 bool bIsXSelection );
233 static void CreateSelection(
SwWrtShell & rSh,
235 static void ClearSelection(
const SwWrtShell& rSh,
PaM is Point and Mark: a selection of the document model.
Tracks the boundaries of pasted content and notifies listeners.
SwTransferable & operator=(const SwTransferable &)=delete
TransferableObjectDescriptor m_aObjDesc
std::unique_ptr< INetImage > m_pTargetURL
std::unique_ptr< SwDocFac, o3tl::default_delete< SwDocFac > > m_pClpDocFac
tools::SvRef< sfx2::SvBaseLink > m_xDdeLink
std::optional< INetBookmark > m_oBookmark
const SwFrameShell * m_pCreatorView
TransferBufferType m_eBufferType
std::unique_ptr< ImageMap > m_pImageMap
SfxObjectShellLock m_aDocShellRef
void SetCleanUp(bool bFlag)
std::optional< Graphic > m_oClpGraphic
std::optional< Graphic > m_oClpBitmap
SwTransferable(const SwTransferable &)=delete
Used by the UI to modify the document model.
void StartDrag(vcl::Window *pWindow, sal_Int8 nDragSourceActions)
virtual bool WriteObject(tools::SvRef< SotTempStream > &rxOStm, void *pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor &rFlavor)
virtual void DragFinished(sal_Int8 nDropAction)
virtual bool GetData(const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc)=0
virtual void AddSupportedFormats()=0
virtual sal_Bool SAL_CALL isComplex() override
virtual void ObjectReleased()