LibreOffice Module sfx2 (master) 1
|
#include <impldde.hxx>
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 &) | |
SvRefBase & | operator= (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< DdeConnection > | pConnection |
std::unique_ptr< DdeLink > | pLink |
std::unique_ptr< DdeRequest > | pRequest |
css::uno::Any * | pGetData |
bool | bWaitForData |
Definition at line 35 of file impldde.hxx.
|
overrideprotectedvirtual |
Definition at line 105 of file impldde.cxx.
References pConnection, pLink, and pRequest.
sfx2::SvDDEObject::SvDDEObject | ( | ) |
Definition at line 98 of file impldde.cxx.
References bWaitForData, and sfx2::SvLinkSource::SetUpdateTimeout().
|
overridevirtual |
Reimplemented from sfx2::SvLinkSource.
Definition at line 166 of file impldde.cxx.
References sfx2::SvLinkSource::AddConnectAdvise(), sfx2::SvLinkSource::AddDataAdvise(), ADVISEMODE_ONLYONCE, ALWAYS, sfx2::SvBaseLink::GetContentType(), sfx2::LinkManager::GetDisplayNames(), DdeConnection::GetError(), SotExchange::GetFormatMimeType(), sfx2::SvBaseLink::GetLinkManager(), sfx2::SvBaseLink::GetUpdateMode(), LINK, ONCALL, pConnection, pLink, sfx2::SvLinkSource::SetUpdateTimeout(), and sItem.
|
private |
|
private |
|
overridevirtual |
Reimplemented from sfx2::SvLinkSource.
Definition at line 232 of file impldde.cxx.
References Link< typename Arg, typename Ret >::Call(), Link< typename Arg, typename Ret >::IsSet(), and RET_OK.
|
overridevirtual |
Reimplemented from sfx2::SvLinkSource.
Definition at line 112 of file impldde.cxx.
References bWaitForData, DdeTransaction::Execute(), DdeTransaction::GetError(), SotExchange::GetFormatIdFromMimeType(), ImplHasOtherFormat(), LINK, pConnection, pGetData, pRequest, DdeTransaction::SetDataHdl(), DdeTransaction::SetFormat(), and sItem.
|
staticprivate |
Definition at line 242 of file impldde.cxx.
References DdeTransaction::GetFormat(), and DdeTransaction::SetFormat().
Referenced by GetData().
|
overridevirtual |
Reimplemented from sfx2::SvLinkSource.
Definition at line 280 of file impldde.cxx.
References bWaitForData.
|
overridevirtual |
Reimplemented from sfx2::SvLinkSource.
Definition at line 272 of file impldde.cxx.
References bWaitForData.
|
private |
Definition at line 44 of file impldde.hxx.
Referenced by GetData(), IsDataComplete(), IsPending(), and SvDDEObject().
|
private |
Definition at line 39 of file impldde.hxx.
Referenced by Connect(), GetData(), and ~SvDDEObject().
|
private |
Definition at line 42 of file impldde.hxx.
Referenced by GetData().
|
private |
Definition at line 40 of file impldde.hxx.
Referenced by Connect(), and ~SvDDEObject().
|
private |
Definition at line 41 of file impldde.hxx.
Referenced by GetData(), and ~SvDDEObject().
|
private |
Definition at line 37 of file impldde.hxx.