|
LibreOffice Module sc (master) 1
|
#include <servobj.hxx>
Public Member Functions | |
| ScServerObject (ScDocShell *pShell, const OUString &rItem) | |
| virtual | ~ScServerObject () override |
| virtual bool | GetData (css::uno::Any &rData, const OUString &rMimeType, bool bSynchron=false) override |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
| void | EndListeningAll () |
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 SfxListener | |
| SfxListener () | |
| SfxListener (const SfxListener &rCopy) | |
| virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
| void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
| void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
| void | EndListeningAll () |
| bool | IsListening (SfxBroadcaster &rBroadcaster) const |
| sal_uInt16 | GetBroadcasterCount () const |
| SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
| virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
| void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
| virtual bool | IsSdrView () const |
Private Member Functions | |
| void | Clear () |
Private Attributes | |
| ScServerObjectSvtListenerForwarder | aForwarder |
| ScDocShell * | pDocSh |
| ScRange | aRange |
| OUString | aItemStr |
| bool | bRefreshListener |
Definition at line 41 of file servobj.hxx.
| ScServerObject::ScServerObject | ( | ScDocShell * | pShell, |
| const OUString & | rItem | ||
| ) |
Definition at line 70 of file servobj.cxx.
References ScRange::aEnd, aForwarder, aItemStr, aRange, ScRange::aStart, ScDocShell::GetCurTab(), ScDocShell::GetDocument(), ScDocument::GetLinkManager(), sfx2::LinkManager::InsertServer(), lcl_FillRangeFromName(), ScAddress::Parse(), ScRange::Parse(), pDocSh, ScAddress::SetTab(), SfxGetpApp(), SfxListener::StartListening(), ScDocument::StartListeningArea(), and VALID.
|
overridevirtual |
Definition at line 112 of file servobj.cxx.
References Clear().
|
private |
Definition at line 117 of file servobj.cxx.
References aForwarder, aRange, SfxListener::EndListening(), ScDocument::EndListeningArea(), ScDocShell::GetDocument(), ScDocument::GetLinkManager(), pDocSh, sfx2::LinkManager::RemoveServer(), and SfxGetpApp().
Referenced by ~ScServerObject().
| void ScServerObject::EndListeningAll | ( | ) |
Definition at line 131 of file servobj.cxx.
References aForwarder, SfxListener::EndListeningAll(), and SvtListener::EndListeningAll().
Referenced by GetData().
|
overridevirtual |
Reimplemented from sfx2::SvLinkSource.
Definition at line 137 of file servobj.cxx.
References aForwarder, aItemStr, aRange, bRefreshListener, EndListeningAll(), ScImportExport::ExportByteString(), ScImportExport::ExportData(), ScDocShell::GetDdeTextFmt(), ScDocShell::GetDocument(), SotExchange::GetFormatIdFromMimeType(), ScImportExport::IsRef(), lcl_FillRangeFromName(), pDocSh, ScImportExport::SetExportTextOptions(), ScImportExport::SetFormulas(), ScImportExport::SetSeparator(), SfxGetpApp(), SfxListener::StartListening(), ScDocument::StartListeningArea(), and ScExportTextOptions::ToSpace.
|
overridevirtual |
Reimplemented from SfxListener.
Definition at line 201 of file servobj.cxx.
References aItemStr, aRange, bRefreshListener, SfxListener::EndListening(), SfxHint::GetId(), sfx2::SvLinkSource::HasDataLinks(), lcl_FillRangeFromName(), pDocSh, and SfxGetpApp().
Referenced by ScServerObjectSvtListenerForwarder::Notify().
|
private |
Definition at line 44 of file servobj.hxx.
Referenced by Clear(), EndListeningAll(), GetData(), and ScServerObject().
|
private |
Definition at line 47 of file servobj.hxx.
Referenced by GetData(), Notify(), and ScServerObject().
|
private |
Definition at line 46 of file servobj.hxx.
Referenced by Clear(), GetData(), Notify(), and ScServerObject().
|
private |
Definition at line 48 of file servobj.hxx.
|
private |
Definition at line 45 of file servobj.hxx.
Referenced by Clear(), GetData(), Notify(), and ScServerObject().