LibreOffice Module sc (master) 1
|
#include <webservicelink.hxx>
Public Member Functions | |
ScWebServiceLink (ScDocument *pD, OUString aURL) | |
virtual | ~ScWebServiceLink () override |
virtual ::sfx2::SvBaseLink::UpdateResult | DataChanged (const OUString &rMimeType, const css::uno::Any &rValue) override |
virtual void | ListenersGone () override |
const OUString & | GetResult () const |
bool | HasResult () const |
const OUString & | GetURL () const |
Public Member Functions inherited from sfx2::SvBaseLink | |
virtual void | Closed () |
SvBaseLinkObjectType | GetObjType () const |
void | SetObj (SvLinkSource *pObj) |
SvLinkSource * | GetObj () const |
void | SetLinkSourceName (const OUString &rName) |
const OUString & | GetLinkSourceName () const |
virtual UpdateResult | DataChanged (const OUString &rMimeType, const css::uno::Any &rValue) |
void | SetUpdateMode (SfxLinkUpdateMode) |
SfxLinkUpdateMode | GetUpdateMode () const |
SotClipboardFormatId | GetContentType () const |
void | SetContentType (SotClipboardFormatId nType) |
LinkManager * | GetLinkManager () |
const LinkManager * | GetLinkManager () const |
void | SetLinkManager (LinkManager *_pMgr) |
bool | Update () |
void | Disconnect () |
virtual void | Edit (weld::Window *, const Link< SvBaseLink &, void > &rEndEditHdl) |
bool | IsVisible () const |
void | SetVisible (bool bFlag) |
bool | IsSynchron () const |
void | SetSynchron (bool bFlag) |
void | setStreamToLoadFrom (const css::uno::Reference< css::io::XInputStream > &xInputStream, bool bIsReadOnly) |
void | clearStreamToLoadFrom () |
bool | WasLastEditOK () const |
FileDialogHelper & | GetInsertFileDialog (const OUString &rFactory) |
Public Member Functions inherited from SvtBroadcaster | |
SvtBroadcaster () | |
SvtBroadcaster (const SvtBroadcaster &rBC) | |
virtual | ~SvtBroadcaster () |
void | Broadcast (const SfxHint &rHint) |
ListenersType & | GetAllListeners () |
const ListenersType & | GetAllListeners () const |
bool | HasListeners () const |
void | PrepareForDestruction () |
Private Attributes | |
ScDocument * | pDoc |
OUString | aURL |
bool | bHasResult |
OUString | aResult |
Additional Inherited Members | |
Public Types inherited from sfx2::SvBaseLink | |
enum | UpdateResult |
Public Types inherited from SvtBroadcaster | |
typedef std::vector< SvtListener * > | ListenersType |
Public Attributes inherited from sfx2::SvBaseLink | |
SUCCESS | |
ERROR_GENERAL | |
Protected Member Functions inherited from sfx2::SvBaseLink | |
void | SetObjType (SvBaseLinkObjectType) |
void | SetName (const OUString &rLn) |
SvBaseLink () | |
SvBaseLink (SfxLinkUpdateMode nLinkType, SotClipboardFormatId nContentType) | |
virtual | ~SvBaseLink () override |
void | GetRealObject_ (bool bConnect=true) |
SvLinkSource * | GetRealObject () |
virtual void | ListenersGone () |
Definition at line 22 of file webservicelink.hxx.
ScWebServiceLink::ScWebServiceLink | ( | ScDocument * | pD, |
OUString | aURL | ||
) |
Definition at line 24 of file webservicelink.cxx.
|
overridevirtual |
Definition at line 32 of file webservicelink.cxx.
|
overridevirtual |
Reimplemented from sfx2::SvBaseLink.
Definition at line 34 of file webservicelink.cxx.
References aBuffer, aResult, aURL, bHasResult, SvtBroadcaster::Broadcast(), sfx2::SvBaseLink::ERROR_GENERAL, comphelper::getProcessComponentContext(), SvtBroadcaster::HasListeners(), pDoc, ScDocument::StartTrackTimer(), sfx2::SvBaseLink::SUCCESS, ScDocument::TrackFormulas(), and xStream.
Referenced by lcl_FunctionAccessLoadWebServiceLink().
|
inline |
Definition at line 43 of file webservicelink.hxx.
References aResult.
Referenced by lcl_FunctionAccessLoadWebServiceLink().
|
inline |
Definition at line 46 of file webservicelink.hxx.
References aURL.
|
inline |
Definition at line 44 of file webservicelink.hxx.
References bHasResult.
Referenced by lcl_FunctionAccessLoadWebServiceLink().
|
overridevirtual |
Reimplemented from SvtBroadcaster.
Definition at line 84 of file webservicelink.cxx.
References ScDocument::GetLinkManager(), sfx2::LinkManager::GetLinks(), ScDocument::GetViewBindings(), SfxBindings::Invalidate(), pDoc, and sfx2::LinkManager::Remove().
|
private |
Definition at line 28 of file webservicelink.hxx.
Referenced by DataChanged(), and GetResult().
|
private |
Definition at line 26 of file webservicelink.hxx.
Referenced by DataChanged(), and GetURL().
|
private |
Definition at line 27 of file webservicelink.hxx.
Referenced by DataChanged(), and HasResult().
|
private |
Definition at line 25 of file webservicelink.hxx.
Referenced by DataChanged(), and ListenersGone().