summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-18 12:35:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-18 14:09:24 +0000
commit2b04529465fde57795177cf176ce59255d8ef9ae (patch)
treeb6bd5f8b391a6bf8cf91df004302bcbfeb492b11 /sw
parent95ba3769851a6a4acd3e8530b5932ec6e60a5e18 (diff)
convert address block wizard page to .ui
Change-Id: I38c0c7262dffaaf5280e2c000eb122f71203e385
Diffstat (limited to 'sw')
-rw-r--r--sw/UIConfig_swriter.mk1
-rw-r--r--sw/inc/dbui.hrc1
-rw-r--r--sw/inc/helpid.h1
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.cxx178
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.hxx50
-rw-r--r--sw/source/ui/dbui/mmaddressblockpage.src159
-rw-r--r--sw/uiconfig/swriter/ui/mmaddressblockpage.ui571
7 files changed, 666 insertions, 295 deletions
diff --git a/sw/UIConfig_swriter.mk b/sw/UIConfig_swriter.mk
index 2787065f90f0..987669ee1c5c 100644
--- a/sw/UIConfig_swriter.mk
+++ b/sw/UIConfig_swriter.mk
@@ -163,6 +163,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/swriter,\
sw/uiconfig/swriter/ui/queryrotateintostandarddialog \
sw/uiconfig/swriter/ui/querysavelabeldialog \
sw/uiconfig/swriter/ui/queryshowchangesdialog \
+ sw/uiconfig/swriter/ui/mmaddressblockpage \
sw/uiconfig/swriter/ui/mmcreatingdialog \
sw/uiconfig/swriter/ui/mmoutputtypepage \
sw/uiconfig/swriter/ui/mmselectpage \
diff --git a/sw/inc/dbui.hrc b/sw/inc/dbui.hrc
index 628be9ba5c2a..0185686a5d2a 100644
--- a/sw/inc/dbui.hrc
+++ b/sw/inc/dbui.hrc
@@ -27,7 +27,6 @@
#define DLG_MAILMERGEWIZARD (RC_DBUI_BEGIN + 3)
#define DLG_MM_DOCSELECT_PAGE (RC_DBUI_BEGIN + 4)
#define DLG_MM_OUTPUTTYPE_PAGE (RC_DBUI_BEGIN + 5)
-#define DLG_MM_ADDRESSBLOCK_PAGE (RC_DBUI_BEGIN + 6)
#define DLG_MM_GREETINGS_PAGE (RC_DBUI_BEGIN + 7)
#define DLG_MM_PREPAREMERGE_PAGE (RC_DBUI_BEGIN + 8)
#define DLG_MM_MERGE_PAGE (RC_DBUI_BEGIN + 9)
diff --git a/sw/inc/helpid.h b/sw/inc/helpid.h
index 36568edc3c6b..411b5678a818 100644
--- a/sw/inc/helpid.h
+++ b/sw/inc/helpid.h
@@ -364,7 +364,6 @@
#define HID_PRINT_AS_MERGE "SW_HID_PRINT_AS_MERGE"
#define HID_MODULE_TOOLBOX "SW_HID_MODULE_TOOLBOX"
-#define HID_MM_ADDRESSBLOCKPAGE "SW_HID_MM_ADDRESSBLOCKPAGE"
#define HID_MM_GREETINGSPAGE "SW_HID_MM_GREETINGSPAGE"
#define HID_MM_PREPAREMERGEPAGE "SW_HID_MM_PREPAREMERGEPAGE"
#define HID_MM_MERGEPAGE "SW_HID_MM_MERGEPAGE"
diff --git a/sw/source/ui/dbui/mmaddressblockpage.cxx b/sw/source/ui/dbui/mmaddressblockpage.cxx
index 5511a25f5d52..3fc2b01c6d82 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.cxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.cxx
@@ -53,50 +53,45 @@ static void lcl_Move(Control* pCtrl, long nYOffset)
}
SwMailMergeAddressBlockPage::SwMailMergeAddressBlockPage( SwMailMergeWizard* _pParent) :
- svt::OWizardPage(_pParent, SW_RES(DLG_MM_ADDRESSBLOCK_PAGE)),
- m_aHeaderFI( this, SW_RES( FI_HEADER ) ),
- m_aFirstFI( this, SW_RES( FI_FIRST ) ),
- m_aAddressListFI( this, SW_RES( FI_ADDRESSLIST ) ),
- m_aAddressListPB( this, SW_RES( PB_ADDRESSLIST ) ),
- m_aCurrentAddressFI( this, SW_RES( FI_CURRENTADDRESS ) ),
- m_aFirstFL( this, SW_RES( FL_FIRST ) ),
- m_aSecondFI( this, SW_RES( FI_SECOND )),
- m_aSettingsFI( this, SW_RES( FI_SECOND ) ),
- m_aAddressCB( this, SW_RES( CB_ADDRESS ) ),
- m_aSettingsWIN( this, SW_RES( WIN_SETTINGS ) ),
- m_aSettingsPB( this, SW_RES( PB_SETTINGS ) ),
- m_aHideEmptyParagraphsCB( this, SW_RES( CB_HIDE_EMPTY_PARA ) ),
- m_aSecondFL( this, SW_RES( FL_SECOND )),
- m_aThirdFI( this, SW_RES( FI_THIRD ) ),
- m_aMatchFieldsFI( this, SW_RES( FI_MATCH_FIELDS ) ),
- m_aAssignPB( this, SW_RES( PB_ASSIGN ) ),
- m_aThirdFL( this, SW_RES( FL_THIRD ) ),
- m_aFourthFI( this, SW_RES( FI_FOURTH ) ),
- m_aPreviewFI( this, SW_RES( FI_PREVIEW ) ),
- m_aPreviewWIN( this, SW_RES( WIN_PREVIEW ) ),
- m_aDocumentIndexFI( this, SW_RES( FI_DOCINDEX ) ),
- m_aPrevSetIB( this, SW_RES( IB_PREVSET ) ),
- m_aNextSetIB( this, SW_RES( IB_NEXTSET ) ),
- m_sDocument( SW_RES( STR_DOCUMENT ) ),
- m_sChangeAddress( SW_RES( STR_CHANGEADDRESS )),
- m_pWizard(_pParent)
-{
- FreeResource();
- m_sCurrentAddress = m_aCurrentAddressFI.GetText();
- m_aAddressListPB.SetClickHdl(LINK(this, SwMailMergeAddressBlockPage, AddressListHdl_Impl));
- m_aSettingsPB.SetClickHdl(LINK(this, SwMailMergeAddressBlockPage, SettingsHdl_Impl));
- m_aAssignPB.SetClickHdl(LINK(this, SwMailMergeAddressBlockPage, AssignHdl_Impl ));
- m_aAddressCB.SetClickHdl(LINK(this, SwMailMergeAddressBlockPage, AddressBlockHdl_Impl));
- m_aSettingsWIN.SetSelectHdl(LINK(this, SwMailMergeAddressBlockPage, AddressBlockSelectHdl_Impl));
- m_aHideEmptyParagraphsCB.SetClickHdl(LINK(this, SwMailMergeAddressBlockPage, HideParagraphsHdl_Impl));
+ svt::OWizardPage(_pParent, "MMAddressBlockPage",
+ "modules/swriter/ui/mmaddressblockpage.ui")
+ , m_pWizard(_pParent)
+{
+ get(m_pAddressListPB, "addresslist");
+ get(m_pCurrentAddressFI, "currentaddress");
+ get(m_pStep2, "step2");
+ get(m_pStep3, "step3");
+ get(m_pStep4, "step4");
+ get(m_pSettingsFI, "settingsft");
+ get(m_pAddressCB, "address");
+ get(m_pSettingsWIN, "settingspreview");
+ Size aSize(LogicToPixel(Size(164 , 45), MapMode(MAP_APPFONT)));
+ m_pSettingsWIN->set_width_request(aSize.Width());
+ m_pSettingsWIN->set_height_request(aSize.Height());
+ get(m_pSettingsPB, "settings");
+ get(m_pHideEmptyParagraphsCB, "hideempty");
+ get(m_pAssignPB, "assign");
+ get(m_pPreviewWIN, "addresspreview");
+ aSize = LogicToPixel(Size(176, 46), MapMode(MAP_APPFONT));
+ m_pPreviewWIN->set_width_request(aSize.Width());
+ m_pPreviewWIN->set_height_request(aSize.Height());
+ get(m_pDocumentIndexFI, "documentindex");
+ get(m_pPrevSetIB, "prev");
+ get(m_pNextSetIB, "next");
+ m_sDocument = m_pDocumentIndexFI->GetText();
+ m_sChangeAddress = get<Button>("differentlist")->GetText();
+
+ m_sCurrentAddress = m_pCurrentAddressFI->GetText();
+ m_pAddressListPB->SetClickHdl(LINK(this, SwMailMergeAddressBlockPage, AddressListHdl_Impl));
+ m_pSettingsPB->SetClickHdl(LINK(this, SwMailMergeAddressBlockPage, SettingsHdl_Impl));
+ m_pAssignPB->SetClickHdl(LINK(this, SwMailMergeAddressBlockPage, AssignHdl_Impl ));
+ m_pAddressCB->SetClickHdl(LINK(this, SwMailMergeAddressBlockPage, AddressBlockHdl_Impl));
+ m_pSettingsWIN->SetSelectHdl(LINK(this, SwMailMergeAddressBlockPage, AddressBlockSelectHdl_Impl));
+ m_pHideEmptyParagraphsCB->SetClickHdl(LINK(this, SwMailMergeAddressBlockPage, HideParagraphsHdl_Impl));
Link aLink = LINK(this, SwMailMergeAddressBlockPage, InsertDataHdl_Impl);
- m_aPrevSetIB.SetClickHdl(aLink);
- m_aNextSetIB.SetClickHdl(aLink);
-}
-
-SwMailMergeAddressBlockPage::~SwMailMergeAddressBlockPage()
-{
+ m_pPrevSetIB->SetClickHdl(aLink);
+ m_pNextSetIB->SetClickHdl(aLink);
}
bool SwMailMergeAddressBlockPage::canAdvance() const
@@ -110,39 +105,24 @@ void SwMailMergeAddressBlockPage::ActivatePage()
bool bIsLetter = rConfigItem.IsOutputToLetter();
//no address block is created for e-Mail
- m_aSettingsFI.Show( bIsLetter );
- m_aAddressCB.Show( bIsLetter );
- m_aSettingsWIN.Show( bIsLetter );
- m_aSettingsPB.Show( bIsLetter );
- m_aPreviewFI.Show( bIsLetter );
- m_aPreviewWIN.Show( bIsLetter );
- m_aAssignPB.Show( bIsLetter );
- m_aDocumentIndexFI.Show( bIsLetter );
- m_aPrevSetIB.Show( bIsLetter );
- m_aNextSetIB.Show( bIsLetter );
- m_aHideEmptyParagraphsCB.Show( bIsLetter );
- m_aSecondFL.Show( bIsLetter );
- m_aSecondFI.Show( bIsLetter );
- m_aSettingsFI.Show( bIsLetter );
- m_aMatchFieldsFI.Show( bIsLetter );
- m_aThirdFI.Show( bIsLetter );
- m_aThirdFL.Show( bIsLetter );
- m_aFourthFI.Show( bIsLetter );
-
- if(bIsLetter)
+ m_pStep2->Show(bIsLetter);
+ m_pStep3->Show(bIsLetter);
+ m_pStep4->Show(bIsLetter);
+
+ if (bIsLetter)
{
- m_aHideEmptyParagraphsCB.Check( rConfigItem.IsHideEmptyParagraphs() );
- m_aDocumentIndexFI.SetText(m_sDocument.replaceFirst("%1", OUString::number(1)));
+ m_pHideEmptyParagraphsCB->Check( rConfigItem.IsHideEmptyParagraphs() );
+ m_pDocumentIndexFI->SetText(m_sDocument.replaceFirst("%1", OUString::number(1)));
- m_aSettingsWIN.Clear();
+ m_pSettingsWIN->Clear();
const uno::Sequence< OUString> aBlocks =
m_pWizard->GetConfigItem().GetAddressBlocks();
for(sal_Int32 nAddress = 0; nAddress < aBlocks.getLength(); ++nAddress)
- m_aSettingsWIN.AddAddress(aBlocks[nAddress]);
- m_aSettingsWIN.SelectAddress((sal_uInt16)rConfigItem.GetCurrentAddressBlockIndex());
- m_aAddressCB.Check(rConfigItem.IsAddressBlock());
- AddressBlockHdl_Impl(&m_aAddressCB);
- m_aSettingsWIN.SetLayout(1, 2);
+ m_pSettingsWIN->AddAddress(aBlocks[nAddress]);
+ m_pSettingsWIN->SelectAddress((sal_uInt16)rConfigItem.GetCurrentAddressBlockIndex());
+ m_pAddressCB->Check(rConfigItem.IsAddressBlock());
+ AddressBlockHdl_Impl(m_pAddressCB);
+ m_pSettingsWIN->SetLayout(1, 2);
InsertDataHdl_Impl(0);
}
}
@@ -187,7 +167,7 @@ IMPL_LINK(SwMailMergeAddressBlockPage, SettingsHdl_Impl, PushButton*, pButton)
SwSelectAddressBlockDialog* pDlg =
new SwSelectAddressBlockDialog(pButton, m_pWizard->GetConfigItem());
SwMailMergeConfigItem& rConfig = m_pWizard->GetConfigItem();
- pDlg->SetAddressBlocks(rConfig.GetAddressBlocks(), m_aSettingsWIN.GetSelectedAddress());
+ pDlg->SetAddressBlocks(rConfig.GetAddressBlocks(), m_pSettingsWIN->GetSelectedAddress());
pDlg->SetSettings(rConfig.IsIncludeCountry(), rConfig.GetExcludeCountry());
if(RET_OK == pDlg->Execute())
{
@@ -195,11 +175,11 @@ IMPL_LINK(SwMailMergeAddressBlockPage, SettingsHdl_Impl, PushButton*, pButton)
const uno::Sequence< OUString> aBlocks =
pDlg->GetAddressBlocks();
rConfig.SetAddressBlocks(aBlocks);
- m_aSettingsWIN.Clear();
+ m_pSettingsWIN->Clear();
for(sal_Int32 nAddress = 0; nAddress < aBlocks.getLength(); ++nAddress)
- m_aSettingsWIN.AddAddress(aBlocks[nAddress]);
- m_aSettingsWIN.SelectAddress(0);
- m_aSettingsWIN.Invalidate(); // #i40408
+ m_pSettingsWIN->AddAddress(aBlocks[nAddress]);
+ m_pSettingsWIN->SelectAddress(0);
+ m_pSettingsWIN->Invalidate(); // #i40408
rConfig.SetCountrySettings(pDlg->IsIncludeCountry(), pDlg->GetCountry());
InsertDataHdl_Impl(0);
}
@@ -212,7 +192,7 @@ IMPL_LINK(SwMailMergeAddressBlockPage, SettingsHdl_Impl, PushButton*, pButton)
IMPL_LINK(SwMailMergeAddressBlockPage, AssignHdl_Impl, PushButton*, pButton)
{
SwMailMergeConfigItem& rConfigItem = m_pWizard->GetConfigItem();
- sal_uInt16 nSel = m_aSettingsWIN.GetSelectedAddress();
+ sal_uInt16 nSel = m_pSettingsWIN->GetSelectedAddress();
const uno::Sequence< OUString> aBlocks = rConfigItem.GetAddressBlocks();
boost::scoped_ptr<SwAssignFieldsDialog> pDlg(
new SwAssignFieldsDialog(pButton, m_pWizard->GetConfigItem(), aBlocks[nSel], true));
@@ -228,38 +208,32 @@ IMPL_LINK(SwMailMergeAddressBlockPage, AssignHdl_Impl, PushButton*, pButton)
void SwMailMergeAddressBlockPage::EnableAddressBlock(sal_Bool bAll, sal_Bool bSelective)
{
- m_aSettingsFI.Enable(bAll);
- m_aAddressCB.Enable(bAll);
+ m_pSettingsFI->Enable(bAll);
+ m_pAddressCB->Enable(bAll);
bSelective &= bAll;
- m_aHideEmptyParagraphsCB.Enable(bSelective);
- m_aSettingsWIN.Enable(bSelective);
- m_aSettingsPB.Enable(bSelective);
- m_aPreviewFI.Enable(bSelective);
- m_aPreviewWIN.Enable(bSelective);
- m_aThirdFI.Enable(bSelective);
- m_aMatchFieldsFI.Enable(bSelective);
- m_aAssignPB.Enable(bSelective);
- m_aDocumentIndexFI.Enable(bSelective);
- m_aPrevSetIB.Enable(bSelective);
- m_aNextSetIB.Enable(bSelective);
+ m_pHideEmptyParagraphsCB->Enable(bSelective);
+ m_pSettingsWIN->Enable(bSelective);
+ m_pSettingsPB->Enable(bSelective);
+ m_pStep3->Enable(bSelective);
+ m_pStep4->Enable(bSelective);
}
IMPL_LINK(SwMailMergeAddressBlockPage, AddressBlockHdl_Impl, CheckBox*, pBox)
{
EnableAddressBlock(pBox->IsEnabled(), pBox->IsChecked());
SwMailMergeConfigItem& rConfigItem = m_pWizard->GetConfigItem();
- rConfigItem.SetAddressBlock(m_aAddressCB.IsChecked());
+ rConfigItem.SetAddressBlock(m_pAddressCB->IsChecked());
m_pWizard->UpdateRoadmap();
return 0;
}
IMPL_LINK_NOARG(SwMailMergeAddressBlockPage, AddressBlockSelectHdl_Impl)
{
- sal_uInt16 nSel = m_aSettingsWIN.GetSelectedAddress();
+ sal_uInt16 nSel = m_pSettingsWIN->GetSelectedAddress();
const uno::Sequence< OUString> aBlocks =
m_pWizard->GetConfigItem().GetAddressBlocks();
OUString sPreview = SwAddressPreview::FillData(aBlocks[nSel], m_pWizard->GetConfigItem());
- m_aPreviewWIN.SetAddress(sPreview);
+ m_pPreviewWIN->SetAddress(sPreview);
m_pWizard->GetConfigItem().SetCurrentAddressBlockIndex( nSel );
GetWizard()->UpdateRoadmap();
GetWizard()->enableButtons(WZB_NEXT, GetWizard()->isStateEnabled(MM_GREETINGSPAGE));
@@ -284,7 +258,7 @@ IMPL_LINK(SwMailMergeAddressBlockPage, InsertDataHdl_Impl, ImageButton*, pButton
}
else
{
- bool bNext = pButton == &m_aNextSetIB;
+ bool bNext = pButton == m_pNextSetIB;
sal_Int32 nPos = rConfig.GetResultSetPosition();
rConfig.MoveResultSet( bNext ? ++nPos : --nPos);
}
@@ -299,28 +273,28 @@ IMPL_LINK(SwMailMergeAddressBlockPage, InsertDataHdl_Impl, ImageButton*, pButton
else
{
//if output type is letter
- if(m_aSettingsWIN.IsVisible())
+ if(m_pSettingsWIN->IsVisible())
{
//Fill data into preview
- sal_uInt16 nSel = m_aSettingsWIN.GetSelectedAddress();
+ sal_uInt16 nSel = m_pSettingsWIN->GetSelectedAddress();
const uno::Sequence< OUString> aBlocks =
m_pWizard->GetConfigItem().GetAddressBlocks();
OUString sPreview = SwAddressPreview::FillData(aBlocks[nSel], rConfig);
- m_aPreviewWIN.SetAddress(sPreview);
+ m_pPreviewWIN->SetAddress(sPreview);
}
}
- m_aPrevSetIB.Enable(bEnable);
- m_aDocumentIndexFI.SetText(m_sDocument.replaceFirst("%1", OUString::number(nPos)));
+ m_pPrevSetIB->Enable(bEnable);
+ m_pDocumentIndexFI->SetText(m_sDocument.replaceFirst("%1", OUString::number(nPos)));
GetWizard()->enableButtons(WZB_NEXT, GetWizard()->isStateEnabled(MM_GREETINGSPAGE));
sal_Bool bHasResultSet = rConfig.GetResultSet().is();
- m_aCurrentAddressFI.Show(bHasResultSet);
+ m_pCurrentAddressFI->Show(bHasResultSet);
if(bHasResultSet)
{
- m_aCurrentAddressFI.SetText(m_sCurrentAddress.replaceFirst("%1", rConfig.GetCurrentDBData().sDataSource));
- m_aAddressListPB.SetText(m_sChangeAddress);
+ m_pCurrentAddressFI->SetText(m_sCurrentAddress.replaceFirst("%1", rConfig.GetCurrentDBData().sDataSource));
+ m_pAddressListPB->SetText(m_sChangeAddress);
}
- EnableAddressBlock(bHasResultSet, m_aAddressCB.IsChecked());
+ EnableAddressBlock(bHasResultSet, m_pAddressCB->IsChecked());
return 0;
}
diff --git a/sw/source/ui/dbui/mmaddressblockpage.hxx b/sw/source/ui/dbui/mmaddressblockpage.hxx
index f4e96da1ccde..ae73bd8ea789 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.hxx
+++ b/sw/source/ui/dbui/mmaddressblockpage.hxx
@@ -25,6 +25,7 @@
#include <mailmergehelper.hxx>
#include <sfx2/basedlgs.hxx>
#include <vcl/edit.hxx>
+#include <vcl/layout.hxx>
#include <vcl/lstbox.hxx>
#include <svtools/svmedit.hxx>
#include <svtools/headbar.hxx>
@@ -36,38 +37,25 @@ class SwMailMergeConfigItem;
class SwMailMergeAddressBlockPage : public svt::OWizardPage
{
- SwBoldFixedInfo m_aHeaderFI;
- FixedInfo m_aFirstFI;
- FixedInfo m_aAddressListFI;
- PushButton m_aAddressListPB;
- FixedInfo m_aCurrentAddressFI;
+ PushButton* m_pAddressListPB;
+ FixedText* m_pCurrentAddressFI;
- FixedLine m_aFirstFL;
+ VclContainer* m_pStep2;
+ VclContainer* m_pStep3;
+ VclContainer* m_pStep4;
- FixedInfo m_aSecondFI;
- FixedInfo m_aSettingsFI;
- CheckBox m_aAddressCB;
- SwAddressPreview m_aSettingsWIN;
- PushButton m_aSettingsPB;
+ FixedText* m_pSettingsFI;
+ CheckBox* m_pAddressCB;
+ SwAddressPreview* m_pSettingsWIN;
+ PushButton* m_pSettingsPB;
+ CheckBox* m_pHideEmptyParagraphsCB;
- CheckBox m_aHideEmptyParagraphsCB;
+ PushButton* m_pAssignPB;
- FixedLine m_aSecondFL;
-
- FixedInfo m_aThirdFI;
- FixedInfo m_aMatchFieldsFI;
-
- PushButton m_aAssignPB;
-
- FixedLine m_aThirdFL;
-
- FixedInfo m_aFourthFI;
- FixedInfo m_aPreviewFI;
-
- SwAddressPreview m_aPreviewWIN;
- FixedInfo m_aDocumentIndexFI;
- ImageButton m_aPrevSetIB;
- ImageButton m_aNextSetIB;
+ SwAddressPreview* m_pPreviewWIN;
+ FixedText* m_pDocumentIndexFI;
+ PushButton* m_pPrevSetIB;
+ PushButton* m_pNextSetIB;
OUString m_sDocument;
OUString m_sCurrentAddress;
@@ -90,10 +78,8 @@ class SwMailMergeAddressBlockPage : public svt::OWizardPage
virtual bool canAdvance() const;
public:
- SwMailMergeAddressBlockPage( SwMailMergeWizard* _pParent);
- ~SwMailMergeAddressBlockPage();
-
- SwMailMergeWizard* GetWizard() { return m_pWizard;}
+ SwMailMergeAddressBlockPage(SwMailMergeWizard* _pParent);
+ SwMailMergeWizard* GetWizard() { return m_pWizard; }
};
class SwSelectAddressBlockDialog : public SfxModalDialog
diff --git a/sw/source/ui/dbui/mmaddressblockpage.src b/sw/source/ui/dbui/mmaddressblockpage.src
index c93450fb5992..39d7d9ea43b8 100644
--- a/sw/source/ui/dbui/mmaddressblockpage.src
+++ b/sw/source/ui/dbui/mmaddressblockpage.src
@@ -27,165 +27,6 @@
};
-TabPage DLG_MM_ADDRESSBLOCK_PAGE
-{
- HelpID = HID_MM_ADDRESSBLOCKPAGE;
- Size = MAP_APPFONT ( 260 , 250 ) ;
- Hide = TRUE ;
-
- FixedText FI_HEADER
- {
- Pos = MAP_APPFONT ( 6 , 8 ) ;
- Size = MAP_APPFONT ( 248 , 8 ) ;
- Text [ en-US ] = "Insert address block";
- };
-
- FixedText FI_FIRST
- {
- Pos = MAP_APPFONT ( 6 , 27 ) ;
- Size = MAP_APPFONT ( 10 , 8 ) ;
- Text[ en-US ] = "1.";
- };
- FixedText FI_ADDRESSLIST
- {
- Pos = MAP_APPFONT ( 16 , 27 ) ;
- Size = MAP_APPFONT ( 135 , 25 ) ;
- WordBreak = TRUE;
- Text[ en-US ] = "Select the address list containing the address data you want to use. This data is needed to create the address block.";
- };
- PushButton PB_ADDRESSLIST
- {
- HelpID = "sw:PushButton:DLG_MM_ADDRESSBLOCK_PAGE:PB_ADDRESSLIST";
- Pos = MAP_APPFONT ( 154 , 27 ) ;
- Size = MAP_APPFONT ( 100 , 14 ) ;
- Text[ en-US ] = "Select A~ddress List...";
- };
- String STR_CHANGEADDRESS
- {
- Text[ en-US ] = "Select Different A~ddress List...";
- };
- FixedText FI_CURRENTADDRESS
- {
- Pos = MAP_APPFONT ( 154 , 44 ) ;
- Size = MAP_APPFONT ( 100 , 8 ) ;
- Hide = TRUE;
- Text[ en-US ] = "Current address list: %1";
- };
- FixedLine FL_FIRST
- {
- Pos = MAP_APPFONT ( 6 , 55 ) ;
- Size = MAP_APPFONT ( 248 , 8 ) ;
- };
- FixedText FI_SECOND
- {
- Pos = MAP_APPFONT ( 6 , 66 ) ;
- Size = MAP_APPFONT ( 10 , 8 ) ;
- Text[ en-US ] = "2.";
- };
- CheckBox CB_ADDRESS
- {
- HelpID = "sw:CheckBox:DLG_MM_ADDRESSBLOCK_PAGE:CB_ADDRESS";
- Pos = MAP_APPFONT ( 16 , 66 ) ;
- Size = MAP_APPFONT ( 242 , 10 ) ;
- Text[ en-US ] = "~This document shall contain an address block";
- };
- Window WIN_SETTINGS
- {
- Border = TRUE;
- Pos = MAP_APPFONT ( 24 , 79 ) ;
- Size = MAP_APPFONT ( 164 , 45 ) ;
- };
- PushButton PB_SETTINGS
- {
- HelpID = "sw:PushButton:DLG_MM_ADDRESSBLOCK_PAGE:PB_SETTINGS";
- Pos = MAP_APPFONT ( 194 , 110 ) ;
- Size = MAP_APPFONT ( 60 , 14 ) ;
- Group = FALSE;
- Text[ en-US ] = "~More...";
- };
- CheckBox CB_HIDE_EMPTY_PARA
- {
- HelpID = "sw:CheckBox:DLG_MM_ADDRESSBLOCK_PAGE:CB_HIDE_EMPTY_PARA";
- Pos = MAP_APPFONT ( 24 , 127 ) ;
- Size = MAP_APPFONT ( 230 , 10 ) ;
- Text[ en-US ] = "~Suppress lines with just empty fields";
- };
- FixedLine FL_SECOND
- {
- Pos = MAP_APPFONT ( 6 , 140 ) ;
- Size = MAP_APPFONT ( 248 , 8 ) ;
- };
- FixedText FI_THIRD
- {
- Pos = MAP_APPFONT ( 6 , 151 ) ;
- Size = MAP_APPFONT ( 10 , 8 ) ;
- Text[ en-US ] = "3.";
- };
- FixedText FI_MATCH_FIELDS
- {
- Pos = MAP_APPFONT ( 16 , 151 ) ;
- Size = MAP_APPFONT ( 175 , 16 ) ;
- WordBreak = TRUE;
- Text[ en-US ] = "Match the field name used in the mail merge to the column headers in your data source.";
- };
- PushButton PB_ASSIGN
- {
- HelpID = "sw:PushButton:DLG_MM_ADDRESSBLOCK_PAGE:PB_ASSIGN";
- Pos = MAP_APPFONT ( 194 , 151 ) ;
- Size = MAP_APPFONT ( 60 , 14 ) ;
- Text[ en-US ] = "Match ~Fields...";
- };
- FixedLine FL_THIRD
- {
- Pos = MAP_APPFONT ( 6 , 169 ) ;
- Size = MAP_APPFONT ( 248 , 8 ) ;
- };
- FixedText FI_FOURTH
- {
- Pos = MAP_APPFONT ( 6 , 180 ) ;
- Size = MAP_APPFONT ( 10 , 8 ) ;
- Text[ en-US ] = "4.";
- };
- FixedText FI_PREVIEW
- {
- Pos = MAP_APPFONT ( 16 , 180 ) ;
- Size = MAP_APPFONT ( 228 , 8 ) ;
- Text[ en-US ] = "Check if the address data matches correctly.";
- };
- Window WIN_PREVIEW
- {
- Border = TRUE;
- Pos = MAP_APPFONT ( 12 , 191 ) ;
- Size = MAP_APPFONT ( 176 , 46 ) ;
- };
- FixedText FI_DOCINDEX
- {
- Pos = MAP_APPFONT ( 111 , 239 ) ;
- Size = MAP_APPFONT ( 50 , 8 ) ;
- Right = TRUE;
- };
- ImageButton IB_PREVSET
- {
- HelpID = "sw:ImageButton:DLG_MM_ADDRESSBLOCK_PAGE:IB_PREVSET";
- Pos = MAP_APPFONT ( 167 , 238 ) ;
- Size = MAP_APPFONT ( 10 , 10 ) ;
- SYMBOL = IMAGEBUTTON_PREV;
- QuickHelpText[ en-US ] = "Preview Previous Address Block";
- };
- ImageButton IB_NEXTSET
- {
- HelpID = "sw:ImageButton:DLG_MM_ADDRESSBLOCK_PAGE:IB_NEXTSET";
- Pos = MAP_APPFONT ( 178 , 238 ) ;
- Size = MAP_APPFONT ( 10 , 10 ) ;
- SYMBOL = IMAGEBUTTON_NEXT ;
- QuickHelpText[ en-US ] = "Preview Next Address Block";
- };
- String STR_DOCUMENT
- {
- Text[ en-US ] = "Document: %1";
- };
-};
-
#define WORKAROUND\
Text [ en-US ] = "New Address Block";
diff --git a/sw/uiconfig/swriter/ui/mmaddressblockpage.ui b/sw/uiconfig/swriter/ui/mmaddressblockpage.ui
new file mode 100644
index 000000000000..7c4c233fd481
--- /dev/null
+++ b/sw/uiconfig/swriter/ui/mmaddressblockpage.ui
@@ -0,0 +1,571 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.16.1 -->
+<interface>
+ <requires lib="gtk+" version="3.0"/>
+ <!-- interface-requires LibreOffice 1.0 -->
+ <object class="GtkImage" id="image1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="stock">gtk-media-previous</property>
+ <property name="icon_size">1</property>
+ </object>
+ <object class="GtkImage" id="image2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="stock">gtk-media-next</property>
+ <property name="icon_size">1</property>
+ </object>
+ <object class="GtkBox" id="MMAddressBlockPage">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="border_width">6</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkFrame" id="frame1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="top_padding">6</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkGrid" id="grid1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="row_spacing">12</property>
+ <child>
+ <object class="GtkGrid" id="step1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="column_spacing">12</property>
+ <child>
+ <object class="GtkGrid" id="grid3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="row_spacing">6</property>
+ <child>
+ <object class="GtkButton" id="addresslist">
+ <property name="label" translatable="yes">Select A_ddress List...</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="differentlist">
+ <property name="label" translatable="yes">Select Different A_ddress List...</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="no_show_all">True</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="currentaddress">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">Current address list: %1</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ <property name="width">2</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkGrid" id="grid2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="column_spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="label2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="label" translatable="yes">Select the address list containing the address data you want to use. This data is needed to create the address block.</property>
+ <property name="wrap">True</property>
+ <property name="max_width_chars">56</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="label" translatable="yes">1.</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkGrid" id="step3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="column_spacing">12</property>
+ <child>
+ <object class="GtkButton" id="assign">
+ <property name="label" translatable="yes">Match _Fields...</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="valign">end</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkGrid" id="grid4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="column_spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="label4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="label" translatable="yes">Match the field name used in the mail merge to the column headers in your data source.</property>
+ <property name="wrap">True</property>
+ <property name="max_width_chars">56</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="settingsft1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="label" translatable="yes">3.</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">2</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkGrid" id="step2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="settingsft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="label" translatable="yes">2.</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="address">
+ <property name="label" translatable="yes">_This document shall contain an address block</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkAlignment" id="alignment2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkGrid" id="grid5">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="row_spacing">6</property>
+ <child>
+ <object class="GtkGrid" id="grid7">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="column_spacing">12</property>
+ <child>
+ <object class="GtkButton" id="settings">
+ <property name="label" translatable="yes">_More...</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="valign">end</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="swlo-SwAddressPreview" id="settingspreview:border">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="hideempty">
+ <property name="label" translatable="yes">_Suppress lines with just empty fields</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkGrid" id="step4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="row_spacing">6</property>
+ <child>
+ <object class="GtkAlignment" id="alignment3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkGrid" id="grid9">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="row_spacing">6</property>
+ <child>
+ <object class="swlo-SwAddressPreview" id="addresspreview:border">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkGrid" id="grid10">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="column_spacing">6</property>
+ <child>
+ <object class="GtkButton" id="prev">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="tooltip_text" translatable="yes">Preview Previous Address Block</property>
+ <property name="image">image1</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="next">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="tooltip_text" translatable="yes">Preview Next Address Block</property>
+ <property name="image">image2</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="documentindex">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="xalign">1</property>
+ <property name="label" translatable="yes">Document: %1</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkGrid" id="grid6">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="column_spacing">12</property>
+ <child>
+ <object class="GtkLabel" id="label6">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="label" translatable="yes">Check if the address data matches correctly.</property>
+ <property name="wrap">True</property>
+ <property name="max_width_chars">56</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="settingsft2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <property name="label" translatable="yes">4.</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">3</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Insert address block</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ <object class="GtkSizeGroup" id="sizegroup1">
+ <widgets>
+ <widget name="assign"/>
+ <widget name="settings"/>
+ </widgets>
+ </object>
+ <object class="GtkSizeGroup" id="sizegroup2">
+ <widgets>
+ <widget name="addresslist"/>
+ <widget name="differentlist"/>
+ </widgets>
+ </object>
+</interface>