LibreOffice Module sw (master)
1
|
#include <addresslistdialog.hxx>
Public Member Functions | |
SwAddressListDialog (SwMailMergeAddressBlockPage *pParent) | |
virtual | ~SwAddressListDialog () override |
css::uno::Reference< css::sdbc::XDataSource > | GetSource () const |
SharedConnection | GetConnection () const |
css::uno::Reference< css::sdbcx::XColumnsSupplier > | GetColumnsSupplier () const |
const SwDBData & | GetDBData () const |
OUString | GetFilter () const |
![]() | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog () |
Private Member Functions | |
void | DetectTablesAndQueries (int Select, bool bWidthDialog) |
DECL_LINK (FilterHdl_Impl, weld::Button &, void) | |
DECL_LINK (LoadHdl_Impl, weld::Button &, void) | |
DECL_LINK (CreateHdl_Impl, weld::Button &, void) | |
DECL_LINK (RemoveHdl_Impl, weld::Button &, void) | |
DECL_LINK (ListBoxSelectHdl_Impl, weld::TreeView &, void) | |
DECL_LINK (EditHdl_Impl, weld::Button &, void) | |
DECL_LINK (TableSelectHdl_Impl, weld::Button &, void) | |
void | TableSelectHdl (const weld::Button *pButton) |
DECL_LINK (OKHdl_Impl, weld::Button &, void) | |
DECL_LINK (StaticListBoxSelectHdl_Impl, void *, void) | |
Private Attributes | |
OUString | m_sConnecting |
bool | m_bInSelectHdl |
SwMailMergeAddressBlockPage * | m_pAddressPage |
css::uno::Reference< css::sdb::XDatabaseContext > | m_xDBContext |
SwDBData | m_aDBData |
std::vector< std::unique_ptr< AddressUserData_Impl > > | m_aUserData |
std::unique_ptr< weld::Label > | m_xDescriptionFI |
std::unique_ptr< weld::Label > | m_xConnecting |
std::unique_ptr< weld::TreeView > | m_xListLB |
std::unique_ptr< weld::Button > | m_xLoadListPB |
std::unique_ptr< weld::Button > | m_xRemovePB |
std::unique_ptr< weld::Button > | m_xCreateListPB |
std::unique_ptr< weld::Button > | m_xFilterPB |
std::unique_ptr< weld::Button > | m_xEditPB |
std::unique_ptr< weld::Button > | m_xTablePB |
std::unique_ptr< weld::Button > | m_xOK |
std::unique_ptr< weld::TreeIter > | m_xIter |
Definition at line 44 of file addresslistdialog.hxx.
SwAddressListDialog::SwAddressListDialog | ( | SwMailMergeAddressBlockPage * | pParent | ) |
Definition at line 118 of file addresslistdialog.cxx.
References SwDBConfig::GetBibliographySource(), SwMailMergeConfigItem::GetColumnsSupplier(), SwMailMergeWizard::GetConfigItem(), SwMailMergeConfigItem::GetConnection(), SwMailMergeConfigItem::GetCurrentDBData(), SwMailMergeConfigItem::GetFilter(), comphelper::getProcessComponentContext(), SwMailMergeConfigItem::GetResultSet(), SwMailMergeConfigItem::GetSource(), SwMailMergeAddressBlockPage::GetWizard(), lcl_getFlatURL(), LINK, m_aDBData, m_aUserData, m_pAddressPage, m_sConnecting, m_xConnecting, m_xCreateListPB, m_xDBContext, m_xDescriptionFI, m_xEditPB, m_xFilterPB, m_xIter, m_xListLB, m_xLoadListPB, m_xOK, m_xRemovePB, m_xTablePB, SwDBData::nCommandType, AddressUserData_Impl::nCommandType, SwDBData::sCommand, SwDBData::sDataSource, AddressUserData_Impl::sFilter, AddressUserData_Impl::sURL, TableSelectHdl(), SWUnoHelper::UCB_IsFile(), SWUnoHelper::UCB_IsReadOnlyFileName(), AddressUserData_Impl::xColumnsSupplier, AddressUserData_Impl::xConnection, AddressUserData_Impl::xResultSet, and AddressUserData_Impl::xSource.
|
overridevirtual |
Definition at line 221 of file addresslistdialog.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 470 of file addresslistdialog.cxx.
References Exception, SwDBManager::GetColumnSupplier(), comphelper::getProcessComponentContext(), utl::SharedUNOComponent< INTERFACE, COMPONENT >::is(), lcl_getFlatURL(), m_aDBData, m_xDBContext, m_xDialog, m_xFilterPB, m_xListLB, m_xOK, m_xTablePB, SwDBData::nCommandType, AddressUserData_Impl::nCommandType, AddressUserData_Impl::nTableAndQueryCount, QUERY, RET_OK, SwDBData::sCommand, SwDBData::sDataSource, AddressUserData_Impl::sURL, TABLE, TOOLS_WARN_EXCEPTION, AddressUserData_Impl::xColumnsSupplier, AddressUserData_Impl::xConnection, and AddressUserData_Impl::xSource.
Referenced by TableSelectHdl().
uno::Reference< XColumnsSupplier > SwAddressListDialog::GetColumnsSupplier | ( | ) | const |
Definition at line 618 of file addresslistdialog.cxx.
References m_xListLB, and AddressUserData_Impl::xColumnsSupplier.
Referenced by IMPL_LINK_NOARG().
SharedConnection SwAddressListDialog::GetConnection | ( | ) | const |
Definition at line 606 of file addresslistdialog.cxx.
References m_xListLB, and AddressUserData_Impl::xConnection.
Referenced by IMPL_LINK_NOARG().
|
inline |
Definition at line 96 of file addresslistdialog.hxx.
References m_aDBData.
Referenced by IMPL_LINK_NOARG().
OUString SwAddressListDialog::GetFilter | ( | ) | const |
Definition at line 630 of file addresslistdialog.cxx.
References m_xListLB, and AddressUserData_Impl::sFilter.
Referenced by IMPL_LINK_NOARG().
uno::Reference< XDataSource > SwAddressListDialog::GetSource | ( | ) | const |
Definition at line 593 of file addresslistdialog.cxx.
References m_xListLB, and AddressUserData_Impl::xSource.
Referenced by IMPL_LINK_NOARG().
|
private |
Definition at line 570 of file addresslistdialog.cxx.
References DetectTablesAndQueries(), m_xDialog, m_xListLB, and AddressUserData_Impl::nTableAndQueryCount.
Referenced by SwAddressListDialog().
|
private |
Definition at line 54 of file addresslistdialog.hxx.
Referenced by DetectTablesAndQueries(), GetDBData(), and SwAddressListDialog().
|
private |
Definition at line 56 of file addresslistdialog.hxx.
Referenced by SwAddressListDialog().
|
private |
Definition at line 48 of file addresslistdialog.hxx.
|
private |
Definition at line 50 of file addresslistdialog.hxx.
Referenced by SwAddressListDialog().
|
private |
Definition at line 46 of file addresslistdialog.hxx.
Referenced by SwAddressListDialog().
|
private |
Definition at line 59 of file addresslistdialog.hxx.
Referenced by SwAddressListDialog().
|
private |
Definition at line 63 of file addresslistdialog.hxx.
Referenced by SwAddressListDialog().
|
private |
Definition at line 52 of file addresslistdialog.hxx.
Referenced by DetectTablesAndQueries(), and SwAddressListDialog().
|
private |
Definition at line 58 of file addresslistdialog.hxx.
Referenced by SwAddressListDialog().
|
private |
Definition at line 65 of file addresslistdialog.hxx.
Referenced by SwAddressListDialog().
|
private |
Definition at line 64 of file addresslistdialog.hxx.
Referenced by DetectTablesAndQueries(), and SwAddressListDialog().
|
private |
Definition at line 68 of file addresslistdialog.hxx.
Referenced by SwAddressListDialog().
|
private |
Definition at line 60 of file addresslistdialog.hxx.
Referenced by DetectTablesAndQueries(), GetColumnsSupplier(), GetConnection(), GetFilter(), GetSource(), SwAddressListDialog(), and TableSelectHdl().
|
private |
Definition at line 61 of file addresslistdialog.hxx.
Referenced by SwAddressListDialog().
|
private |
Definition at line 67 of file addresslistdialog.hxx.
Referenced by DetectTablesAndQueries(), and SwAddressListDialog().
|
private |
Definition at line 62 of file addresslistdialog.hxx.
Referenced by SwAddressListDialog().
|
private |
Definition at line 66 of file addresslistdialog.hxx.
Referenced by DetectTablesAndQueries(), and SwAddressListDialog().