LibreOffice Module cui (master) 1
|
#include <linkdlg.hxx>
Public Member Functions | |
SvBaseLinksDlg (weld::Window *pParent, sfx2::LinkManager *, bool bHtml) | |
virtual | ~SvBaseLinksDlg () override |
void | SetActLink (sfx2::SvBaseLink const *pLink) |
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 |
Private Member Functions | |
DECL_LINK (LinksSelectHdl, weld::TreeView &, void) | |
DECL_LINK (LinksDoubleClickHdl, weld::TreeView &, bool) | |
DECL_LINK (ToggleHdl, weld::Toggleable &, void) | |
DECL_LINK (UpdateNowClickHdl, weld::Button &, void) | |
DECL_LINK (ChangeSourceClickHdl, weld::Button &, void) | |
DECL_LINK (BreakLinkClickHdl, weld::Button &, void) | |
DECL_LINK (UpdateWaitingHdl, Timer *, void) | |
DECL_LINK (EndEditHdl, sfx2::SvBaseLink &, void) | |
void | LinksSelectHdl (weld::TreeView *pTreeView) |
sfx2::SvBaseLink * | GetSelEntry (int *pPos) |
OUString | ImplGetStateStr (const sfx2::SvBaseLink &) |
void | SetType (sfx2::SvBaseLink &rLink, int nPos, SfxLinkUpdateMode nType) |
void | InsertEntry (const sfx2::SvBaseLink &rLink, int nPos=-1, bool bSelect=false) |
void | SetManager (sfx2::LinkManager *) |
Private Attributes | |
OUString | aStrAutolink |
OUString | aStrManuallink |
OUString | aStrBrokenlink |
OUString | aStrCloselinkmsg |
OUString | aStrCloselinkmsgMulti |
OUString | aStrWaitinglink |
sfx2::LinkManager * | pLinkMgr |
Idle | aUpdateIdle |
std::unique_ptr< weld::TreeView > | m_xTbLinks |
std::unique_ptr< weld::LinkButton > | m_xFtFullFileName |
std::unique_ptr< weld::Label > | m_xFtFullSourceName |
std::unique_ptr< weld::Label > | m_xFtFullTypeName |
std::unique_ptr< weld::RadioButton > | m_xRbAutomatic |
std::unique_ptr< weld::RadioButton > | m_xRbManual |
std::unique_ptr< weld::Button > | m_xPbUpdateNow |
std::unique_ptr< weld::Button > | m_xPbChangeSource |
std::unique_ptr< weld::Button > | m_xPbBreakLink |
ScopedVclPtr< VirtualDevice > | m_xVirDev |
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 36 of file linkdlg.hxx.
SvBaseLinksDlg::SvBaseLinksDlg | ( | weld::Window * | pParent, |
sfx2::LinkManager * | pMgr, | ||
bool | bHtml | ||
) |
Definition at line 78 of file linkdlg.cxx.
References aUpdateIdle, Create(), LINK, LinksSelectHdl(), m_xPbBreakLink, m_xPbChangeSource, m_xPbUpdateNow, m_xRbAutomatic, m_xRbManual, m_xTbLinks, m_xVirDev, Timer::SetInvokeHandler(), SetManager(), weld::SetPointFont(), and Task::SetPriority().
|
overridevirtual |
Definition at line 132 of file linkdlg.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 597 of file linkdlg.cxx.
References m_xTbLinks, and nPos.
Referenced by LinksSelectHdl().
|
private |
Definition at line 505 of file linkdlg.cxx.
References aStrAutolink, aStrBrokenlink, aStrManuallink, aStrWaitinglink, aUpdateIdle, sfx2::SvBaseLink::GetObj(), sfx2::SvBaseLink::GetUpdateMode(), sfx2::SvLinkSource::IsPending(), and Idle::Start().
Referenced by InsertEntry(), and SetType().
|
private |
Definition at line 564 of file linkdlg.cxx.
References sfx2::LinkManager::GetDisplayNames(), INetURLObject::getName(), sfx2::SvBaseLink::GetObjType(), ImplGetStateStr(), INetURLObject::LAST_SEGMENT, m_xTbLinks, m_xVirDev, nPos, weld::toId(), and INetURLObject::Unambiguous.
Referenced by SetManager().
|
private |
Definition at line 144 of file linkdlg.cxx.
References weld::TreeView::count_selected_rows(), DBG_ASSERT, INetURLObject::decode(), weld::TreeView::get_id(), weld::TreeView::get_selected_index(), weld::TreeView::get_selected_rows(), sfx2::LinkManager::GetDisplayNames(), sfx2::SvBaseLink::GetObjType(), GetSelEntry(), sfx2::SvBaseLink::GetUpdateMode(), isClientFileType(), m_xFtFullFileName, m_xFtFullSourceName, m_xFtFullTypeName, m_xPbUpdateNow, m_xRbAutomatic, m_xRbManual, nPos, pLink, weld::TreeView::select(), sType, INetURLObject::Unambiguous, weld::TreeView::unselect(), and weld::TreeView::unselect_all().
Referenced by SetActLink(), SetManager(), and SvBaseLinksDlg().
void SvBaseLinksDlg::SetActLink | ( | sfx2::SvBaseLink const * | pLink | ) |
Definition at line 620 of file linkdlg.cxx.
References sfx2::LinkManager::GetLinks(), LinksSelectHdl(), m_xTbLinks, pLink, and pLinkMgr.
|
private |
Definition at line 523 of file linkdlg.cxx.
References sfx2::LinkManager::GetLinks(), InsertEntry(), tools::SvRef< typename T >::is(), LinksSelectHdl(), m_xTbLinks, n, and pLinkMgr.
Referenced by SvBaseLinksDlg().
|
private |
Definition at line 609 of file linkdlg.cxx.
References sfx2::LinkManager::GetPersist(), ImplGetStateStr(), m_xTbLinks, nType, pLinkMgr, SfxObjectShell::SetModified(), sfx2::SvBaseLink::SetUpdateMode(), and sfx2::SvBaseLink::Update().
|
private |
Definition at line 38 of file linkdlg.hxx.
Referenced by ImplGetStateStr().
|
private |
Definition at line 40 of file linkdlg.hxx.
Referenced by ImplGetStateStr().
|
private |
Definition at line 41 of file linkdlg.hxx.
|
private |
Definition at line 42 of file linkdlg.hxx.
|
private |
Definition at line 39 of file linkdlg.hxx.
Referenced by ImplGetStateStr().
|
private |
Definition at line 43 of file linkdlg.hxx.
Referenced by ImplGetStateStr().
|
private |
Definition at line 45 of file linkdlg.hxx.
Referenced by ImplGetStateStr(), and SvBaseLinksDlg().
|
private |
Definition at line 48 of file linkdlg.hxx.
Referenced by LinksSelectHdl().
|
private |
Definition at line 49 of file linkdlg.hxx.
Referenced by LinksSelectHdl().
|
private |
Definition at line 50 of file linkdlg.hxx.
Referenced by LinksSelectHdl().
|
private |
Definition at line 55 of file linkdlg.hxx.
Referenced by SvBaseLinksDlg().
|
private |
Definition at line 54 of file linkdlg.hxx.
Referenced by SvBaseLinksDlg().
|
private |
Definition at line 53 of file linkdlg.hxx.
Referenced by LinksSelectHdl(), and SvBaseLinksDlg().
|
private |
Definition at line 51 of file linkdlg.hxx.
Referenced by LinksSelectHdl(), and SvBaseLinksDlg().
|
private |
Definition at line 52 of file linkdlg.hxx.
Referenced by LinksSelectHdl(), and SvBaseLinksDlg().
|
private |
Definition at line 47 of file linkdlg.hxx.
Referenced by GetSelEntry(), InsertEntry(), SetActLink(), SetManager(), SetType(), and SvBaseLinksDlg().
|
private |
Definition at line 57 of file linkdlg.hxx.
Referenced by InsertEntry(), and SvBaseLinksDlg().
|
private |
Definition at line 44 of file linkdlg.hxx.
Referenced by SetActLink(), SetManager(), and SetType().