diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2017-06-01 18:40:49 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-06-02 10:43:12 +0200 |
commit | bad19f8ada3978a8eb603719aa0767a89281c68f (patch) | |
tree | afffefd271b8426ae7472c4894496bbcc5f59e33 /sw/source/ui/dbui/mmaddressblockpage.cxx | |
parent | 5872221094834af8553b3a7028d52f26dda391fa (diff) |
tdf#102930 Add custom HIDS for New Address Block page
The New Address Block and Edit Address Block windows
in Mail Merge wizard use the same ui file as the Custom
Salutation windows, yet they differ slightly in appearance
and a bit more in functionality.
There is already a help page for this, so we need a few HIDs
to be able to hook into that.
Change-Id: I5d1e11d62e28c02d74e0e6833e493923a5d699cf
Reviewed-on: https://gerrit.libreoffice.org/38327
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sw/source/ui/dbui/mmaddressblockpage.cxx')
-rw-r--r-- | sw/source/ui/dbui/mmaddressblockpage.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx index 4f80954808a2..f78f9c9c1927 100644 --- a/sw/source/ui/dbui/mmaddressblockpage.cxx +++ b/sw/source/ui/dbui/mmaddressblockpage.cxx @@ -535,6 +535,16 @@ SwCustomizeAddressBlockDialog::SwCustomizeAddressBlockDialog( if(eType == ADDRESSBLOCK_EDIT) SetText(SwResId(ST_TITLE_EDIT)); m_pDragED->SetText("\n\n\n\n\n"); + /* Set custom HIDs for swriter/01/mm_newaddblo.xhp */ + m_pAddressElementsLB->SetHelpId( HID_MM_ADDBLOCK_ELEMENTS ); + m_pInsertFieldIB->SetHelpId( HID_MM_ADDBLOCK_INSERT ); + m_pRemoveFieldIB->SetHelpId( HID_MM_ADDBLOCK_REMOVE ); + m_pDragED->SetHelpId( HID_MM_ADDBLOCK_DRAG ); + m_pPreviewWIN->SetHelpId( HID_MM_ADDBLOCK_PREVIEW ); + m_pRightIB->SetHelpId( HID_MM_ADDBLOCK_MOVEBUTTONS ); + m_pLeftIB->SetHelpId( HID_MM_ADDBLOCK_MOVEBUTTONS ); + m_pDownIB->SetHelpId( HID_MM_ADDBLOCK_MOVEBUTTONS ); + m_pUpIB->SetHelpId( HID_MM_ADDBLOCK_MOVEBUTTONS ); } const ResStringArray& rHeaders = m_rConfigItem.GetDefaultAddressHeaders(); |