LibreOffice Module sfx2 (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
sfx2::SvDDEObject Class Reference

#include <impldde.hxx>

Inheritance diagram for sfx2::SvDDEObject:
[legend]
Collaboration diagram for sfx2::SvDDEObject:
[legend]

Public Member Functions

 SvDDEObject ()
 
virtual bool GetData (css::uno::Any &rData, const OUString &aMimeType, bool bSynchron=false) override
 
virtual bool Connect (SvBaseLink *) override
 
virtual void Edit (weld::Window *pParent, sfx2::SvBaseLink *pBaseLink, const Link< const OUString &, void > &rEndEditHdl) override
 
virtual bool IsPending () const override
 
virtual bool IsDataComplete () const override
 
- Public Member Functions inherited from sfx2::SvLinkSource
 SvLinkSource ()
 
virtual ~SvLinkSource () override
 
bool HasDataLinks () const
 
void Closed ()
 
sal_uInt64 GetUpdateTimeout () const
 
void SetUpdateTimeout (sal_uInt64 nTimeMs)
 
void DataChanged (const OUString &rMimeType, const css::uno::Any &rVal)
 
void SendDataChanged ()
 
void NotifyDataChanged ()
 
virtual bool Connect (SvBaseLink *)
 
virtual bool GetData (css::uno::Any &rData, const OUString &rMimeType, bool bSynchron=false)
 
virtual bool IsPending () const
 
virtual bool IsDataComplete () const
 
virtual void Edit (weld::Window *, SvBaseLink *, const Link< const OUString &, void > &rEndEditHdl)
 
void AddDataAdvise (SvBaseLink *, const OUString &rMimeType, sal_uInt16 nAdviceMode)
 
void RemoveAllDataAdvise (SvBaseLink const *)
 
void AddConnectAdvise (SvBaseLink *)
 
void RemoveConnectAdvise (SvBaseLink const *)
 
StreamToLoadFrom getStreamToLoadFrom ()
 
void setStreamToLoadFrom (const css::uno::Reference< css::io::XInputStream > &xInputStream, bool bIsReadOnly)
 
void clearStreamToLoadFrom ()
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Protected Member Functions

virtual ~SvDDEObject () override
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (ImplGetDDEData, const DdeData *, void)
 
 DECL_LINK (ImplDoneDDEData, bool, void)
 

Static Private Member Functions

static bool ImplHasOtherFormat (DdeTransaction &)
 

Private Attributes

OUString sItem
 
std::unique_ptr< DdeConnectionpConnection
 
std::unique_ptr< DdeLinkpLink
 
std::unique_ptr< DdeRequestpRequest
 
css::uno::Any * pGetData
 
bool bWaitForData
 

Detailed Description

Definition at line 35 of file impldde.hxx.

Constructor & Destructor Documentation

◆ ~SvDDEObject()

sfx2::SvDDEObject::~SvDDEObject ( )
overrideprotectedvirtual

Definition at line 105 of file impldde.cxx.

References pConnection, pLink, and pRequest.

◆ SvDDEObject()

sfx2::SvDDEObject::SvDDEObject ( )

Definition at line 98 of file impldde.cxx.

References bWaitForData, and sfx2::SvLinkSource::SetUpdateTimeout().

Member Function Documentation

◆ Connect()

bool sfx2::SvDDEObject::Connect ( SvBaseLink pSvLink)
overridevirtual

◆ DECL_LINK() [1/2]

sfx2::SvDDEObject::DECL_LINK ( ImplDoneDDEData  ,
bool  ,
void   
)
private

◆ DECL_LINK() [2/2]

sfx2::SvDDEObject::DECL_LINK ( ImplGetDDEData  ,
const DdeData ,
void   
)
private

◆ Edit()

void sfx2::SvDDEObject::Edit ( weld::Window pParent,
sfx2::SvBaseLink pBaseLink,
const Link< const OUString &, void > &  rEndEditHdl 
)
overridevirtual

◆ GetData()

bool sfx2::SvDDEObject::GetData ( css::uno::Any &  rData,
const OUString &  aMimeType,
bool  bSynchron = false 
)
overridevirtual

◆ ImplHasOtherFormat()

bool sfx2::SvDDEObject::ImplHasOtherFormat ( DdeTransaction rReq)
staticprivate

Definition at line 242 of file impldde.cxx.

References DdeTransaction::GetFormat(), and DdeTransaction::SetFormat().

Referenced by GetData().

◆ IsDataComplete()

bool sfx2::SvDDEObject::IsDataComplete ( ) const
overridevirtual

Reimplemented from sfx2::SvLinkSource.

Definition at line 280 of file impldde.cxx.

References bWaitForData.

◆ IsPending()

bool sfx2::SvDDEObject::IsPending ( ) const
overridevirtual

Reimplemented from sfx2::SvLinkSource.

Definition at line 272 of file impldde.cxx.

References bWaitForData.

Member Data Documentation

◆ bWaitForData

bool sfx2::SvDDEObject::bWaitForData
private

Definition at line 44 of file impldde.hxx.

Referenced by GetData(), IsDataComplete(), IsPending(), and SvDDEObject().

◆ pConnection

std::unique_ptr<DdeConnection> sfx2::SvDDEObject::pConnection
private

Definition at line 39 of file impldde.hxx.

Referenced by Connect(), GetData(), and ~SvDDEObject().

◆ pGetData

css::uno::Any* sfx2::SvDDEObject::pGetData
private

Definition at line 42 of file impldde.hxx.

Referenced by GetData().

◆ pLink

std::unique_ptr<DdeLink> sfx2::SvDDEObject::pLink
private

Definition at line 40 of file impldde.hxx.

Referenced by Connect(), and ~SvDDEObject().

◆ pRequest

std::unique_ptr<DdeRequest> sfx2::SvDDEObject::pRequest
private

Definition at line 41 of file impldde.hxx.

Referenced by GetData(), and ~SvDDEObject().

◆ sItem

OUString sfx2::SvDDEObject::sItem
private

Definition at line 37 of file impldde.hxx.

Referenced by Connect(), and GetData().


The documentation for this class was generated from the following files: