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 OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () 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::Buttonm_xBrowseFile
 
std::unique_ptr< weld::Entrym_xName
 
std::unique_ptr< weld::Buttonm_xOK
 
std::unique_ptr< weld::Labelm_xAltTitle
 
std::unique_ptr< SvtURLBoxm_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 29 of file doclinkdialog.hxx.

Constructor & Destructor Documentation

◆ ODocumentLinkDialog()

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

◆ ~ODocumentLinkDialog()

svx::ODocumentLinkDialog::~ODocumentLinkDialog ( )
overridevirtual

Definition at line 64 of file doclinkdialog.cxx.

Member Function Documentation

◆ DECL_LINK() [1/4]

svx::ODocumentLinkDialog::DECL_LINK ( OnBrowseFile  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

svx::ODocumentLinkDialog::DECL_LINK ( OnComboBoxModified  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/4]

svx::ODocumentLinkDialog::DECL_LINK ( OnEntryModified  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [4/4]

svx::ODocumentLinkDialog::DECL_LINK ( OnOk  ,
weld::Button ,
void   
)
private

◆ getLink()

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().

◆ setLink()

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().

◆ setNameValidator()

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

Definition at line 46 of file doclinkdialog.hxx.

References m_aNameValidator.

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

◆ validate()

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

◆ m_aNameValidator

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

Definition at line 31 of file doclinkdialog.hxx.

Referenced by setNameValidator().

◆ m_xAltTitle

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

Definition at line 36 of file doclinkdialog.hxx.

Referenced by ODocumentLinkDialog().

◆ m_xBrowseFile

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

Definition at line 33 of file doclinkdialog.hxx.

Referenced by ODocumentLinkDialog().

◆ m_xName

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

Definition at line 34 of file doclinkdialog.hxx.

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

◆ m_xOK

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

Definition at line 35 of file doclinkdialog.hxx.

Referenced by ODocumentLinkDialog(), and validate().

◆ m_xURL

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

Definition at line 37 of file doclinkdialog.hxx.

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


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