LibreOffice Module sw (master) 1
|
#include "mmaddressblockpage.hxx"
#include <mailmergewizard.hxx>
#include <swtypes.hxx>
#include "addresslistdialog.hxx"
#include <editeng/eeitem.hxx>
#include <o3tl/safeint.hxx>
#include <svl/grabbagitem.hxx>
#include <svl/itemset.hxx>
#include <utility>
#include <vcl/commandevent.hxx>
#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <vcl/transfer.hxx>
#include <mmconfigitem.hxx>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/datatransfer/dnd/XDropTarget.hpp>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <com/sun/star/sdb/XColumn.hpp>
#include <comphelper/sequence.hxx>
#include <comphelper/string.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <vector>
#include <strings.hrc>
#include <mmaddressblockpage.hrc>
#include <helpids.h>
Go to the source code of this file.
Classes | |
class | SwAssignFieldsControl |
Macros | |
#define | USER_DATA_SALUTATION -1 |
#define | USER_DATA_PUNCTUATION -2 |
#define | USER_DATA_TEXT -3 |
#define | USER_DATA_NONE -4 |
#define USER_DATA_NONE -4 |
Definition at line 449 of file mmaddressblockpage.cxx.
#define USER_DATA_PUNCTUATION -2 |
Definition at line 447 of file mmaddressblockpage.cxx.
#define USER_DATA_SALUTATION -1 |
Definition at line 446 of file mmaddressblockpage.cxx.
#define USER_DATA_TEXT -3 |
Definition at line 448 of file mmaddressblockpage.cxx.
IMPL_LINK | ( | SwAssignFieldsControl | , |
GotFocusHdl_Impl | , | ||
weld::Widget & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 960 of file mmaddressblockpage.cxx.
IMPL_LINK | ( | SwAssignFieldsControl | , |
MatchHdl_Impl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 928 of file mmaddressblockpage.cxx.
References SwMailMergeConfigItem::GetResultSet(), SwAssignFieldsDialog::m_rConfigItem, nIndex, sPreview, and xColumn.
IMPL_LINK | ( | SwCustomizeAddressBlockDialog | , |
ImageButtonHdl_Impl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
IMPL_LINK | ( | SwCustomizeAddressBlockDialog | , |
ListBoxSelectHdl_Impl | , | ||
weld::TreeView & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 565 of file mmaddressblockpage.cxx.
References sw::util::HasItem().
IMPL_LINK | ( | SwCustomizeAddressBlockDialog | , |
SelectionChangedHdl_Impl | , | ||
bool | , | ||
bIdle | , | ||
void | |||
) |
Definition at line 691 of file mmaddressblockpage.cxx.
IMPL_LINK | ( | SwCustomizeAddressBlockDialog | , |
TextFilterHdl | , | ||
OUString & | , | ||
rTest | , | ||
bool | |||
) |
Definition at line 451 of file mmaddressblockpage.cxx.
IMPL_LINK | ( | SwMailMergeAddressBlockPage | , |
AddressBlockHdl_Impl | , | ||
weld::Toggleable & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 235 of file mmaddressblockpage.cxx.
References MM_GREETINGSPAGE, and SwMailMergeConfigItem::SetAddressBlock().
IMPL_LINK | ( | SwMailMergeAddressBlockPage | , |
HideParagraphsHdl_Impl | , | ||
weld::Toggleable & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 256 of file mmaddressblockpage.cxx.
References SwMailMergeConfigItem::SetHideEmptyParagraphs().
IMPL_LINK | ( | SwMailMergeAddressBlockPage | , |
InsertDataHdl_Impl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 311 of file mmaddressblockpage.cxx.
IMPL_LINK | ( | SwSelectAddressBlockDialog | , |
DeleteHdl_Impl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 397 of file mmaddressblockpage.cxx.
References comphelper::removeElementAt().
IMPL_LINK | ( | SwSelectAddressBlockDialog | , |
NewCustomizeHdl_Impl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 409 of file mmaddressblockpage.cxx.
References SwCustomizeAddressBlockDialog::ADDRESSBLOCK_EDIT, SwCustomizeAddressBlockDialog::ADDRESSBLOCK_NEW, nType, and RET_OK.
IMPL_LINK_NOARG | ( | SwAssignFieldsDialog | , |
AssignmentModifyHdl_Impl | , | ||
LinkParamNone * | , | ||
void | |||
) |
Definition at line 1032 of file mmaddressblockpage.cxx.
References SwAssignFieldsDialog::CreateAssignments(), SwAddressPreview::FillData(), SwAssignFieldsDialog::m_rConfigItem, SwAssignFieldsDialog::m_rPreviewString, SwAssignFieldsDialog::m_xPreview, and sPreview.
IMPL_LINK_NOARG | ( | SwAssignFieldsDialog | , |
OkHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 1024 of file mmaddressblockpage.cxx.
References SwAssignFieldsDialog::CreateAssignments(), SwMailMergeConfigItem::GetCurrentDBData(), SwAssignFieldsDialog::m_rConfigItem, m_xDialog, RET_OK, and SwMailMergeConfigItem::SetColumnAssignment().
IMPL_LINK_NOARG | ( | SwCustomizeAddressBlockDialog | , |
EditModifyHdl_Impl | , | ||
AddressMultiLineEdit & | , | ||
void | |||
) |
Definition at line 572 of file mmaddressblockpage.cxx.
References SwAddressPreview::FillData().
IMPL_LINK_NOARG | ( | SwCustomizeAddressBlockDialog | , |
FieldChangeComboBoxHdl_Impl | , | ||
weld::ComboBox & | , | ||
void | |||
) |
Definition at line 702 of file mmaddressblockpage.cxx.
References USER_DATA_PUNCTUATION, USER_DATA_SALUTATION, and USER_DATA_TEXT.
IMPL_LINK_NOARG | ( | SwCustomizeAddressBlockDialog | , |
OKHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 560 of file mmaddressblockpage.cxx.
IMPL_LINK_NOARG | ( | SwCustomizeAddressBlockDialog | , |
SelectionChangedIdleHdl | , | ||
Timer * | , | ||
void | |||
) |
Definition at line 641 of file mmaddressblockpage.cxx.
References LINK, USER_DATA_NONE, USER_DATA_PUNCTUATION, USER_DATA_SALUTATION, and USER_DATA_TEXT.
IMPL_LINK_NOARG | ( | SwMailMergeAddressBlockPage | , |
AddressBlockSelectHdl_Impl | , | ||
LinkParamNone * | , | ||
void | |||
) |
Definition at line 244 of file mmaddressblockpage.cxx.
References SwAddressPreview::FillData(), and MM_GREETINGSPAGE.
IMPL_LINK_NOARG | ( | SwMailMergeAddressBlockPage | , |
AddressListHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 156 of file mmaddressblockpage.cxx.
References Application::CreateMessageDialog(), SwAddressListDialog::GetColumnsSupplier(), SwAddressListDialog::GetConnection(), SwAddressListDialog::GetDBData(), SwAddressListDialog::GetFilter(), SwAddressListDialog::GetSource(), MM_GREETINGSPAGE, RET_OK, SwMailMergeConfigItem::SetCurrentConnection(), SwMailMergeConfigItem::SetFilter(), and TOOLS_WARN_EXCEPTION.
IMPL_LINK_NOARG | ( | SwMailMergeAddressBlockPage | , |
AssignHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 208 of file mmaddressblockpage.cxx.
References SwMailMergeConfigItem::GetAddressBlocks(), MM_GREETINGSPAGE, and RET_OK.
IMPL_LINK_NOARG | ( | SwMailMergeAddressBlockPage | , |
SettingsHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 185 of file mmaddressblockpage.cxx.
References SwSelectAddressBlockDialog::GetAddressBlocks(), SwMailMergeConfigItem::GetAddressBlocks(), SwSelectAddressBlockDialog::GetCountry(), SwMailMergeConfigItem::GetExcludeCountry(), SwSelectAddressBlockDialog::IsIncludeCountry(), SwMailMergeConfigItem::IsIncludeCountry(), MM_GREETINGSPAGE, RET_OK, SwMailMergeConfigItem::SetAddressBlocks(), SwSelectAddressBlockDialog::SetAddressBlocks(), SwMailMergeConfigItem::SetCountrySettings(), and SwSelectAddressBlockDialog::SetSettings().
IMPL_LINK_NOARG | ( | SwSelectAddressBlockDialog | , |
IncludeHdl_Impl | , | ||
weld::Toggleable & | , | ||
void | |||
) |
Definition at line 441 of file mmaddressblockpage.cxx.