|
LibreOffice Module cui (master) 1
|
#include <hlmarkwn.hxx>
Public Member Functions | |
| SvxHlinkDlgMarkWnd (weld::Window *pParentDialog, SvxHyperlinkTabPageBase *pParentPage) | |
| virtual | ~SvxHlinkDlgMarkWnd () override |
| void | MoveTo (const Point &rNewPos) |
| void | RefreshTree (const OUString &aStrURL) |
| bool | SelectEntry (std::u16string_view aStrMark) |
| sal_uInt16 | SetError (sal_uInt16 nError) |
Public Member Functions inherited from weld::GenericDialogController | |
| GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
| virtual Dialog * | getDialog () override |
| virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
| virtual Dialog * | getDialog ()=0 |
| const Dialog * | getConstDialog () const |
| virtual short | run () |
| void | set_title (const OUString &rTitle) |
| OUString | get_title () const |
| void | set_help_id (const OUString &rHelpId) |
| OUString | get_help_id () const |
| void | response (int nResponse) |
| virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Protected Member Functions | |
| bool | RefreshFromDoc (const OUString &aURL) |
| void | RestoreLastSelection () |
| std::unique_ptr< weld::TreeIter > | FindEntry (std::u16string_view aStrName) |
| void | ClearTree () |
| int | FillTree (const css::uno::Reference< css::container::XNameAccess > &xLinks, const weld::TreeIter *pParentEntry=nullptr) |
| DECL_LINK (ClickApplyHdl_Impl, weld::Button &, void) | |
| DECL_LINK (DoubleClickApplyHdl_Impl, weld::TreeView &, bool) | |
| DECL_LINK (ClickCloseHdl_Impl, weld::Button &, void) | |
Private Member Functions | |
| void | ErrorChanged () |
Private Attributes | |
| SvxHyperlinkTabPageBase * | mpParent |
| sal_uInt16 | mnError |
| std::unique_ptr< weld::Button > | mxBtApply |
| std::unique_ptr< weld::Button > | mxBtClose |
| std::unique_ptr< weld::TreeView > | mxLbTree |
| std::unique_ptr< weld::Label > | mxError |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
| static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Attributes inherited from weld::GenericDialogController | |
| std::unique_ptr< weld::Builder > | m_xBuilder |
| std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 30 of file hlmarkwn.hxx.
| SvxHlinkDlgMarkWnd::SvxHlinkDlgMarkWnd | ( | weld::Window * | pParentDialog, |
| SvxHyperlinkTabPageBase * | pParentPage | ||
| ) |
|
overridevirtual |
Definition at line 84 of file hlmarkwn.cxx.
References ClearTree().
|
protected |
Definition at line 415 of file hlmarkwn.cxx.
References mxLbTree.
Referenced by RefreshTree(), SetError(), and ~SvxHlinkDlgMarkWnd().
|
protected |
|
protected |
|
protected |
|
private |
Definition at line 89 of file hlmarkwn.cxx.
References CuiResId(), LERR_DOCNOTOPEN, LERR_NOENTRIES, mnError, mxError, and mxLbTree.
Referenced by RefreshTree(), and SetError().
|
protected |
Definition at line 286 of file hlmarkwn.cxx.
References FillTree(), VCLUnoHelper::GetBitmap(), Graphic::GetXGraphic(), i, mxLbTree, pData, sId, weld::toId(), u, and xTarget.
Referenced by FillTree(), and RefreshFromDoc().
|
protected |
| void SvxHlinkDlgMarkWnd::MoveTo | ( | const Point & | rNewPos | ) |
Definition at line 127 of file hlmarkwn.cxx.
References weld::GenericDialogController::m_xDialog, Point::X(), and Point::Y().
|
protected |
Definition at line 229 of file hlmarkwn.cxx.
References aURL, FillTree(), LERR_DOCNOTOPEN, LERR_NOENTRIES, LERR_NOERROR, comphelper::makePropertyValue(), and mnError.
Referenced by RefreshTree().
| void SvxHlinkDlgMarkWnd::RefreshTree | ( | const OUString & | aStrURL | ) |
Definition at line 200 of file hlmarkwn.cxx.
References ClearTree(), ErrorChanged(), weld::GenericDialogController::m_xDialog, nPos, RefreshFromDoc(), RestoreLastSelection(), and SelectEntry().
|
protected |
Definition at line 166 of file hlmarkwn.cxx.
References SvtViewOptions::Exists(), SvtViewOptions::GetUserItem(), mxLbTree, SelectEntry(), TG_SETTING_LASTMARK, TG_SETTING_LASTPATH, and TG_SETTING_MANAGER.
Referenced by RefreshTree().
| bool SvxHlinkDlgMarkWnd::SelectEntry | ( | std::u16string_view | aStrMark | ) |
Definition at line 454 of file hlmarkwn.cxx.
References FindEntry(), and mxLbTree.
Referenced by RefreshTree(), and RestoreLastSelection().
| sal_uInt16 SvxHlinkDlgMarkWnd::SetError | ( | sal_uInt16 | nError | ) |
Definition at line 113 of file hlmarkwn.cxx.
References ClearTree(), ErrorChanged(), LERR_NOERROR, and mnError.
|
private |
Definition at line 35 of file hlmarkwn.hxx.
Referenced by ErrorChanged(), RefreshFromDoc(), and SetError().
|
private |
Definition at line 33 of file hlmarkwn.hxx.
|
private |
Definition at line 37 of file hlmarkwn.hxx.
Referenced by SvxHlinkDlgMarkWnd().
|
private |
Definition at line 38 of file hlmarkwn.hxx.
Referenced by SvxHlinkDlgMarkWnd().
|
private |
Definition at line 40 of file hlmarkwn.hxx.
Referenced by ErrorChanged().
|
private |
Definition at line 39 of file hlmarkwn.hxx.
Referenced by ClearTree(), ErrorChanged(), FillTree(), FindEntry(), RestoreLastSelection(), SelectEntry(), and SvxHlinkDlgMarkWnd().