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 <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 <tools/diagnose_ex.h>
#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 447 of file mmaddressblockpage.cxx.
Referenced by SwCustomizeAddressBlockDialog::GetSelectedItem_Impl(), and IMPL_LINK_NOARG().
#define USER_DATA_PUNCTUATION -2 |
Definition at line 445 of file mmaddressblockpage.cxx.
Referenced by SwCustomizeAddressBlockDialog::GetAddress(), IMPL_LINK_NOARG(), and SwCustomizeAddressBlockDialog::SwCustomizeAddressBlockDialog().
#define USER_DATA_SALUTATION -1 |
Definition at line 444 of file mmaddressblockpage.cxx.
Referenced by SwCustomizeAddressBlockDialog::GetAddress(), IMPL_LINK_NOARG(), and SwCustomizeAddressBlockDialog::SwCustomizeAddressBlockDialog().
#define USER_DATA_TEXT -3 |
Definition at line 446 of file mmaddressblockpage.cxx.
Referenced by SwCustomizeAddressBlockDialog::GetAddress(), IMPL_LINK_NOARG(), and SwCustomizeAddressBlockDialog::SwCustomizeAddressBlockDialog().
IMPL_LINK | ( | SwMailMergeAddressBlockPage | , |
AddressBlockHdl_Impl | , | ||
weld::ToggleButton & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 234 of file mmaddressblockpage.cxx.
References MM_GREETINGSPAGE, and SwMailMergeConfigItem::SetAddressBlock().
IMPL_LINK | ( | SwMailMergeAddressBlockPage | , |
HideParagraphsHdl_Impl | , | ||
weld::ToggleButton & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 255 of file mmaddressblockpage.cxx.
References SwMailMergeConfigItem::SetHideEmptyParagraphs().
IMPL_LINK | ( | SwMailMergeAddressBlockPage | , |
InsertDataHdl_Impl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 310 of file mmaddressblockpage.cxx.
IMPL_LINK | ( | SwSelectAddressBlockDialog | , |
DeleteHdl_Impl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 395 of file mmaddressblockpage.cxx.
References comphelper::removeElementAt().
IMPL_LINK | ( | SwSelectAddressBlockDialog | , |
NewCustomizeHdl_Impl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 407 of file mmaddressblockpage.cxx.
References SwCustomizeAddressBlockDialog::ADDRESSBLOCK_EDIT, SwCustomizeAddressBlockDialog::ADDRESSBLOCK_NEW, nType, and RET_OK.
IMPL_LINK | ( | SwCustomizeAddressBlockDialog | , |
TextFilterHdl | , | ||
OUString & | , | ||
rTest | , | ||
bool | |||
) |
Definition at line 449 of file mmaddressblockpage.cxx.
IMPL_LINK | ( | SwCustomizeAddressBlockDialog | , |
ListBoxSelectHdl_Impl | , | ||
weld::TreeView & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 562 of file mmaddressblockpage.cxx.
References sw::util::HasItem().
IMPL_LINK | ( | SwCustomizeAddressBlockDialog | , |
ImageButtonHdl_Impl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
IMPL_LINK | ( | SwCustomizeAddressBlockDialog | , |
SelectionChangedHdl_Impl | , | ||
bool | , | ||
bIdle | , | ||
void | |||
) |
Definition at line 688 of file mmaddressblockpage.cxx.
IMPL_LINK | ( | SwAssignFieldsControl | , |
MatchHdl_Impl | , | ||
weld::ComboBox & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 925 of file mmaddressblockpage.cxx.
References SwMailMergeConfigItem::GetResultSet(), SwAssignFieldsDialog::m_rConfigItem, nIndex, sPreview, and xColumn.
IMPL_LINK | ( | SwAssignFieldsControl | , |
GotFocusHdl_Impl | , | ||
weld::Widget & | , | ||
rBox | , | ||
void | |||
) |
Definition at line 957 of file mmaddressblockpage.cxx.
IMPL_LINK_NOARG | ( | SwMailMergeAddressBlockPage | , |
AddressListHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 155 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 | , |
SettingsHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 184 of file mmaddressblockpage.cxx.
References MM_GREETINGSPAGE, RET_OK, and SwMailMergeConfigItem::SetAddressBlocks().
IMPL_LINK_NOARG | ( | SwMailMergeAddressBlockPage | , |
AssignHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 207 of file mmaddressblockpage.cxx.
References SwMailMergeConfigItem::GetAddressBlocks(), MM_GREETINGSPAGE, and RET_OK.
IMPL_LINK_NOARG | ( | SwMailMergeAddressBlockPage | , |
AddressBlockSelectHdl_Impl | , | ||
LinkParamNone * | , | ||
void | |||
) |
Definition at line 243 of file mmaddressblockpage.cxx.
References SwAddressPreview::FillData(), and MM_GREETINGSPAGE.
IMPL_LINK_NOARG | ( | SwSelectAddressBlockDialog | , |
IncludeHdl_Impl | , | ||
weld::ToggleButton & | , | ||
void | |||
) |
Definition at line 439 of file mmaddressblockpage.cxx.
IMPL_LINK_NOARG | ( | SwCustomizeAddressBlockDialog | , |
OKHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 557 of file mmaddressblockpage.cxx.
IMPL_LINK_NOARG | ( | SwCustomizeAddressBlockDialog | , |
EditModifyHdl_Impl | , | ||
AddressMultiLineEdit & | , | ||
void | |||
) |
Definition at line 569 of file mmaddressblockpage.cxx.
References SwAddressPreview::FillData().
IMPL_LINK_NOARG | ( | SwCustomizeAddressBlockDialog | , |
SelectionChangedIdleHdl | , | ||
Timer * | , | ||
void | |||
) |
Definition at line 638 of file mmaddressblockpage.cxx.
References LINK, USER_DATA_NONE, USER_DATA_PUNCTUATION, USER_DATA_SALUTATION, and USER_DATA_TEXT.
IMPL_LINK_NOARG | ( | SwCustomizeAddressBlockDialog | , |
FieldChangeComboBoxHdl_Impl | , | ||
weld::ComboBox & | , | ||
void | |||
) |
Definition at line 699 of file mmaddressblockpage.cxx.
References USER_DATA_PUNCTUATION, USER_DATA_SALUTATION, and USER_DATA_TEXT.
IMPL_LINK_NOARG | ( | SwAssignFieldsDialog | , |
OkHdl_Impl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 1021 of file mmaddressblockpage.cxx.
References SwAssignFieldsDialog::CreateAssignments(), SwMailMergeConfigItem::GetCurrentDBData(), SwAssignFieldsDialog::m_rConfigItem, m_xDialog, RET_OK, and SwMailMergeConfigItem::SetColumnAssignment().
IMPL_LINK_NOARG | ( | SwAssignFieldsDialog | , |
AssignmentModifyHdl_Impl | , | ||
LinkParamNone * | , | ||
void | |||
) |
Definition at line 1029 of file mmaddressblockpage.cxx.
References SwAssignFieldsDialog::CreateAssignments(), SwAddressPreview::FillData(), SwAssignFieldsDialog::m_rConfigItem, SwAssignFieldsDialog::m_rPreviewString, and sPreview.