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);
146 virtual css::uno::Reference<css::datatransfer::dnd::XDropTarget>
GetDropTarget()
override;
162 void SetText(
const OUString& rStr );
214 std::unique_ptr<weld::Button>
m_xOK;
224 DECL_LINK(SelectionChangedHdl_Impl,
bool,
void);
226 DECL_LINK(TextFilterHdl, OUString&,
bool);
241 bool HasItem(sal_Int32 nUserData);
261 std::unique_ptr<weld::Button>
m_xOK;
276 const OUString& rPreview,
277 bool bIsAddressBlock);
OUString m_sCurrentSalutation
std::unique_ptr< weld::Button > m_xRightIB
std::unique_ptr< weld::Button > m_xInsertFieldIB
std::unique_ptr< SwAddressPreview > m_xPreview
void SetAddress(const OUString &rAddress)
std::vector< OUString > m_aSalutations
std::unique_ptr< weld::Button > m_xLeftIB
std::unique_ptr< weld::Button > m_xNewPB
void InsertDataHdl(const weld::Button *pButton)
std::unique_ptr< weld::Label > m_xPreviewTitle
std::unique_ptr< weld::Button > m_xDifferentlist
bool IsIncludeCountry() const
OUString GetAddress() const
std::unique_ptr< weld::Label > m_xMatchTitle
MoveItemFlags IsCurrentItemMoveable() const
std::unique_ptr< SwAssignFieldsControl > m_xFieldsControl
SwSelectAddressBlockDialog(weld::Window *pParent, SwMailMergeConfigItem &rConfig)
std::unique_ptr< weld::RadioButton > m_xNeverRB
SwMailMergeWizard * m_pWizard
virtual TreeView * get_drag_source() const =0
DECL_LINK(OkHdl_Impl, weld::Button &, void)
std::unique_ptr< SwAddressPreview > m_xPreview
SwAssignFieldsDialog(weld::Window *pParent, SwMailMergeConfigItem &rConfigItem, const OUString &rPreview, bool bIsAddressBlock)
std::unique_ptr< weld::CheckButton > m_xAddressCB
Link< AddressMultiLineEdit &, void > m_aModifyLink
std::unique_ptr< weld::CustomWeld > m_xSettingsWIN
void InsertNewEntry(const OUString &rStr)
SwMailMergeWizard * GetWizard()
bool SetCursorLogicPosition(const Point &rPosition)
void MoveCurrentItem(MoveItemFlags nMove)
std::unique_ptr< weld::CustomWeld > m_xPreviewWin
css::uno::Reference< css::datatransfer::dnd::XDropTarget > m_xDropTarget
const css::uno::Sequence< OUString > & GetAddressBlocks()
std::vector< OUString > m_aPunctuations
std::unique_ptr< weld::Button > m_xUpIB
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
DECL_LINK(AddressListHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::CustomWeld > m_xPreviewWin
virtual ~AddressMultiLineEdit() override
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
std::unique_ptr< weld::Button > m_xNextSetIB
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
OUString GetCountry() const
virtual ~SwSelectAddressBlockDialog() override
std::unique_ptr< weld::Button > m_xCustomizePB
std::unique_ptr< weld::SizeGroup > m_xComboGroup
Link< bool, void > m_aSelectionLink
std::unique_ptr< weld::Container > m_xStep3
DECL_LINK(NewCustomizeHdl_Impl, weld::Button &, void)
std::unique_ptr< weld::CustomWeld > m_xPreviewWIN
std::unique_ptr< weld::CustomWeld > m_xDragWIN
SwMailMergeAddressBlockPage(weld::Container *pPage, SwMailMergeWizard *pWizard)
std::unique_ptr< weld::ComboBox > m_xFieldCB
SwCustomizeAddressBlockDialog(weld::Widget *pParent, SwMailMergeConfigItem &rConfig, DialogType)
virtual ~SwAssignFieldsDialog() override
weld::TreeView * get_drag_source() const
std::unique_ptr< weld::Button > m_xOK
std::unique_ptr< weld::Container > m_xStep2
OUString m_sCurrentPunctuation
std::unique_ptr< weld::Label > m_xDocumentIndexFI
std::unique_ptr< weld::Label > m_xPreviewFI
std::unique_ptr< weld::Label > m_xAddressElementsFT
sal_Int32 GetSelectedItem_Impl() const
std::unique_ptr< weld::Label > m_xFieldFT
std::unique_ptr< weld::SizeGroup > m_xPreviewGroup
virtual bool KeyInput(const KeyEvent &rKEvt) override
std::unique_ptr< weld::Button > m_xPrevSetIB
virtual ~SwMailMergeAddressBlockPage() override
std::unique_ptr< weld::Label > m_xMatchingFI
std::unique_ptr< SwAddressPreview > m_xPreview
std::unique_ptr< weld::Button > m_xRemoveFieldIB
std::unique_ptr< weld::Button > m_xDownIB
DECL_LINK(OKHdl_Impl, weld::Button &, void)
void SetText(const OUString &rStr)
css::uno::Sequence< OUString > CreateAssignments()
std::unique_ptr< weld::RadioButton > m_xAlwaysRB
std::unique_ptr< weld::Button > m_xOK
OUString m_sChangeAddress
std::unique_ptr< weld::Label > m_xSettingsFI
AddressMultiLineEdit(SwCustomizeAddressBlockDialog *pParent)
bool HasCurrentItem() const
OUString GetAddress() const
Idle m_aSelectionChangedIdle
std::unique_ptr< weld::RadioButton > m_xDependentRB
void SetSettings(bool bIsCountry, const OUString &sCountry)
void EnableAddressBlock(bool bAll, bool bSelective)
SwCustomizeAddressBlockDialog * m_pParentDialog
std::unique_ptr< weld::Label > m_xDragFT
void SetAddressBlocks(const css::uno::Sequence< OUString > &rBlocks, sal_uInt16 nSelected)
virtual bool canAdvance() const override
std::unique_ptr< weld::Button > m_xAssignPB
SwMailMergeConfigItem & m_rConfig
void SetModifyHdl(const Link< AddressMultiLineEdit &, void > &rLink)
std::unique_ptr< weld::Button > m_xDeletePB
bool SetCursorLogicPosition(const Point &rPosition)
void SetSelectionChangedHdl(const Link< bool, void > &rLink)
std::unique_ptr< weld::Button > m_xSettingsPB
virtual void EditViewSelectionChange() override
void RemoveCurrentEntry()
OUString GetCurrentItem() const
std::unique_ptr< weld::CheckButton > m_xHideEmptyParagraphsCB
std::unique_ptr< SwAddressPreview > m_xPreview
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget() override
std::unique_ptr< AddressMultiLineEdit > m_xDragED
bool HasItem(sal_Int32 nUserData)
css::uno::Sequence< OUString > m_aAddressBlocks
std::unique_ptr< weld::Container > m_xStep4
virtual ~SwCustomizeAddressBlockDialog() override
void InsertNewEntryAtPosition(const OUString &rStr, sal_uLong nPara, sal_uInt16 nIndex)
std::unique_ptr< SwAddressPreview > m_xSettings
void ConnectSizeGroups(int nLabelWidth, int nComboBoxWidth, int nPreviewWidth)
void UpdateImageButtons_Impl()
SwMailMergeConfigItem & m_rConfigItem
std::unique_ptr< weld::Label > m_xCurrentAddressFI
OUString m_rPreviewString
std::unique_ptr< weld::TreeView > m_xAddressElementsLB
std::unique_ptr< weld::Entry > m_xCountryED
OUString m_sCurrentAddress
virtual void Activate() override
SwMailMergeConfigItem & m_rConfigItem
virtual bool commitPage(::vcl::WizardTypes::CommitPageReason _eReason) override
std::unique_ptr< weld::SizeGroup > m_xLabelGroup
std::unique_ptr< weld::Button > m_xAddressListPB
std::unique_ptr< weld::Label > m_xAddressTitle