LibreOffice Module cui (master) 1
|
#include <hldoctp.hxx>
Public Member Functions | |
SvxHyperlinkDocTp (weld::Container *pParent, SvxHpLinkDlg *pDlg, const SfxItemSet *pItemSet) | |
virtual | ~SvxHyperlinkDocTp () override |
virtual void | SetMarkStr (const OUString &aStrMark) 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) |
Private Types | |
enum class | EPathType { Invalid , ExistsFile } |
Private Member Functions | |
DECL_LINK (ClickFileopenHdl_Impl, weld::Button &, void) | |
DECL_LINK (ClickTargetHdl_Impl, weld::Button &, void) | |
DECL_LINK (ModifiedPathHdl_Impl, weld::ComboBox &, void) | |
Contents of combobox "Path" modified. More... | |
DECL_LINK (ModifiedTargetHdl_Impl, weld::Entry &, void) | |
Contents of editfield "Target" modified. More... | |
DECL_LINK (LostFocusPathHdl_Impl, weld::Widget &, void) | |
Combobox "path" lost its focus. More... | |
DECL_LINK (TimeoutHdl_Impl, Timer *, void) | |
Handler for timer -timeout. More... | |
void | FillDlgFields (const OUString &rStrURL) override |
void | GetCurrentItemData (OUString &rStrURL, OUString &aStrName, OUString &aStrIntName, OUString &aStrFrame, SvxLinkInsertMode &eMode) override |
virtual bool | ShouldOpenMarkWnd () override |
virtual void | SetMarkWndShouldOpen (bool bOpen) override |
OUString | GetCurrentURL () const |
Static Private Member Functions | |
static EPathType | GetPathType (std::u16string_view rStrPath) |
Private Attributes | |
std::unique_ptr< SvxHyperURLBox > | m_xCbbPath |
std::unique_ptr< weld::Button > | m_xBtFileopen |
std::unique_ptr< weld::Entry > | m_xEdTarget |
std::unique_ptr< weld::Label > | m_xFtFullURL |
std::unique_ptr< weld::Button > | m_xBtBrowse |
OUString | maStrURL |
bool | m_bMarkWndOpen |
Additional Inherited Members | |
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) | |
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 hldoctp.hxx.
|
strongprivate |
Enumerator | |
---|---|
Invalid | |
ExistsFile |
Definition at line 51 of file hldoctp.hxx.
SvxHyperlinkDocTp::SvxHyperlinkDocTp | ( | weld::Container * | pParent, |
SvxHpLinkDlg * | pDlg, | ||
const SfxItemSet * | pItemSet | ||
) |
Definition at line 36 of file hldoctp.cxx.
References INET_FILE_SCHEME, SvxHyperlinkTabPageBase::InitStdControls(), LINK, m_xBtBrowse, m_xBtFileopen, m_xCbbPath, m_xEdTarget, SvxHyperlinkTabPageBase::maTimer, IconChoicePage::SetExchangeSupport(), and Timer::SetInvokeHandler().
|
overridevirtual |
Definition at line 65 of file hldoctp.cxx.
|
static |
Definition at line 148 of file hldoctp.cxx.
Referenced by SvxHpLinkDlg::SvxHpLinkDlg().
|
private |
|
private |
|
private |
Combobox "path" lost its focus.
|
private |
Contents of combobox "Path" modified.
|
private |
Contents of editfield "Target" modified.
|
private |
Handler for timer -timeout.
|
overrideprivatevirtual |
Implements SvxHyperlinkTabPageBase.
Definition at line 74 of file hldoctp.cxx.
References m_xCbbPath, m_xEdTarget, nPos, and sHash.
|
overrideprivatevirtual |
Implements SvxHyperlinkTabPageBase.
Definition at line 130 of file hldoctp.cxx.
References eMode, GetCurrentURL(), SvxHyperlinkTabPageBase::GetDataFromCommonFields(), and INET_FILE_SCHEME.
|
private |
Definition at line 94 of file hldoctp.cxx.
References aURL, INetURLObject::decode(), m_xCbbPath, m_xEdTarget, sHash, and INetURLObject::ToIUri.
Referenced by GetCurrentItemData().
|
staticprivate |
Definition at line 307 of file hldoctp.cxx.
References aURL, ExistsFile, and Invalid.
|
overridevirtual |
Reimplemented from SvxHyperlinkTabPageBase.
Definition at line 158 of file hldoctp.cxx.
References m_xCbbPath.
|
overridevirtual |
Reimplemented from SvxHyperlinkTabPageBase.
Definition at line 295 of file hldoctp.cxx.
References m_xEdTarget.
|
inlineoverrideprivatevirtual |
Reimplemented from SvxHyperlinkTabPageBase.
Definition at line 59 of file hldoctp.hxx.
References m_bMarkWndOpen.
|
inlineoverrideprivatevirtual |
Reimplemented from SvxHyperlinkTabPageBase.
Definition at line 58 of file hldoctp.hxx.
References m_bMarkWndOpen.
|
private |
Definition at line 39 of file hldoctp.hxx.
Referenced by SetMarkWndShouldOpen(), and ShouldOpenMarkWnd().
|
private |
Definition at line 35 of file hldoctp.hxx.
Referenced by SvxHyperlinkDocTp().
|
private |
Definition at line 32 of file hldoctp.hxx.
Referenced by SvxHyperlinkDocTp().
|
private |
Definition at line 31 of file hldoctp.hxx.
Referenced by FillDlgFields(), GetCurrentURL(), SetInitFocus(), and SvxHyperlinkDocTp().
|
private |
Definition at line 33 of file hldoctp.hxx.
Referenced by FillDlgFields(), GetCurrentURL(), SetMarkStr(), and SvxHyperlinkDocTp().
|
private |
Definition at line 34 of file hldoctp.hxx.
|
private |
Definition at line 37 of file hldoctp.hxx.