LibreOffice Module sd (master) 1
|
#include <pglink.hxx>
Public Member Functions | |
SdPageLink (SdPage *pPg, const OUString &rFileName, const OUString &rBookmarkName) | |
virtual | ~SdPageLink () override |
virtual void | Closed () override |
virtual ::sfx2::SvBaseLink::UpdateResult | DataChanged (const OUString &rMimeType, const css::uno::Any &rValue) override |
void | Connect () |
![]() | |
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 Attributes | |
SdPage * | pPage |
Additional Inherited Members | |
![]() | |
enum | UpdateResult |
![]() | |
SUCCESS | |
ERROR_GENERAL | |
![]() | |
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 26 of file pglink.hxx.
SdPageLink::SdPageLink | ( | SdPage * | pPg, |
const OUString & | rFileName, | ||
const OUString & | rBookmarkName | ||
) |
Definition at line 32 of file pglink.cxx.
References ONCALL, pPage, SdPage::SetBookmarkName(), SdPage::SetFileName(), and SIMPLE_FILE.
|
overridevirtual |
Definition at line 47 of file pglink.cxx.
|
overridevirtual |
Reimplemented from sfx2::SvBaseLink.
Definition at line 119 of file pglink.cxx.
References pPage, SdPage::SetBookmarkName(), and SdPage::SetFileName().
|
inline |
Definition at line 37 of file pglink.hxx.
Referenced by SdPage::ConnectLink().
|
overridevirtual |
Reimplemented from sfx2::SvBaseLink.
Definition at line 57 of file pglink.cxx.
References SdDrawDocument::CloseBookmarkDoc(), sfx2::LinkManager::GetDisplayNames(), SdrModel::GetLinkManager(), SdPage::GetName(), SdrPage::GetPageNum(), SdDrawDocument::GetSdPage(), SdrPage::getSdrModelFromSdrPage(), SdDrawDocument::InsertBookmarkAsPage(), SdDrawDocument::OpenBookmarkDoc(), pPage, SdDrawDocument::s_pDocLockedInsertingLinks, SdPage::SetBookmarkName(), SdPage::SetFileName(), Standard, and sfx2::SvBaseLink::SUCCESS.
|
private |
Definition at line 28 of file pglink.hxx.
Referenced by Closed(), DataChanged(), and SdPageLink().