LibreOffice Module extensions (master) 1
|
Public Types | |
enum | LinkParticipant { eDetailField , eMasterField } |
Public Member Functions | |
FieldLinkRow (std::unique_ptr< weld::ComboBox > xDetailColumn, std::unique_ptr< weld::ComboBox > xMasterColumn) | |
void | SetLinkChangeHandler (const Link< FieldLinkRow &, void > &_rHdl) |
bool | GetFieldName (LinkParticipant _eWhich, OUString &_rName) const |
retrieves the selected field name for either the master or the detail field More... | |
void | SetFieldName (LinkParticipant _eWhich, const OUString &_rName) |
void | fillList (LinkParticipant _eWhich, const Sequence< OUString > &_rFieldNames) |
void | Show () |
Private Member Functions | |
DECL_LINK (OnFieldNameChanged, weld::ComboBox &, void) | |
Private Attributes | |
std::unique_ptr< weld::ComboBox > | m_xDetailColumn |
std::unique_ptr< weld::ComboBox > | m_xMasterColumn |
Link< FieldLinkRow &, void > | m_aLinkChangeHandler |
Definition at line 59 of file formlinkdialog.cxx.
Enumerator | |
---|---|
eDetailField | |
eMasterField |
Definition at line 74 of file formlinkdialog.cxx.
pcr::FieldLinkRow::FieldLinkRow | ( | std::unique_ptr< weld::ComboBox > | xDetailColumn, |
std::unique_ptr< weld::ComboBox > | xMasterColumn | ||
) |
Definition at line 98 of file formlinkdialog.cxx.
References LINK, m_xDetailColumn, and m_xMasterColumn.
|
private |
void pcr::FieldLinkRow::fillList | ( | LinkParticipant | _eWhich, |
const Sequence< OUString > & | _rFieldNames | ||
) |
Definition at line 107 of file formlinkdialog.cxx.
References weld::ComboBox::append_text(), eDetailField, m_xDetailColumn, and m_xMasterColumn.
bool pcr::FieldLinkRow::GetFieldName | ( | LinkParticipant | _eWhich, |
OUString & | _rName | ||
) | const |
retrieves the selected field name for either the master or the detail field
Definition at line 117 of file formlinkdialog.cxx.
References eDetailField, weld::ComboBox::get_active_text(), m_xDetailColumn, and m_xMasterColumn.
Referenced by pcr::FormLinkDialog::updateOkButton().
void pcr::FieldLinkRow::SetFieldName | ( | LinkParticipant | _eWhich, |
const OUString & | _rName | ||
) |
Definition at line 124 of file formlinkdialog.cxx.
References eDetailField, m_xDetailColumn, m_xMasterColumn, and weld::ComboBox::set_entry_text().
Referenced by pcr::FormLinkDialog::initializeFieldRowsFrom().
|
inline |
Definition at line 72 of file formlinkdialog.cxx.
References m_aLinkChangeHandler.
|
inline |
Definition at line 87 of file formlinkdialog.cxx.
References m_xDetailColumn, and m_xMasterColumn.
|
private |
Definition at line 65 of file formlinkdialog.cxx.
Referenced by SetLinkChangeHandler().
|
private |
Definition at line 62 of file formlinkdialog.cxx.
Referenced by FieldLinkRow(), fillList(), GetFieldName(), SetFieldName(), and Show().
|
private |
Definition at line 63 of file formlinkdialog.cxx.
Referenced by FieldLinkRow(), fillList(), GetFieldName(), SetFieldName(), and Show().