LibreOffice Module sc (master) 1
|
#include <externalrefmgr.hxx>
Public Member Functions | |
ScExternalRefLink (ScDocument &rDoc, sal_uInt16 nFileId) | |
virtual | ~ScExternalRefLink () override |
virtual void | Closed () override |
virtual ::sfx2::SvBaseLink::UpdateResult | DataChanged (const OUString &rMimeType, const css::uno::Any &rValue) override |
virtual void | Edit (weld::Window *pParent, const Link< SvBaseLink &, void > &rEndEditHdl) override |
void | SetDoRefresh (bool b) |
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) |
Private Member Functions | |
ScExternalRefLink ()=delete | |
ScExternalRefLink (const ScExternalRefLink &)=delete | |
Private Attributes | |
sal_uInt16 | mnFileId |
ScDocument & | mrDoc |
bool | mbDoRefresh |
Additional Inherited Members | |
Public Types inherited from sfx2::SvBaseLink | |
enum | UpdateResult |
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 () |
Definition at line 56 of file externalrefmgr.hxx.
ScExternalRefLink::ScExternalRefLink | ( | ScDocument & | rDoc, |
sal_uInt16 | nFileId | ||
) |
Definition at line 1447 of file externalrefmgr.cxx.
References ONCALL, and SIMPLE_FILE.
|
overridevirtual |
Definition at line 1455 of file externalrefmgr.cxx.
|
privatedelete |
|
privatedelete |
|
overridevirtual |
Reimplemented from sfx2::SvBaseLink.
Definition at line 1459 of file externalrefmgr.cxx.
References ScExternalRefManager::breakLink(), ScDocument::GetExternalRefManager(), mnFileId, and mrDoc.
|
overridevirtual |
Reimplemented from sfx2::SvBaseLink.
Definition at line 1465 of file externalrefmgr.cxx.
References sfx2::SvBaseLink::ERROR_GENERAL, sfx2::LinkManager::GetDisplayNames(), ScViewData::GetDocShell(), ScExternalRefManager::getExternalFileName(), ScDocument::GetExternalRefManager(), ScDocShell::GetViewData(), ScExternalRefManager::isFileLoadable(), mbDoRefresh, mnFileId, mrDoc, ScExternalRefManager::refreshSrcDocument(), ScDocShellModificator::SetDocumentModified(), sfx2::SvBaseLink::SUCCESS, and ScExternalRefManager::switchSrcFile().
|
overridevirtual |
Definition at line 1503 of file externalrefmgr.cxx.
void ScExternalRefLink::SetDoRefresh | ( | bool | b | ) |
Definition at line 1508 of file externalrefmgr.cxx.
References mbDoRefresh.
|
private |
Definition at line 75 of file externalrefmgr.hxx.
Referenced by DataChanged(), and SetDoRefresh().
|
private |
Definition at line 73 of file externalrefmgr.hxx.
Referenced by Closed(), and DataChanged().
|
private |
Definition at line 74 of file externalrefmgr.hxx.
Referenced by Closed(), and DataChanged().