LibreOffice Module cui (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svx::ODocumentLinkDialog Class Referencefinal

dialog for editing document links associated with data sources More...

#include <doclinkdialog.hxx>

Inheritance diagram for svx::ODocumentLinkDialog:
[legend]
Collaboration diagram for svx::ODocumentLinkDialog:
[legend]

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 OString &rDialogId)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString 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::Buttonm_xBrowseFile
 
std::unique_ptr< weld::Entrym_xName
 
std::unique_ptr< weld::Buttonm_xOK
 
std::unique_ptr< weld::Labelm_xAltTitle
 
std::unique_ptr< URLBoxm_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::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

dialog for editing document links associated with data sources

Definition at line 31 of file doclinkdialog.hxx.

Constructor & Destructor Documentation

svx::ODocumentLinkDialog::ODocumentLinkDialog ( weld::Window pParent,
bool  bCreateNew 
)
svx::ODocumentLinkDialog::~ODocumentLinkDialog ( )
overridevirtual

Definition at line 64 of file doclinkdialog.cxx.

Member Function Documentation

svx::ODocumentLinkDialog::DECL_LINK ( OnEntryModified  ,
weld::Entry ,
void   
)
private
svx::ODocumentLinkDialog::DECL_LINK ( OnComboBoxModified  ,
weld::ComboBox ,
void   
)
private
svx::ODocumentLinkDialog::DECL_LINK ( OnBrowseFile  ,
weld::Button ,
void   
)
private
svx::ODocumentLinkDialog::DECL_LINK ( OnOk  ,
weld::Button ,
void   
)
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().

void svx::ODocumentLinkDialog::setNameValidator ( const Link< const OUString &, bool > &  _rValidator)
inline

Definition at line 48 of file doclinkdialog.hxx.

Referenced by svx::DbRegistrationOptionsPage::openLinkDialog().

void svx::ODocumentLinkDialog::validate ( )
private

Definition at line 81 of file doclinkdialog.cxx.

References m_xName, m_xOK, and m_xURL.

Referenced by ODocumentLinkDialog(), and setLink().

Member Data Documentation

Link<const OUString&,bool> svx::ODocumentLinkDialog::m_aNameValidator
private

Definition at line 33 of file doclinkdialog.hxx.

std::unique_ptr<weld::Label> svx::ODocumentLinkDialog::m_xAltTitle
private

Definition at line 38 of file doclinkdialog.hxx.

Referenced by ODocumentLinkDialog().

std::unique_ptr<weld::Button> svx::ODocumentLinkDialog::m_xBrowseFile
private

Definition at line 35 of file doclinkdialog.hxx.

Referenced by ODocumentLinkDialog().

std::unique_ptr<weld::Entry> svx::ODocumentLinkDialog::m_xName
private

Definition at line 36 of file doclinkdialog.hxx.

Referenced by getLink(), ODocumentLinkDialog(), setLink(), and validate().

std::unique_ptr<weld::Button> svx::ODocumentLinkDialog::m_xOK
private

Definition at line 37 of file doclinkdialog.hxx.

Referenced by ODocumentLinkDialog(), and validate().

std::unique_ptr<URLBox> svx::ODocumentLinkDialog::m_xURL
private

Definition at line 39 of file doclinkdialog.hxx.

Referenced by getLink(), ODocumentLinkDialog(), setLink(), and validate().


The documentation for this class was generated from the following files: