LibreOffice Module cui (master) 1
|
dialog for editing document links associated with data sources More...
#include <doclinkdialog.hxx>
Public Member Functions | |
ODocumentLinkDialog (weld::Window *pParent, bool bCreateNew) | |
virtual | ~ODocumentLinkDialog () override |
void | setNameValidator (const Link< const OUString &, bool > &_rValidator) |
void | setLink (const OUString &_rName, const OUString &_rURL) |
void | getLink (OUString &_rName, OUString &_rURL) const |
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 (OnEntryModified, weld::Entry &, void) | |
DECL_LINK (OnComboBoxModified, weld::ComboBox &, void) | |
DECL_LINK (OnBrowseFile, weld::Button &, void) | |
DECL_LINK (OnOk, weld::Button &, void) | |
void | validate () |
Private Attributes | |
Link< const OUString &, bool > | m_aNameValidator |
std::unique_ptr< weld::Button > | m_xBrowseFile |
std::unique_ptr< weld::Entry > | m_xName |
std::unique_ptr< weld::Button > | m_xOK |
std::unique_ptr< weld::Label > | m_xAltTitle |
std::unique_ptr< SvtURLBox > | m_xURL |
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 |
dialog for editing document links associated with data sources
Definition at line 29 of file doclinkdialog.hxx.
svx::ODocumentLinkDialog::ODocumentLinkDialog | ( | weld::Window * | pParent, |
bool | bCreateNew | ||
) |
Definition at line 41 of file doclinkdialog.cxx.
References LINK, m_xAltTitle, m_xBrowseFile, weld::GenericDialogController::m_xDialog, m_xName, m_xOK, m_xURL, u, and validate().
|
overridevirtual |
Definition at line 64 of file doclinkdialog.cxx.
|
private |
|
private |
|
private |
|
private |
void svx::ODocumentLinkDialog::getLink | ( | OUString & | _rName, |
OUString & | _rURL | ||
) | const |
Definition at line 75 of file doclinkdialog.cxx.
References m_xName, and m_xURL.
Referenced by svx::DbRegistrationOptionsPage::openLinkDialog().
void svx::ODocumentLinkDialog::setLink | ( | const OUString & | _rName, |
const OUString & | _rURL | ||
) |
Definition at line 68 of file doclinkdialog.cxx.
References m_xName, m_xURL, and validate().
Referenced by svx::DbRegistrationOptionsPage::openLinkDialog().
|
inline |
Definition at line 46 of file doclinkdialog.hxx.
References m_aNameValidator.
Referenced by svx::DbRegistrationOptionsPage::openLinkDialog().
|
private |
Definition at line 81 of file doclinkdialog.cxx.
References m_xName, m_xOK, and m_xURL.
Referenced by ODocumentLinkDialog(), and setLink().
|
private |
Definition at line 31 of file doclinkdialog.hxx.
Referenced by setNameValidator().
|
private |
Definition at line 36 of file doclinkdialog.hxx.
Referenced by ODocumentLinkDialog().
|
private |
Definition at line 33 of file doclinkdialog.hxx.
Referenced by ODocumentLinkDialog().
|
private |
Definition at line 34 of file doclinkdialog.hxx.
Referenced by getLink(), ODocumentLinkDialog(), setLink(), and validate().
|
private |
Definition at line 35 of file doclinkdialog.hxx.
Referenced by ODocumentLinkDialog(), and validate().
|
private |
Definition at line 37 of file doclinkdialog.hxx.
Referenced by getLink(), ODocumentLinkDialog(), setLink(), and validate().