LibreOffice Module cui (master) 1
|
#include <hldocntp.hxx>
Public Member Functions | |
SvxHyperlinkNewDocTp (weld::Container *pParent, SvxHpLinkDlg *pDlg, const SfxItemSet *pItemSet) | |
virtual | ~SvxHyperlinkNewDocTp () override |
virtual void | DoApply () override |
virtual void | SetInitFocus () override |
Public Member Functions inherited from SvxHyperlinkTabPageBase | |
SvxHyperlinkTabPageBase (weld::Container *pParent, SvxHpLinkDlg *pDlg, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *pItemSet) | |
virtual | ~SvxHyperlinkTabPageBase () override |
void | SetDocumentFrame (const css::uno::Reference< css::frame::XFrame > &rxDocumentFrame) |
virtual void | DoApply () |
virtual void | SetInitFocus () |
virtual void | SetMarkStr (const OUString &aStrMark) |
virtual void | Reset (const SfxItemSet &) override |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | ActivatePage (const SfxItemSet &rItemSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
bool | IsMarkWndVisible () const |
void | MoveToExtraWnd (Point aNewPos) |
virtual bool | QueryClose () override |
Public Member Functions inherited from IconChoicePage | |
virtual | ~IconChoicePage () |
OUString | GetHelpId () const |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *)=0 |
virtual void | Reset (const SfxItemSet &)=0 |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
virtual bool | QueryClose () |
Static Public Member Functions | |
static std::unique_ptr< IconChoicePage > | Create (weld::Container *pWindow, SvxHpLinkDlg *pDlg, const SfxItemSet *pItemSet) |
Protected Member Functions | |
void | FillDlgFields (const OUString &rStrURL) override |
void | GetCurrentItemData (OUString &rStrURL, OUString &aStrName, OUString &aStrIntName, OUString &aStrFrame, SvxLinkInsertMode &eMode) override |
Protected Member Functions inherited from SvxHyperlinkTabPageBase | |
void | InitStdControls () |
void | FillStandardDlgFields (const SvxHyperlinkItem *pHyperlinkItem) |
virtual void | FillDlgFields (const OUString &rStrURL)=0 |
virtual void | GetCurrentItemData (OUString &rStrURL, OUString &aStrName, OUString &aStrIntName, OUString &aStrFrame, SvxLinkInsertMode &eMode)=0 |
void | GetDataFromCommonFields (OUString &aStrName, OUString &aStrIntName, OUString &aStrFrame, SvxLinkInsertMode &eMode) |
DECL_LINK (ClickScriptHdl_Impl, weld::Button &, void) | |
Button : Script. More... | |
void | DisableClose (bool _bDisable) |
virtual bool | ShouldOpenMarkWnd () |
virtual void | SetMarkWndShouldOpen (bool bOpen) |
void | ShowMarkWnd () |
void | HideMarkWnd () |
SfxDispatcher * | GetDispatcher () const |
HyperDialogEvent | GetMacroEvents () const |
SvxMacroTableDtor * | GetMacroTable () |
Protected Member Functions inherited from IconChoicePage | |
IconChoicePage (weld::Container *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *pItemSet) | |
Private Member Functions | |
bool | ImplGetURLObject (const OUString &rPath, std::u16string_view rBase, INetURLObject &aURLObject) const |
void | FillDocumentList () |
DECL_LINK (ClickNewHdl_Impl, weld::Button &, void) | |
DECL_STATIC_LINK (SvxHyperlinkNewDocTp, DispatchDocument, void *, void) | |
Private Attributes | |
std::unique_ptr< weld::RadioButton > | m_xRbtEditNow |
std::unique_ptr< weld::RadioButton > | m_xRbtEditLater |
std::unique_ptr< SvxHyperURLBox > | m_xCbbPath |
std::unique_ptr< weld::Button > | m_xBtCreate |
std::unique_ptr< weld::TreeView > | m_xLbDocTypes |
Additional Inherited Members | |
Static Protected Member Functions inherited from SvxHyperlinkTabPageBase | |
static OUString | GetSchemeFromURL (const OUString &rStrURL) |
Protected Attributes inherited from SvxHyperlinkTabPageBase | |
SvxHpLinkDlg * | mpDialog |
bool | mbStdControlsInit |
OUString | maStrInitURL |
Timer | maTimer |
TopLevelWindowLocker | maBusy |
std::shared_ptr< SvxHlinkDlgMarkWnd > | mxMarkWnd |
Protected Attributes inherited from IconChoicePage | |
std::unique_ptr< weld::Builder > | xBuilder |
std::unique_ptr< weld::Container > | xContainer |
Definition at line 28 of file hldocntp.hxx.
SvxHyperlinkNewDocTp::SvxHyperlinkNewDocTp | ( | weld::Container * | pParent, |
SvxHpLinkDlg * | pDlg, | ||
const SfxItemSet * | pItemSet | ||
) |
Definition at line 109 of file hldocntp.cxx.
References FillDocumentList(), SvxHyperlinkTabPageBase::InitStdControls(), LINK, m_xBtCreate, m_xCbbPath, m_xLbDocTypes, m_xRbtEditNow, and IconChoicePage::SetExchangeSupport().
|
overridevirtual |
Definition at line 135 of file hldocntp.cxx.
References m_xLbDocTypes, and n.
|
static |
Definition at line 223 of file hldocntp.cxx.
Referenced by SvxHpLinkDlg::SvxHpLinkDlg().
|
private |
|
private |
|
overridevirtual |
Reimplemented from SvxHyperlinkTabPageBase.
Definition at line 319 of file hldocntp.cxx.
References aURL, Application::CreateMessageDialog(), utl::UcbStreamHelper::CreateStream(), CuiResId(), ERRCODE_NONE, SvxHyperlinkTabPageBase::GetDispatcher(), SfxDispatcher::GetFrame(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), ImplGetURLObject(), LINK, m_xCbbPath, m_xLbDocTypes, m_xRbtEditLater, m_xRbtEditNow, SvxHyperlinkTabPageBase::maStrInitURL, SvxHyperlinkTabPageBase::mpDialog, INetURLObject::NONE, nPos, Application::PostUserEvent(), and RET_YES.
|
overrideprotectedvirtual |
Implements SvxHyperlinkTabPageBase.
Definition at line 152 of file hldocntp.cxx.
|
private |
Definition at line 156 of file hldocntp.cxx.
References SfxFilter::GetDefaultFilterFromFactory(), SvtDynamicMenuOptions::GetMenu(), m_xLbDocTypes, SvxHyperlinkTabPageBase::mpDialog, sId, and weld::toId().
Referenced by SvxHyperlinkNewDocTp().
|
overrideprotectedvirtual |
Implements SvxHyperlinkTabPageBase.
Definition at line 202 of file hldocntp.cxx.
References aURL, eMode, SvxHyperlinkTabPageBase::GetDataFromCommonFields(), ImplGetURLObject(), m_xCbbPath, and INetURLObject::NONE.
|
private |
Definition at line 70 of file hldocntp.cxx.
References INetURLObject::All, base, INetURLObject::getName(), INetURLObject::GetProtocol(), INetURLObject::LAST_SEGMENT, m_xLbDocTypes, nPos, INetURLObject::SetExtension(), and INetURLObject::SetURL().
Referenced by DoApply(), and GetCurrentItemData().
|
overridevirtual |
Reimplemented from SvxHyperlinkTabPageBase.
Definition at line 233 of file hldocntp.cxx.
References m_xCbbPath.
|
private |
Definition at line 34 of file hldocntp.hxx.
Referenced by SvxHyperlinkNewDocTp().
|
private |
Definition at line 33 of file hldocntp.hxx.
Referenced by DoApply(), GetCurrentItemData(), SetInitFocus(), and SvxHyperlinkNewDocTp().
|
private |
Definition at line 35 of file hldocntp.hxx.
Referenced by DoApply(), FillDocumentList(), ImplGetURLObject(), SvxHyperlinkNewDocTp(), and ~SvxHyperlinkNewDocTp().
|
private |
Definition at line 32 of file hldocntp.hxx.
Referenced by DoApply().
|
private |
Definition at line 31 of file hldocntp.hxx.
Referenced by DoApply(), and SvxHyperlinkNewDocTp().