LibreOffice Module sw (master) 1
|
#include <swtypes.hxx>
#include <comphelper/propertyvalue.hxx>
#include "addresslistdialog.hxx"
#include "selectdbtabledialog.hxx"
#include "createaddresslistdialog.hxx"
#include <mailmergewizard.hxx>
#include <mmconfigitem.hxx>
#include "mmaddressblockpage.hxx"
#include <dbmgr.hxx>
#include <dbconfig.hxx>
#include <unotools/tempfile.hxx>
#include <vcl/svapp.hxx>
#include <tools/urlobj.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/types.hxx>
#include <com/sun/star/sdbc/XCloseable.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/sdb/DatabaseContext.hpp>
#include <com/sun/star/sdb/XCompletedConnection.hpp>
#include <com/sun/star/sdb/CommandType.hpp>
#include <com/sun/star/sdb/FilterDialog.hpp>
#include <com/sun/star/sdb/XDocumentDataSource.hpp>
#include <com/sun/star/sdbc/XRowSet.hpp>
#include <com/sun/star/sdb/XSingleSelectQueryComposer.hpp>
#include <com/sun/star/sdbcx/XTablesSupplier.hpp>
#include <com/sun/star/sdb/XQueriesSupplier.hpp>
#include <com/sun/star/task/InteractionHandler.hpp>
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
#include <com/sun/star/frame/XStorable.hpp>
#include <o3tl/safeint.hxx>
#include <swunohelper.hxx>
#include <unotools/pathoptions.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <svl/urihelper.hxx>
#include <strings.hrc>
#include <view.hxx>
Go to the source code of this file.
Classes | |
struct | AddressUserData_Impl |
Functions | |
static OUString | lcl_getFlatURL (uno::Reference< beans::XPropertySet > const &xSourceProperties) |
IMPL_LINK_NOARG (SwAddressListDialog, FilterHdl_Impl, weld::Button &, void) | |
IMPL_LINK_NOARG (SwAddressListDialog, LoadHdl_Impl, weld::Button &, void) | |
IMPL_LINK_NOARG (SwAddressListDialog, RemoveHdl_Impl, weld::Button &, void) | |
IMPL_LINK_NOARG (SwAddressListDialog, CreateHdl_Impl, weld::Button &, void) | |
IMPL_LINK_NOARG (SwAddressListDialog, EditHdl_Impl, weld::Button &, void) | |
IMPL_LINK_NOARG (SwAddressListDialog, ListBoxSelectHdl_Impl, weld::TreeView &, void) | |
IMPL_LINK (SwAddressListDialog, StaticListBoxSelectHdl_Impl, void *, p, void) | |
IMPL_LINK (SwAddressListDialog, TableSelectHdl_Impl, weld::Button &, rButton, void) | |
IMPL_LINK_NOARG (SwAddressListDialog, OKHdl_Impl, weld::Button &, void) | |
IMPL_LINK | ( | SwAddressListDialog | , |
StaticListBoxSelectHdl_Impl | , | ||
void * | , | ||
p | , | ||
void | |||
) |
Definition at line 429 of file addresslistdialog.cxx.
References m_xDialog, AddressUserData_Impl::nCommandType, AddressUserData_Impl::nTableAndQueryCount, p, AddressUserData_Impl::sURL, SWUnoHelper::UCB_IsFile(), and SWUnoHelper::UCB_IsReadOnlyFileName().
IMPL_LINK | ( | SwAddressListDialog | , |
TableSelectHdl_Impl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 565 of file addresslistdialog.cxx.
IMPL_LINK_NOARG | ( | SwAddressListDialog | , |
CreateHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 327 of file addresslistdialog.cxx.
References Any, aURL, utl::TempFileNamed::EnableKillingFile(), Exception, INetURLObject::GetMainURL(), utl::TempFileNamed::GetURL(), SwCreateAddressListDialog::GetURL(), m_xDialog, comphelper::makePropertyValue(), nIndex, INetURLObject::NONE, INetURLObject::removeFinalSlash(), INetURLObject::removeSegment(), RET_OK, weld::toId(), and u.
IMPL_LINK_NOARG | ( | SwAddressListDialog | , |
EditHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 397 of file addresslistdialog.cxx.
References utl::SharedUNOComponent< class INTERFACE, class COMPONENT >::clear(), SwMailMergeConfigItem::DisposeResultSet(), SwMailMergeConfigItem::GetResultSet(), m_xDialog, AddressUserData_Impl::sURL, AddressUserData_Impl::xColumnsSupplier, AddressUserData_Impl::xConnection, AddressUserData_Impl::xResultSet, and AddressUserData_Impl::xSource.
IMPL_LINK_NOARG | ( | SwAddressListDialog | , |
FilterHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 229 of file addresslistdialog.cxx.
References Any, Exception, comphelper::getComponentContext(), utl::SharedUNOComponent< class INTERFACE, class COMPONENT >::getTyped(), utl::SharedUNOComponent< class INTERFACE, class COMPONENT >::is(), m_xDialog, AddressUserData_Impl::nCommandType, RET_OK, AddressUserData_Impl::sFilter, TOOLS_WARN_EXCEPTION, and AddressUserData_Impl::xConnection.
IMPL_LINK_NOARG | ( | SwAddressListDialog | , |
ListBoxSelectHdl_Impl | , | ||
weld::TreeView & | , | ||
void | |||
) |
Definition at line 422 of file addresslistdialog.cxx.
References LINK, and Application::PostUserEvent().
IMPL_LINK_NOARG | ( | SwAddressListDialog | , |
LoadHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 282 of file addresslistdialog.cxx.
References SwView::GetDocShell(), SwDBManager::LoadAndRegisterDataSource(), m_xDialog, and weld::toId().
IMPL_LINK_NOARG | ( | SwAddressListDialog | , |
OKHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 588 of file addresslistdialog.cxx.
IMPL_LINK_NOARG | ( | SwAddressListDialog | , |
RemoveHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 300 of file addresslistdialog.cxx.
References Application::CreateMessageDialog(), RET_YES, SwDBManager::RevokeDataSource(), and SwResId().
|
static |
Definition at line 85 of file addresslistdialog.cxx.
References URIHelper::SmartRel2Abs().
Referenced by SwAddressListDialog::DetectTablesAndQueries(), and SwAddressListDialog::SwAddressListDialog().