LibreOffice Module sfx2 (master) 1
|
#include <linksrc.hxx>
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 &) | |
SvRefBase & | operator= (const SvRefBase &) |
void | RestoreNoDelete () |
void | AddNextRef () |
void | AddFirstRef () |
void | ReleaseRef () |
unsigned int | GetRefCount () const |
Private Attributes | |
std::unique_ptr< SvLinkSource_Impl > | pImpl |
Additional Inherited Members | |
Protected Member Functions inherited from SvRefBase | |
virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Definition at line 53 of file linksrc.hxx.
sfx2::SvLinkSource::SvLinkSource | ( | ) |
Definition at line 195 of file linksrc.cxx.
|
overridevirtual |
Definition at line 200 of file linksrc.cxx.
void sfx2::SvLinkSource::AddConnectAdvise | ( | SvBaseLink * | pLink | ) |
Definition at line 361 of file linksrc.cxx.
Referenced by sfx2::SvDDEObject::Connect().
void sfx2::SvLinkSource::AddDataAdvise | ( | SvBaseLink * | pLink, |
const OUString & | rMimeType, | ||
sal_uInt16 | nAdviceMode | ||
) |
Definition at line 342 of file linksrc.cxx.
References nAdviseModes, pImpl, and pLink.
Referenced by SvFileObject::Connect(), sfx2::SvDDEObject::Connect(), and sfx2::LinkManager::LinkServerShell().
void sfx2::SvLinkSource::clearStreamToLoadFrom | ( | ) |
Definition at line 219 of file linksrc.cxx.
References pImpl.
void sfx2::SvLinkSource::Closed | ( | ) |
Definition at line 224 of file linksrc.cxx.
|
virtual |
Reimplemented in SvFileObject, and sfx2::SvDDEObject.
Definition at line 401 of file linksrc.cxx.
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().
|
virtual |
Reimplemented in SvFileObject, and sfx2::SvDDEObject.
Definition at line 411 of file linksrc.cxx.
|
virtual |
Reimplemented in sfx2::SvDDEObject, and SvFileObject.
Definition at line 406 of file linksrc.cxx.
Referenced by NotifyDataChanged(), and SendDataChanged().
SvLinkSource::StreamToLoadFrom sfx2::SvLinkSource::getStreamToLoadFrom | ( | ) |
Definition at line 205 of file linksrc.cxx.
References pImpl.
Referenced by SvFileObject::LoadFile_Impl().
sal_uInt64 sfx2::SvLinkSource::GetUpdateTimeout | ( | ) | const |
Definition at line 232 of file linksrc.cxx.
References pImpl.
bool sfx2::SvLinkSource::HasDataLinks | ( | ) | const |
Definition at line 377 of file linksrc.cxx.
Referenced by SvFileObject::SendStateChg_Impl().
|
virtual |
Reimplemented in SvFileObject, and sfx2::SvDDEObject.
Definition at line 396 of file linksrc.cxx.
|
virtual |
Reimplemented in SvFileObject, and sfx2::SvDDEObject.
Definition at line 390 of file linksrc.cxx.
void sfx2::SvLinkSource::NotifyDataChanged | ( | ) |
Definition at line 276 of file linksrc.cxx.
References ADVISEMODE_NODATA, ADVISEMODE_ONLYONCE, Any, GetData(), p, pImpl, and sfx2::StartTimer().
void sfx2::SvLinkSource::RemoveAllDataAdvise | ( | SvBaseLink const * | pLink | ) |
Definition at line 350 of file linksrc.cxx.
void sfx2::SvLinkSource::RemoveConnectAdvise | ( | SvBaseLink const * | pLink | ) |
Definition at line 367 of file linksrc.cxx.
void sfx2::SvLinkSource::SendDataChanged | ( | ) |
Definition at line 244 of file linksrc.cxx.
References ADVISEMODE_NODATA, ADVISEMODE_ONLYONCE, Any, GetData(), p, and pImpl.
void sfx2::SvLinkSource::setStreamToLoadFrom | ( | const css::uno::Reference< css::io::XInputStream > & | xInputStream, |
bool | bIsReadOnly | ||
) |
Definition at line 212 of file linksrc.cxx.
References pImpl.
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().
|
private |
Definition at line 56 of file linksrc.hxx.
Referenced by AddConnectAdvise(), AddDataAdvise(), clearStreamToLoadFrom(), Closed(), DataChanged(), getStreamToLoadFrom(), GetUpdateTimeout(), HasDataLinks(), NotifyDataChanged(), RemoveAllDataAdvise(), RemoveConnectAdvise(), SendDataChanged(), setStreamToLoadFrom(), and SetUpdateTimeout().