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

#include <linksrc.hxx>

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

Classes

struct  StreamToLoadFrom
 

Public Member Functions

 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
 

Private Attributes

std::unique_ptr< SvLinkSource_ImplpImpl
 

Additional Inherited Members

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

Detailed Description

Definition at line 53 of file linksrc.hxx.

Constructor & Destructor Documentation

◆ SvLinkSource()

sfx2::SvLinkSource::SvLinkSource ( )

Definition at line 195 of file linksrc.cxx.

◆ ~SvLinkSource()

sfx2::SvLinkSource::~SvLinkSource ( )
overridevirtual

Definition at line 200 of file linksrc.cxx.

Member Function Documentation

◆ AddConnectAdvise()

void sfx2::SvLinkSource::AddConnectAdvise ( SvBaseLink pLink)

Definition at line 361 of file linksrc.cxx.

References pImpl, and pLink.

Referenced by sfx2::SvDDEObject::Connect().

◆ AddDataAdvise()

void sfx2::SvLinkSource::AddDataAdvise ( SvBaseLink pLink,
const OUString &  rMimeType,
sal_uInt16  nAdviceMode 
)

◆ clearStreamToLoadFrom()

void sfx2::SvLinkSource::clearStreamToLoadFrom ( )

Definition at line 219 of file linksrc.cxx.

References pImpl.

◆ Closed()

void sfx2::SvLinkSource::Closed ( )

Definition at line 224 of file linksrc.cxx.

References p, and pImpl.

◆ Connect()

bool sfx2::SvLinkSource::Connect ( SvBaseLink )
virtual

Reimplemented in SvFileObject, and sfx2::SvDDEObject.

Definition at line 401 of file linksrc.cxx.

◆ DataChanged()

void sfx2::SvLinkSource::DataChanged ( const OUString &  rMimeType,
const css::uno::Any &  rVal 
)

Definition at line 308 of file linksrc.cxx.

References ADVISEMODE_ONLYONCE, p, pImpl, and sfx2::StartTimer().

Referenced by SvFileObject::SendStateChg_Impl().

◆ Edit()

void sfx2::SvLinkSource::Edit ( weld::Window ,
SvBaseLink ,
const Link< const OUString &, void > &  rEndEditHdl 
)
virtual

Reimplemented in SvFileObject, and sfx2::SvDDEObject.

Definition at line 411 of file linksrc.cxx.

◆ GetData()

bool sfx2::SvLinkSource::GetData ( css::uno::Any &  rData,
const OUString &  rMimeType,
bool  bSynchron = false 
)
virtual

Reimplemented in sfx2::SvDDEObject, and SvFileObject.

Definition at line 406 of file linksrc.cxx.

Referenced by NotifyDataChanged(), and SendDataChanged().

◆ getStreamToLoadFrom()

SvLinkSource::StreamToLoadFrom sfx2::SvLinkSource::getStreamToLoadFrom ( )

Definition at line 205 of file linksrc.cxx.

References pImpl.

Referenced by SvFileObject::LoadFile_Impl().

◆ GetUpdateTimeout()

sal_uInt64 sfx2::SvLinkSource::GetUpdateTimeout ( ) const

Definition at line 232 of file linksrc.cxx.

References pImpl.

◆ HasDataLinks()

bool sfx2::SvLinkSource::HasDataLinks ( ) const

Definition at line 377 of file linksrc.cxx.

References n, and pImpl.

Referenced by SvFileObject::SendStateChg_Impl().

◆ IsDataComplete()

bool sfx2::SvLinkSource::IsDataComplete ( ) const
virtual

Reimplemented in SvFileObject, and sfx2::SvDDEObject.

Definition at line 396 of file linksrc.cxx.

◆ IsPending()

bool sfx2::SvLinkSource::IsPending ( ) const
virtual

Reimplemented in SvFileObject, and sfx2::SvDDEObject.

Definition at line 390 of file linksrc.cxx.

◆ NotifyDataChanged()

void sfx2::SvLinkSource::NotifyDataChanged ( )

Definition at line 276 of file linksrc.cxx.

References ADVISEMODE_NODATA, ADVISEMODE_ONLYONCE, Any, GetData(), p, pImpl, and sfx2::StartTimer().

◆ RemoveAllDataAdvise()

void sfx2::SvLinkSource::RemoveAllDataAdvise ( SvBaseLink const *  pLink)

Definition at line 350 of file linksrc.cxx.

References p, pImpl, and pLink.

◆ RemoveConnectAdvise()

void sfx2::SvLinkSource::RemoveConnectAdvise ( SvBaseLink const *  pLink)

Definition at line 367 of file linksrc.cxx.

References p, pImpl, and pLink.

◆ SendDataChanged()

void sfx2::SvLinkSource::SendDataChanged ( )

Definition at line 244 of file linksrc.cxx.

References ADVISEMODE_NODATA, ADVISEMODE_ONLYONCE, Any, GetData(), p, and pImpl.

◆ setStreamToLoadFrom()

void sfx2::SvLinkSource::setStreamToLoadFrom ( const css::uno::Reference< css::io::XInputStream > &  xInputStream,
bool  bIsReadOnly 
)

Definition at line 212 of file linksrc.cxx.

References pImpl.

◆ SetUpdateTimeout()

void sfx2::SvLinkSource::SetUpdateTimeout ( sal_uInt64  nTimeMs)

Definition at line 237 of file linksrc.cxx.

References pImpl.

Referenced by SvFileObject::Connect(), sfx2::SvDDEObject::Connect(), and sfx2::SvDDEObject::SvDDEObject().

Member Data Documentation

◆ pImpl

std::unique_ptr<SvLinkSource_Impl> sfx2::SvLinkSource::pImpl
private

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