19#ifndef INCLUDED_SW_SOURCE_UI_DBUI_MMADDRESSBLOCKPAGE_HXX
20#define INCLUDED_SW_SOURCE_UI_DBUI_MMADDRESSBLOCKPAGE_HXX
113 sal_uInt16 nSelected);
116 void SetSettings(
bool bIsCountry,
const OUString& sCountry);
144 virtual css::uno::Reference<css::datatransfer::dnd::XDropTarget>
GetDropTarget()
override;
161 void SetText(
const OUString& rStr );
213 std::unique_ptr<weld::Button>
m_xOK;
240 bool HasItem(sal_Int32 nUserData);
260 std::unique_ptr<weld::Button>
m_xOK;
272 bool bIsAddressBlock);
virtual void EditViewSelectionChange() override
Link< bool, void > m_aSelectionLink
void RemoveCurrentEntry()
AddressMultiLineEdit(SwCustomizeAddressBlockDialog *pParent)
bool SetCursorLogicPosition(const Point &rPosition)
MoveItemFlags IsCurrentItemMoveable() const
void SetSelectionChangedHdl(const Link< bool, void > &rLink)
void SetText(const OUString &rStr)
SwCustomizeAddressBlockDialog * m_pParentDialog
void InsertNewEntry(const OUString &rStr)
void MoveCurrentItem(MoveItemFlags nMove)
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
Link< AddressMultiLineEdit &, void > m_aModifyLink
bool HasCurrentItem() const
OUString GetAddress() const
virtual bool Command(const CommandEvent &rCEvt) override
void SetModifyHdl(const Link< AddressMultiLineEdit &, void > &rLink)
void InsertNewEntryAtPosition(const OUString &rStr, sal_uLong nPara, sal_uInt16 nIndex)
OUString GetCurrentItem() const
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
virtual ~AddressMultiLineEdit() override
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget() override
virtual bool KeyInput(const KeyEvent &rKEvt) override
virtual ~SwAssignFieldsDialog() override
std::unique_ptr< weld::CustomWeld > m_xPreviewWin
css::uno::Sequence< OUString > CreateAssignments()
std::unique_ptr< weld::Label > m_xPreviewFI
std::unique_ptr< weld::Label > m_xMatchTitle
DECL_LINK(AssignmentModifyHdl_Impl, LinkParamNone *, void)
std::unique_ptr< weld::Label > m_xAddressTitle
SwAssignFieldsDialog(weld::Window *pParent, SwMailMergeConfigItem &rConfigItem, OUString aPreview, bool bIsAddressBlock)
void ConnectSizeGroups(int nLabelWidth, int nComboBoxWidth, int nPreviewWidth)
SwMailMergeConfigItem & m_rConfigItem
std::unique_ptr< weld::Label > m_xMatchingFI
DECL_LINK(OkHdl_Impl, weld::Button &, void)
std::unique_ptr< SwAddressPreview > m_xPreview
OUString m_rPreviewString
std::unique_ptr< weld::Label > m_xPreviewTitle
std::unique_ptr< SwAssignFieldsControl > m_xFieldsControl
std::unique_ptr< weld::Button > m_xOK
std::unique_ptr< weld::Button > m_xRightIB
std::unique_ptr< weld::CustomWeld > m_xDragWIN
bool HasItem(sal_Int32 nUserData)
std::vector< OUString > m_aSalutations
DECL_LINK(OKHdl_Impl, weld::Button &, void)
std::vector< OUString > m_aPunctuations
std::unique_ptr< weld::Label > m_xFieldFT
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
OUString GetAddress() const
sal_Int32 GetSelectedItem_Impl() const
SwCustomizeAddressBlockDialog(weld::Widget *pParent, SwMailMergeConfigItem &rConfig, DialogType)
DECL_LINK(EditModifyHdl_Impl, AddressMultiLineEdit &, void)
DECL_LINK(TextFilterHdl, OUString &, bool)
std::unique_ptr< weld::Button > m_xRemoveFieldIB
void SetAddress(const OUString &rAddress)
DECL_LINK(ImageButtonHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::TreeView > m_xAddressElementsLB
OUString m_sCurrentPunctuation
void UpdateImageButtons_Impl()
std::unique_ptr< weld::Label > m_xDragFT
OUString m_sCurrentSalutation
std::unique_ptr< weld::Button > m_xOK
std::unique_ptr< weld::Button > m_xInsertFieldIB
DECL_LINK(FieldChangeComboBoxHdl_Impl, weld::ComboBox &, void)
DECL_LINK(SelectionChangedIdleHdl, Timer *, void)
std::unique_ptr< AddressMultiLineEdit > m_xDragED
virtual ~SwCustomizeAddressBlockDialog() override
DECL_LINK(SelectionChangedHdl_Impl, bool, void)
Idle m_aSelectionChangedIdle
std::unique_ptr< weld::Label > m_xAddressElementsFT
std::unique_ptr< weld::Button > m_xUpIB
DECL_LINK(ListBoxSelectHdl_Impl, weld::TreeView &, void)
std::unique_ptr< weld::ComboBox > m_xFieldCB
std::unique_ptr< weld::Button > m_xLeftIB
std::unique_ptr< weld::Button > m_xDownIB
SwMailMergeConfigItem & m_rConfigItem
bool SetCursorLogicPosition(const Point &rPosition)
weld::TreeView * get_drag_source() const
std::unique_ptr< SwAddressPreview > m_xPreview
std::unique_ptr< weld::Button > m_xAssignPB
virtual ~SwMailMergeAddressBlockPage() override
OUString m_sCurrentAddress
SwMailMergeWizard * GetWizard()
std::unique_ptr< weld::CheckButton > m_xAddressCB
std::unique_ptr< SwAddressPreview > m_xSettings
virtual void Activate() override
std::unique_ptr< weld::Container > m_xStep4
DECL_LINK(InsertDataHdl_Impl, weld::Button &, void)
DECL_LINK(SettingsHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::Label > m_xSettingsFI
std::unique_ptr< weld::Container > m_xStep3
std::unique_ptr< weld::Button > m_xAddressListPB
std::unique_ptr< SwAddressPreview > m_xPreview
DECL_LINK(AddressBlockHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
std::unique_ptr< weld::Button > m_xSettingsPB
std::unique_ptr< weld::Button > m_xPrevSetIB
SwMailMergeWizard * m_pWizard
std::unique_ptr< weld::Button > m_xDifferentlist
SwMailMergeAddressBlockPage(weld::Container *pPage, SwMailMergeWizard *pWizard)
OUString m_sChangeAddress
DECL_LINK(HideParagraphsHdl_Impl, weld::Toggleable &, void)
std::unique_ptr< weld::CustomWeld > m_xSettingsWIN
virtual bool commitPage(::vcl::WizardTypes::CommitPageReason _eReason) override
std::unique_ptr< weld::CheckButton > m_xHideEmptyParagraphsCB
DECL_LINK(AddressListHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xNextSetIB
DECL_LINK(AssignHdl_Impl, weld::Button &, void)
virtual bool canAdvance() const override
void EnableAddressBlock(bool bAll, bool bSelective)
std::unique_ptr< weld::Label > m_xCurrentAddressFI
DECL_LINK(AddressBlockSelectHdl_Impl, LinkParamNone *, void)
std::unique_ptr< weld::Label > m_xDocumentIndexFI
void InsertDataHdl(const weld::Button *pButton)
std::unique_ptr< weld::Container > m_xStep2
DECL_LINK(DeleteHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::RadioButton > m_xDependentRB
void SetSettings(bool bIsCountry, const OUString &sCountry)
SwMailMergeConfigItem & m_rConfig
std::unique_ptr< weld::CustomWeld > m_xPreviewWin
virtual ~SwSelectAddressBlockDialog() override
DECL_LINK(NewCustomizeHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::Entry > m_xCountryED
SwSelectAddressBlockDialog(weld::Window *pParent, SwMailMergeConfigItem &rConfig)
void SetAddressBlocks(const css::uno::Sequence< OUString > &rBlocks, sal_uInt16 nSelected)
std::unique_ptr< weld::Button > m_xNewPB
css::uno::Sequence< OUString > m_aAddressBlocks
bool IsIncludeCountry() const
DECL_LINK(IncludeHdl_Impl, weld::Toggleable &, void)
const css::uno::Sequence< OUString > & GetAddressBlocks()
std::unique_ptr< weld::Button > m_xDeletePB
std::unique_ptr< weld::Button > m_xCustomizePB
std::unique_ptr< weld::RadioButton > m_xAlwaysRB
OUString GetCountry() const
std::unique_ptr< weld::RadioButton > m_xNeverRB
std::unique_ptr< SwAddressPreview > m_xPreview