[Libreoffice-commits] .: Branch 'feature/cmclayouttrans' - 2 commits - sw/source sw/uiconfig sw/UI_swriter.mk
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Sep 26 02:15:10 PDT 2012
sw/UI_swriter.mk | 1
sw/source/ui/app/app.src | 15
sw/source/ui/inc/app.hrc | 5
sw/source/ui/inc/srtdlg.hxx | 75 +--
sw/source/ui/misc/srtdlg.cxx | 363 +++++++---------
sw/source/ui/misc/srtdlg.src | 315 --------------
sw/source/ui/misc/titlepage.cxx | 3
sw/uiconfig/swriter/ui/sortdialog.ui | 786 +++++++++++++++++++++++++++++++++++
8 files changed, 1013 insertions(+), 550 deletions(-)
New commits:
commit 144a724a64ad1fa24b73bc0c04ad433f91eb2b9a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Sep 26 09:52:48 2012 +0100
adapt sort-dialog code to use new layout
Change-Id: I925ebfaf1343be84d47736bd0d5703adfd1692d7
diff --git a/sw/UI_swriter.mk b/sw/UI_swriter.mk
index b03328e..b08b0fb 100644
--- a/sw/UI_swriter.mk
+++ b/sw/UI_swriter.mk
@@ -17,6 +17,7 @@ $(eval $(call gb_UI_add_uifiles,modules/swriter,\
sw/uiconfig/swriter/ui/inserttable \
sw/uiconfig/swriter/ui/linenumbering \
sw/uiconfig/swriter/ui/printeroptions \
+ sw/uiconfig/swriter/ui/sortdialog \
sw/uiconfig/swriter/ui/splittable \
sw/uiconfig/swriter/ui/stringinput \
sw/uiconfig/swriter/ui/titlepage \
diff --git a/sw/source/ui/app/app.src b/sw/source/ui/app/app.src
index b4f0e5d..99d63e9 100644
--- a/sw/source/ui/app/app.src
+++ b/sw/source/ui/app/app.src
@@ -640,6 +640,21 @@ String STR_INVALID_AUTOFORMAT_NAME
Text [ en-US ] = "You have entered an invalid name.\nThe desired AutoFormat could not be created. \nTry again using a different name." ;
};
+String STR_NUMERIC
+{
+ Text [ en-US ] = "Numeric";
+};
+
+String STR_ROW
+{
+ Text [ en-US ] = "Rows" ;
+};
+
+String STR_COL
+{
+ Text [ en-US ] = "Column" ;
+};
+
ToolBox RID_MODULE_TOOLBOX
{
HelpID = HID_MODULE_TOOLBOX ;
diff --git a/sw/source/ui/inc/app.hrc b/sw/source/ui/inc/app.hrc
index 8346d0e..1e92427 100644
--- a/sw/source/ui/inc/app.hrc
+++ b/sw/source/ui/inc/app.hrc
@@ -111,8 +111,11 @@
#define STR_MID (RC_APP_BEGIN + 123)
#define STR_SOUTH (RC_APP_BEGIN + 124)
#define STR_SUM (RC_APP_BEGIN + 125)
+#define STR_NUMERIC (RC_APP_BEGIN + 126)
+#define STR_COL (RC_APP_BEGIN + 127)
+#define STR_ROW (RC_APP_BEGIN + 128)
-#define APP_ACT_END STR_SUM
+#define APP_ACT_END STR_ROW
#if APP_ACT_END > RC_APP_END
#error Resource-Id Ueberlauf in #file, #line
diff --git a/sw/source/ui/inc/srtdlg.hxx b/sw/source/ui/inc/srtdlg.hxx
index c9993a2..90057a3 100644
--- a/sw/source/ui/inc/srtdlg.hxx
+++ b/sw/source/ui/inc/srtdlg.hxx
@@ -40,49 +40,38 @@ class CollatorRessource;
class SwSortDlg : public SvxStandardDialog
{
- FixedText aColLbl;
- FixedText aTypLbl;
- FixedText aDirLbl;
-
- FixedLine aSortFL;
-
- CheckBox aKeyCB1;
- NumericField aColEdt1;
- ListBox aTypDLB1;
- RadioButton aSortUpRB;
- RadioButton aSortDnRB;
-
- CheckBox aKeyCB2;
- NumericField aColEdt2;
- ListBox aTypDLB2;
- RadioButton aSortUp2RB;
- RadioButton aSortDn2RB;
-
- CheckBox aKeyCB3;
- NumericField aColEdt3;
- ListBox aTypDLB3;
- RadioButton aSortUp3RB;
- RadioButton aSortDn3RB;
-
- FixedLine aDirFL;
- RadioButton aColumnRB;
- RadioButton aRowRB;
-
- FixedLine aDelimFL;
- RadioButton aDelimTabRB;
- RadioButton aDelimFreeRB;
- Edit aDelimEdt;
- PushButton aDelimPB;
-
- FixedLine aLangFL;
- SvxLanguageBox aLangLB;
-
- FixedLine aSortOptFL;
- CheckBox aCaseCB;
-
- OKButton aOkBtn;
- CancelButton aCancelBtn;
- HelpButton aHelpBtn;
+ FixedText* m_pColLbl;
+ FixedText* m_pTypLbl;
+
+ CheckBox* m_pKeyCB1;
+ NumericField* m_pColEdt1;
+ ListBox* m_pTypDLB1;
+ RadioButton* m_pSortUp1RB;
+ RadioButton* m_pSortDn1RB;
+
+ CheckBox* m_pKeyCB2;
+ NumericField* m_pColEdt2;
+ ListBox* m_pTypDLB2;
+ RadioButton* m_pSortUp2RB;
+ RadioButton* m_pSortDn2RB;
+
+ CheckBox* m_pKeyCB3;
+ NumericField* m_pColEdt3;
+ ListBox* m_pTypDLB3;
+ RadioButton* m_pSortUp3RB;
+ RadioButton* m_pSortDn3RB;
+
+ RadioButton* m_pColumnRB;
+ RadioButton* m_pRowRB;
+
+ RadioButton* m_pDelimTabRB;
+ RadioButton* m_pDelimFreeRB;
+ Edit* m_pDelimEdt;
+ PushButton* m_pDelimPB;
+
+ SvxLanguageBox* m_pLangLB;
+
+ CheckBox* m_pCaseCB;
String aColTxt;
String aRowTxt;
diff --git a/sw/source/ui/misc/srtdlg.cxx b/sw/source/ui/misc/srtdlg.cxx
index 59936af..ce9fc68 100644
--- a/sw/source/ui/misc/srtdlg.cxx
+++ b/sw/source/ui/misc/srtdlg.cxx
@@ -47,7 +47,7 @@
#include <cmdid.h>
#include <wrtsh.hxx>
#include <misc.hrc>
-#include <srtdlg.hrc>
+#include <app.hrc>
#include <swtable.hxx>
#include <node.hxx>
#include <tblsel.hxx>
@@ -119,187 +119,172 @@ sal_Bool lcl_GetSelTbl( SwWrtShell &rSh, sal_uInt16& rX, sal_uInt16& rY )
/*--------------------------------------------------------------------
Description: init list
--------------------------------------------------------------------*/
-SwSortDlg::SwSortDlg(Window* pParent, SwWrtShell &rShell) :
-
- SvxStandardDialog(pParent, SW_RES(DLG_SORTING)),
-
- aColLbl(this, SW_RES(FT_COL )),
- aTypLbl(this, SW_RES(FT_KEYTYP)),
- aDirLbl(this, SW_RES(FT_DIR )),
- aSortFL(this, SW_RES(FL_SORT_2 )),
-
-
- aKeyCB1(this, SW_RES(CB_KEY1 )),
- aColEdt1(this, SW_RES(ED_KEY1 )),
- aTypDLB1(this, SW_RES(DLB_KEY1 )),
- aSortUpRB(this, SW_RES(RB_UP )),
- aSortDnRB(this, SW_RES(RB_DN )),
-
- aKeyCB2(this, SW_RES(CB_KEY2 )),
- aColEdt2(this, SW_RES(ED_KEY2 )),
- aTypDLB2(this, SW_RES(DLB_KEY2 )),
- aSortUp2RB(this, SW_RES(RB_UP2 )),
- aSortDn2RB(this, SW_RES(RB_DN2 )),
-
- aKeyCB3(this, SW_RES(CB_KEY3 )),
- aColEdt3(this, SW_RES(ED_KEY3 )),
- aTypDLB3(this, SW_RES(DLB_KEY3 )),
- aSortUp3RB(this, SW_RES(RB_UP3 )),
- aSortDn3RB(this, SW_RES(RB_DN3 )),
- aDirFL(this, SW_RES(FL_DIR )),
-
- aColumnRB(this, SW_RES(RB_COL )),
- aRowRB(this, SW_RES(RB_ROW )),
-
- aDelimFL(this, SW_RES(FL_DELIM )),
- aDelimTabRB(this, SW_RES(RB_TAB )),
- aDelimFreeRB(this, SW_RES(RB_TABCH )),
- aDelimEdt(this, SW_RES(ED_TABCH )),
- aDelimPB(this, SW_RES( PB_DELIM)),
-
- aLangFL(this, SW_RES( FL_LANG )),
- aLangLB(this, SW_RES( LB_LANG )),
-
- aSortOptFL(this, SW_RES( FL_SORT )),
- aCaseCB(this, SW_RES( CB_CASE )),
-
- aOkBtn(this, SW_RES(BT_OK )),
- aCancelBtn(this, SW_RES(BT_CANCEL)),
- aHelpBtn(this, SW_RES(BT_HELP )),
-
- aColTxt( SW_RES(STR_COL)),
- aRowTxt( SW_RES(STR_ROW)),
- aNumericTxt( SW_RES(STR_NUMERIC)),
- rSh(rShell),
- pColRes( 0 ),
- nX( 99 ),
- nY( 99 )
+SwSortDlg::SwSortDlg(Window* pParent, SwWrtShell &rShell)
+ : SvxStandardDialog(pParent, "SortDialog", "modules/swriter/ui/sortdialog.ui")
+ , aColTxt(SW_RES(STR_COL))
+ , aRowTxt(SW_RES(STR_ROW))
+ , aNumericTxt(SW_RES(STR_NUMERIC))
+ , rSh(rShell)
+ , pColRes(0)
+ , nX(99)
+ , nY(99)
{
- aColEdt1.SetAccessibleName(aColLbl.GetText());
- aColEdt2.SetAccessibleName(aColLbl.GetText());
- aColEdt3.SetAccessibleName(aColLbl.GetText());
- aTypDLB1.SetAccessibleName(aTypLbl.GetText());
- aTypDLB2.SetAccessibleName(aTypLbl.GetText());
- aTypDLB3.SetAccessibleName(aTypLbl.GetText());
- aSortUpRB.SetAccessibleRelationMemberOf( &aKeyCB1 );
- aSortDnRB.SetAccessibleRelationMemberOf( &aKeyCB1 );
- aSortUp2RB.SetAccessibleRelationMemberOf( &aKeyCB2 );
- aSortDn2RB.SetAccessibleRelationMemberOf( &aKeyCB2 );
- aSortUp3RB.SetAccessibleRelationMemberOf( &aKeyCB3 );
- aSortDn3RB.SetAccessibleRelationMemberOf( &aKeyCB3 );
-
- aDelimEdt.SetMaxTextLen( 1 );
+ get(m_pColLbl, "column");
+ get(m_pTypLbl, "keytype");
+
+ get(m_pKeyCB1, "key1");
+ get(m_pColEdt1, "colsb1");
+ get(m_pTypDLB1, "typelb1");
+ get(m_pSortUp1RB, "up1");
+ get(m_pSortDn1RB, "down1");
+
+ get(m_pKeyCB2, "key2");
+ get(m_pColEdt2, "colsb2");
+ get(m_pTypDLB2, "typelb2");
+ get(m_pSortUp2RB, "up2");
+ get(m_pSortDn2RB, "down2");
+
+ get(m_pKeyCB3, "key3");
+ get(m_pColEdt3, "colsb3");
+ get(m_pTypDLB3, "typelb3");
+ get(m_pSortUp3RB, "up3");
+ get(m_pSortDn3RB, "down3");
+
+ get(m_pColumnRB, "columns");
+ get(m_pRowRB, "rows");
+
+ get(m_pDelimTabRB, "tabs");
+ get(m_pDelimFreeRB, "character");
+ get(m_pDelimEdt, "separator");
+ get(m_pDelimPB, "delimpb");
+
+ get(m_pLangLB, "langlb");
+ get(m_pCaseCB, "matchcase");
+
+ m_pColEdt1->SetAccessibleName(m_pColLbl->GetText());
+ m_pColEdt2->SetAccessibleName(m_pColLbl->GetText());
+ m_pColEdt3->SetAccessibleName(m_pColLbl->GetText());
+ m_pTypDLB1->SetAccessibleName(m_pTypLbl->GetText());
+ m_pTypDLB2->SetAccessibleName(m_pTypLbl->GetText());
+ m_pTypDLB3->SetAccessibleName(m_pTypLbl->GetText());
+ m_pSortUp1RB->SetAccessibleRelationMemberOf(m_pKeyCB1);
+ m_pSortDn1RB->SetAccessibleRelationMemberOf(m_pKeyCB1);
+ m_pSortUp2RB->SetAccessibleRelationMemberOf(m_pKeyCB2);
+ m_pSortDn2RB->SetAccessibleRelationMemberOf(m_pKeyCB2);
+ m_pSortUp3RB->SetAccessibleRelationMemberOf(m_pKeyCB3);
+ m_pSortDn3RB->SetAccessibleRelationMemberOf(m_pKeyCB3);
+
+ m_pDelimEdt->SetMaxTextLen( 1 );
if(rSh.GetSelectionType() &
(nsSelectionType::SEL_TBL|nsSelectionType::SEL_TBL_CELLS) )
{
- aColumnRB.Check(bCol);
- aColLbl.SetText(bCol ? aRowTxt : aColTxt);
- aRowRB.Check(!bCol);
- aDelimTabRB.Enable(sal_False);
- aDelimFreeRB.Enable(sal_False);
- aDelimEdt.Enable(sal_False);
+ m_pColumnRB->Check(bCol);
+ m_pColLbl->SetText(bCol ? aRowTxt : aColTxt);
+ m_pRowRB->Check(!bCol);
+ m_pDelimTabRB->Enable(sal_False);
+ m_pDelimFreeRB->Enable(sal_False);
+ m_pDelimEdt->Enable(sal_False);
}
else
{
- aColumnRB.Enable(sal_False);
- aRowRB.Check(sal_True);
- aColLbl.SetText(aColTxt);
+ m_pColumnRB->Enable(sal_False);
+ m_pRowRB->Check(sal_True);
+ m_pColLbl->SetText(aColTxt);
}
// initialise
Link aLk = LINK(this,SwSortDlg, CheckHdl);
- aKeyCB1.SetClickHdl( aLk );
- aKeyCB2.SetClickHdl( aLk );
- aKeyCB3.SetClickHdl( aLk );
- aColumnRB.SetClickHdl( aLk );
- aRowRB.SetClickHdl( aLk );
+ m_pKeyCB1->SetClickHdl( aLk );
+ m_pKeyCB2->SetClickHdl( aLk );
+ m_pKeyCB3->SetClickHdl( aLk );
+ m_pColumnRB->SetClickHdl( aLk );
+ m_pRowRB->SetClickHdl( aLk );
aLk = LINK(this,SwSortDlg, DelimHdl);
- aDelimFreeRB.SetClickHdl(aLk);
- aDelimTabRB.SetClickHdl(aLk);
+ m_pDelimFreeRB->SetClickHdl(aLk);
+ m_pDelimTabRB->SetClickHdl(aLk);
- aDelimPB.SetClickHdl( LINK( this, SwSortDlg, DelimCharHdl ));
+ m_pDelimPB->SetClickHdl( LINK( this, SwSortDlg, DelimCharHdl ));
- aKeyCB1.Check(bCheck1);
- aKeyCB2.Check(bCheck2);
- aKeyCB3.Check(bCheck3);
+ m_pKeyCB1->Check(bCheck1);
+ m_pKeyCB2->Check(bCheck2);
+ m_pKeyCB3->Check(bCheck3);
- aColEdt1.SetValue(nCol1);
- aColEdt2.SetValue(nCol2);
- aColEdt3.SetValue(nCol3);
+ m_pColEdt1->SetValue(nCol1);
+ m_pColEdt2->SetValue(nCol2);
+ m_pColEdt3->SetValue(nCol3);
// first initialise the language, then select the
if( LANGUAGE_NONE == nLang || LANGUAGE_DONTKNOW == nLang )
nLang = (sal_uInt16)GetAppLanguage();
- aLangLB.SetLanguageList( LANG_LIST_ALL | LANG_LIST_ONLY_KNOWN, sal_True, sal_False);
- aLangLB.SelectLanguage( nLang );
+ m_pLangLB->SetLanguageList( LANG_LIST_ALL | LANG_LIST_ONLY_KNOWN, sal_True, sal_False);
+ m_pLangLB->SelectLanguage( nLang );
LanguageHdl( 0 );
- aLangLB.SetSelectHdl( LINK( this, SwSortDlg, LanguageHdl ));
+ m_pLangLB->SetSelectHdl( LINK( this, SwSortDlg, LanguageHdl ));
- aSortUpRB.Check(bAsc1);
- aSortDnRB.Check(!bAsc1);
- aSortUp2RB.Check(bAsc2);
- aSortDn2RB.Check(!bAsc2);
- aSortUp3RB.Check(bAsc3);
- aSortDn3RB.Check(!bAsc3);
+ m_pSortUp1RB->Check(bAsc1);
+ m_pSortDn1RB->Check(!bAsc1);
+ m_pSortUp2RB->Check(bAsc2);
+ m_pSortDn2RB->Check(!bAsc2);
+ m_pSortUp3RB->Check(bAsc3);
+ m_pSortDn3RB->Check(!bAsc3);
- aCaseCB.Check( bCsSens );
+ m_pCaseCB->Check( bCsSens );
- aDelimTabRB.Check(cDeli == '\t');
- if(!aDelimTabRB.IsChecked())
+ m_pDelimTabRB->Check(cDeli == '\t');
+ if(!m_pDelimTabRB->IsChecked())
{
- aDelimEdt.SetText(cDeli);
- aDelimFreeRB.Check(sal_True);
- DelimHdl(&aDelimFreeRB);
+ m_pDelimEdt->SetText(cDeli);
+ m_pDelimFreeRB->Check(sal_True);
+ DelimHdl(m_pDelimFreeRB);
}
else
- DelimHdl(&aDelimTabRB);
+ DelimHdl(m_pDelimTabRB);
- FreeResource();
if( ::lcl_GetSelTbl( rSh, nX, nY) )
{
- sal_uInt16 nMax = aRowRB.IsChecked()? nY : nX;
- aColEdt1.SetMax(nMax);
- aColEdt2.SetMax(nMax);
- aColEdt3.SetMax(nMax);
+ sal_uInt16 nMax = m_pRowRB->IsChecked()? nY : nX;
+ m_pColEdt1->SetMax(nMax);
+ m_pColEdt2->SetMax(nMax);
+ m_pColEdt3->SetMax(nMax);
}
- aDelimEdt.SetAccessibleRelationLabeledBy(&aDelimFreeRB);
- aDelimPB.SetAccessibleRelationLabeledBy(&aDelimFreeRB);
- aDelimPB.SetAccessibleRelationMemberOf(&aDelimFL);
+ m_pDelimEdt->SetAccessibleRelationLabeledBy(m_pDelimFreeRB);
+ m_pDelimPB->SetAccessibleRelationLabeledBy(m_pDelimFreeRB);
+ m_pDelimPB->SetAccessibleRelationMemberOf(m_pDelimFreeRB);
- aColEdt1.SetAccessibleRelationMemberOf(&aKeyCB1);
- aColEdt1.SetAccessibleRelationLabeledBy(&aColLbl);
- aTypDLB1.SetAccessibleRelationMemberOf(&aKeyCB1);
- aTypDLB1.SetAccessibleRelationLabeledBy(&aTypLbl);
+ m_pColEdt1->SetAccessibleRelationMemberOf(m_pKeyCB1);
+ m_pColEdt1->SetAccessibleRelationLabeledBy(m_pColLbl);
+ m_pTypDLB1->SetAccessibleRelationMemberOf(m_pKeyCB1);
+ m_pTypDLB1->SetAccessibleRelationLabeledBy(m_pTypLbl);
- aColEdt2.SetAccessibleRelationMemberOf(&aKeyCB2);
- aColEdt2.SetAccessibleRelationLabeledBy(&aColLbl);
- aTypDLB2.SetAccessibleRelationMemberOf(&aKeyCB2);
- aTypDLB2.SetAccessibleRelationLabeledBy(&aTypLbl);
+ m_pColEdt2->SetAccessibleRelationMemberOf(m_pKeyCB2);
+ m_pColEdt2->SetAccessibleRelationLabeledBy(m_pColLbl);
+ m_pTypDLB2->SetAccessibleRelationMemberOf(m_pKeyCB2);
+ m_pTypDLB2->SetAccessibleRelationLabeledBy(m_pTypLbl);
- aColEdt3.SetAccessibleRelationMemberOf(&aKeyCB3);
- aColEdt3.SetAccessibleRelationLabeledBy(&aColLbl);
- aTypDLB3.SetAccessibleRelationMemberOf(&aKeyCB3);
- aTypDLB3.SetAccessibleRelationLabeledBy(&aTypLbl);
+ m_pColEdt3->SetAccessibleRelationMemberOf(m_pKeyCB3);
+ m_pColEdt3->SetAccessibleRelationLabeledBy(m_pColLbl);
+ m_pTypDLB3->SetAccessibleRelationMemberOf(m_pKeyCB3);
+ m_pTypDLB3->SetAccessibleRelationLabeledBy(m_pTypLbl);
}
SwSortDlg::~SwSortDlg()
{
- ::lcl_ClearLstBoxAndDelUserData( aTypDLB1 );
- ::lcl_ClearLstBoxAndDelUserData( aTypDLB2 );
- ::lcl_ClearLstBoxAndDelUserData( aTypDLB3 );
+ ::lcl_ClearLstBoxAndDelUserData(*m_pTypDLB1);
+ ::lcl_ClearLstBoxAndDelUserData(*m_pTypDLB2);
+ ::lcl_ClearLstBoxAndDelUserData(*m_pTypDLB3);
delete pColRes;
}
sal_Unicode SwSortDlg::GetDelimChar() const
{
sal_Unicode cRet = '\t';
- if( !aDelimTabRB.IsChecked() )
+ if( !m_pDelimTabRB->IsChecked() )
{
- String aTmp( aDelimEdt.GetText() );
+ String aTmp( m_pDelimEdt->GetText() );
if( aTmp.Len() )
cRet = aTmp.GetChar( 0 );
}
@@ -312,35 +297,35 @@ sal_Unicode SwSortDlg::GetDelimChar() const
void SwSortDlg::Apply()
{
// save all settings
- bCheck1 = aKeyCB1.IsChecked();
- bCheck2 = aKeyCB2.IsChecked();
- bCheck3 = aKeyCB3.IsChecked();
-
- nCol1 = (sal_uInt16)aColEdt1.GetValue();
- nCol2 = (sal_uInt16)aColEdt2.GetValue();
- nCol3 = (sal_uInt16)aColEdt3.GetValue();
-
- nType1 = aTypDLB1.GetSelectEntryPos();
- nType2 = aTypDLB2.GetSelectEntryPos();
- nType3 = aTypDLB3.GetSelectEntryPos();
-
- bAsc1 = aSortUpRB.IsChecked();
- bAsc2 = aSortUp2RB.IsChecked();
- bAsc3 = aSortUp3RB.IsChecked();
- bCol = aColumnRB.IsChecked();
- nLang = aLangLB.GetSelectLanguage();
+ bCheck1 = m_pKeyCB1->IsChecked();
+ bCheck2 = m_pKeyCB2->IsChecked();
+ bCheck3 = m_pKeyCB3->IsChecked();
+
+ nCol1 = (sal_uInt16)m_pColEdt1->GetValue();
+ nCol2 = (sal_uInt16)m_pColEdt2->GetValue();
+ nCol3 = (sal_uInt16)m_pColEdt3->GetValue();
+
+ nType1 = m_pTypDLB1->GetSelectEntryPos();
+ nType2 = m_pTypDLB2->GetSelectEntryPos();
+ nType3 = m_pTypDLB3->GetSelectEntryPos();
+
+ bAsc1 = m_pSortUp1RB->IsChecked();
+ bAsc2 = m_pSortUp2RB->IsChecked();
+ bAsc3 = m_pSortUp3RB->IsChecked();
+ bCol = m_pColumnRB->IsChecked();
+ nLang = m_pLangLB->GetSelectLanguage();
cDeli = GetDelimChar();
- bCsSens = aCaseCB.IsChecked();
+ bCsSens = m_pCaseCB->IsChecked();
void* pUserData;
SwSortOptions aOptions;
if( bCheck1 )
{
- String sEntry( aTypDLB1.GetSelectEntry() );
+ String sEntry( m_pTypDLB1->GetSelectEntry() );
if( sEntry == aNumericTxt )
sEntry.Erase();
- else if( 0 != (pUserData = aTypDLB1.GetEntryData(
- aTypDLB1.GetSelectEntryPos())) )
+ else if( 0 != (pUserData = m_pTypDLB1->GetEntryData(
+ m_pTypDLB1->GetSelectEntryPos())) )
sEntry = *(String*)pUserData;
SwSortKey *pKey = new SwSortKey( nCol1, sEntry,
@@ -350,11 +335,11 @@ void SwSortDlg::Apply()
if( bCheck2 )
{
- String sEntry( aTypDLB2.GetSelectEntry() );
+ String sEntry( m_pTypDLB2->GetSelectEntry() );
if( sEntry == aNumericTxt )
sEntry.Erase();
- else if( 0 != (pUserData = aTypDLB2.GetEntryData(
- aTypDLB2.GetSelectEntryPos())) )
+ else if( 0 != (pUserData = m_pTypDLB2->GetEntryData(
+ m_pTypDLB2->GetSelectEntryPos())) )
sEntry = *(String*)pUserData;
SwSortKey *pKey = new SwSortKey( nCol2, sEntry,
@@ -364,11 +349,11 @@ void SwSortDlg::Apply()
if( bCheck3 )
{
- String sEntry( aTypDLB3.GetSelectEntry() );
+ String sEntry( m_pTypDLB3->GetSelectEntry() );
if( sEntry == aNumericTxt )
sEntry.Erase();
- else if( 0 != (pUserData = aTypDLB3.GetEntryData(
- aTypDLB3.GetSelectEntryPos())) )
+ else if( 0 != (pUserData = m_pTypDLB3->GetEntryData(
+ m_pTypDLB3->GetSelectEntryPos())) )
sEntry = *(String*)pUserData;
SwSortKey *pKey = new SwSortKey( nCol3, sEntry,
@@ -397,9 +382,9 @@ void SwSortDlg::Apply()
IMPL_LINK( SwSortDlg, DelimHdl, RadioButton*, pButton )
{
- sal_Bool bEnable = pButton == &aDelimFreeRB && aDelimFreeRB.IsEnabled();
- aDelimEdt.Enable( bEnable );
- aDelimPB.Enable( bEnable );
+ sal_Bool bEnable = pButton == m_pDelimFreeRB && m_pDelimFreeRB->IsEnabled();
+ m_pDelimEdt->Enable( bEnable );
+ m_pDelimPB->Enable( bEnable );
return 0;
}
@@ -410,13 +395,13 @@ IMPL_LINK_NOARG(SwSortDlg, DelimCharHdl)
{
SfxAllItemSet aSet( rSh.GetAttrPool() );
aSet.Put( SfxInt32Item( SID_ATTR_CHAR, GetDelimChar() ) );
- SfxAbstractDialog* pMap = pFact->CreateSfxDialog( &aDelimPB, aSet,
+ SfxAbstractDialog* pMap = pFact->CreateSfxDialog( m_pDelimPB, aSet,
rSh.GetView().GetViewFrame()->GetFrame().GetFrameInterface(), RID_SVXDLG_CHARMAP );
if( RET_OK == pMap->Execute() )
{
SFX_ITEMSET_ARG( pMap->GetOutputItemSet(), pItem, SfxInt32Item, SID_ATTR_CHAR, sal_False );
if ( pItem )
- aDelimEdt.SetText( sal_Unicode ( pItem->GetValue() ) );
+ m_pDelimEdt->SetText( sal_Unicode ( pItem->GetValue() ) );
}
delete pMap;
@@ -426,38 +411,38 @@ IMPL_LINK_NOARG(SwSortDlg, DelimCharHdl)
IMPL_LINK( SwSortDlg, CheckHdl, CheckBox *, pCheck )
{
- if( pCheck == ( CheckBox* ) &aRowRB)
+ if( pCheck == ( CheckBox* ) m_pRowRB)
{
- aColLbl.SetText(aColTxt);
- aColEdt1.SetMax(nY);
- aColEdt2.SetMax(nY);
- aColEdt3.SetMax(nY);
-
- aColEdt1.SetAccessibleName(aColTxt);
- aColEdt2.SetAccessibleName(aColTxt);
- aColEdt3.SetAccessibleName(aColTxt);
+ m_pColLbl->SetText(aColTxt);
+ m_pColEdt1->SetMax(nY);
+ m_pColEdt2->SetMax(nY);
+ m_pColEdt3->SetMax(nY);
+
+ m_pColEdt1->SetAccessibleName(aColTxt);
+ m_pColEdt2->SetAccessibleName(aColTxt);
+ m_pColEdt3->SetAccessibleName(aColTxt);
}
- else if( pCheck == ( CheckBox* ) &aColumnRB)
+ else if( pCheck == ( CheckBox* ) m_pColumnRB)
{
- aColLbl.SetText(aRowTxt);
- aColEdt1.SetMax(nX);
- aColEdt2.SetMax(nX);
- aColEdt3.SetMax(nX);
-
- aColEdt1.SetAccessibleName(aRowTxt);
- aColEdt2.SetAccessibleName(aRowTxt);
- aColEdt3.SetAccessibleName(aRowTxt);
+ m_pColLbl->SetText(aRowTxt);
+ m_pColEdt1->SetMax(nX);
+ m_pColEdt2->SetMax(nX);
+ m_pColEdt3->SetMax(nX);
+
+ m_pColEdt1->SetAccessibleName(aRowTxt);
+ m_pColEdt2->SetAccessibleName(aRowTxt);
+ m_pColEdt3->SetAccessibleName(aRowTxt);
}
- else if(!aKeyCB1.IsChecked() &&
- !aKeyCB2.IsChecked() &&
- !aKeyCB3.IsChecked())
+ else if(!m_pKeyCB1->IsChecked() &&
+ !m_pKeyCB2->IsChecked() &&
+ !m_pKeyCB3->IsChecked())
pCheck->Check(sal_True);
return 0;
}
IMPL_LINK( SwSortDlg, LanguageHdl, ListBox*, pLBox )
{
- lang::Locale aLcl( SvxCreateLocale( aLangLB.GetSelectLanguage() ) );
+ lang::Locale aLcl( SvxCreateLocale( m_pLangLB->GetSelectLanguage() ) );
Sequence < OUString > aSeq(
GetAppCollator().listCollatorAlgorithms( aLcl ));
@@ -465,7 +450,7 @@ IMPL_LINK( SwSortDlg, LanguageHdl, ListBox*, pLBox )
pColRes = new CollatorRessource();
const sal_uInt16 nLstBoxCnt = 3;
- ListBox* aLstArr[ nLstBoxCnt ] = { &aTypDLB1, &aTypDLB2, &aTypDLB3 };
+ ListBox* aLstArr[ nLstBoxCnt ] = { m_pTypDLB1, m_pTypDLB2, m_pTypDLB3 };
sal_uInt16* aTypeArr[ nLstBoxCnt ] = { &nType1, &nType2, &nType3 };
String aOldStrArr[ nLstBoxCnt ];
sal_uInt16 n;
diff --git a/sw/source/ui/misc/srtdlg.src b/sw/source/ui/misc/srtdlg.src
index ff69e18..e95b70c 100644
--- a/sw/source/ui/misc/srtdlg.src
+++ b/sw/source/ui/misc/srtdlg.src
@@ -26,324 +26,9 @@
************************************************************************/
#include "misc.hrc"
-#include "srtdlg.hrc"
#include "cmdid.h"
#include "helpid.h"
-ModalDialog DLG_SORTING
-{
- HelpID = CMD_FN_SORTING_DLG ;
- OutputSize = TRUE ;
- SVLook = TRUE ;
- Size = MAP_APPFONT ( 268 , 193 ) ;
- Text [ en-US ] = "Sort" ;
- Moveable = TRUE ;
- OKButton BT_OK
- {
- Pos = MAP_APPFONT ( 212 , 6 ) ;
- Size = MAP_APPFONT ( 50 , 14 ) ;
- TabStop = TRUE ;
- DefButton = TRUE ;
- };
- CancelButton BT_CANCEL
- {
- Pos = MAP_APPFONT ( 212 , 23 ) ;
- Size = MAP_APPFONT ( 50 , 14 ) ;
- TabStop = TRUE ;
- };
- HelpButton BT_HELP
- {
- Pos = MAP_APPFONT ( 212 , 43 ) ;
- Size = MAP_APPFONT ( 50 , 14 ) ;
- TabStop = TRUE ;
- };
- FixedText FT_COL
- {
- Pos = MAP_APPFONT ( 68 , 12 ) ;
- Size = MAP_APPFONT ( 25 , 8 ) ;
- Text [ en-US ] = "Column" ;
- Left = TRUE ;
- };
- FixedText FT_KEYTYP
- {
- Pos = MAP_APPFONT ( 101, 12 ) ;
- Size = MAP_APPFONT ( 48 , 8 ) ;
- Text [ en-US ] = "Key type" ;
- Left = TRUE ;
- };
- FixedText FT_DIR
- {
- Pos = MAP_APPFONT ( 155 , 12 ) ;
- Size = MAP_APPFONT ( 49 , 10 ) ;
- Text [ en-US ] = "Order" ;
- };
- CheckBox CB_KEY1
- {
- HelpID = "sw:CheckBox:DLG_SORTING:CB_KEY1";
- Pos = MAP_APPFONT ( 12 , 25 ) ;
- Size = MAP_APPFONT ( 49 , 8 ) ;
- Text [ en-US ] = "Key ~1" ;
- Check = TRUE ;
- };
- NumericField ED_KEY1
- {
- HelpID = "sw:NumericField:DLG_SORTING:ED_KEY1";
- Border = TRUE ;
- Pos = MAP_APPFONT ( 66 , 23 ) ;
- Size = MAP_APPFONT ( 25 , 12 ) ;
- Text = "10" ;
- TabStop = TRUE ;
- Left = TRUE ;
- Repeat = TRUE ;
- Spin = TRUE ;
- Minimum = 1 ;
- Maximum = 99 ;
- Value = 1 ;
- First = 1 ;
- Last = 99 ;
- SpinSize = 1 ;
- };
- String STR_NUMERIC
- {
- Text [ en-US ] = "Numeric";
- };
- ListBox DLB_KEY1
- {
- HelpID = "sw:ListBox:DLG_SORTING:DLB_KEY1";
- Pos = MAP_APPFONT ( 96 , 23 ) ;
- Size = MAP_APPFONT ( 55 , 45 ) ;
- TabStop = TRUE ;
- DropDown = TRUE ;
- CurPos = 0 ;
- Sort = TRUE;
- };
- RadioButton RB_UP
- {
- HelpID = "sw:RadioButton:DLG_SORTING:RB_UP";
- Pos = MAP_APPFONT ( 155 , 23 ) ;
- Size = MAP_APPFONT ( 50 , 10 ) ;
- Text [ en-US ] = "~Ascending" ;
- TabStop = TRUE ;
- Check = TRUE ;
- };
- RadioButton RB_DN
- {
- HelpID = "sw:RadioButton:DLG_SORTING:RB_DN";
- Pos = MAP_APPFONT ( 155 , 35 ) ;
- Size = MAP_APPFONT ( 50 , 10 ) ;
- Text [ en-US ] = "~Descending" ;
- TabStop = TRUE ;
- };
- CheckBox CB_KEY2
- {
- HelpID = "sw:CheckBox:DLG_SORTING:CB_KEY2";
- Pos = MAP_APPFONT ( 12 , 52 ) ;
- Size = MAP_APPFONT ( 49 , 8 ) ;
- Text [ en-US ] = "Key ~2" ;
- };
- NumericField ED_KEY2
- {
- HelpID = "sw:NumericField:DLG_SORTING:ED_KEY2";
- Border = TRUE ;
- Pos = MAP_APPFONT ( 66 , 50 ) ;
- Size = MAP_APPFONT ( 25 , 12 ) ;
- TabStop = TRUE ;
- Left = TRUE ;
- Repeat = TRUE ;
- Spin = TRUE ;
- Minimum = 1 ;
- Maximum = 99 ;
- Value = 1 ;
- First = 1 ;
- Last = 99 ;
- SpinSize = 1 ;
- };
- ListBox DLB_KEY2
- {
- HelpID = "sw:ListBox:DLG_SORTING:DLB_KEY2";
- Pos = MAP_APPFONT ( 96 , 50 ) ;
- Size = MAP_APPFONT ( 55 , 45 ) ;
- TabStop = TRUE ;
- DropDown = TRUE ;
- CurPos = 0 ;
- Sort = TRUE;
- };
- RadioButton RB_UP2
- {
- HelpID = "sw:RadioButton:DLG_SORTING:RB_UP2";
- Pos = MAP_APPFONT ( 155 , 50 ) ;
- Size = MAP_APPFONT ( 50 , 10 ) ;
- Text [ en-US ] = "Ascending" ;
- TabStop = TRUE ;
- Check = TRUE ;
- };
- RadioButton RB_DN2
- {
- HelpID = "sw:RadioButton:DLG_SORTING:RB_DN2";
- Pos = MAP_APPFONT ( 155 , 62 ) ;
- Size = MAP_APPFONT ( 50 , 10 ) ;
- Text [ en-US ] = "Descending" ;
- TabStop = TRUE ;
- };
- CheckBox CB_KEY3
- {
- HelpID = "sw:CheckBox:DLG_SORTING:CB_KEY3";
- Pos = MAP_APPFONT ( 12 , 81 ) ;
- Size = MAP_APPFONT ( 49 , 8 ) ;
- Text [ en-US ] = "Key ~3" ;
- };
- NumericField ED_KEY3
- {
- HelpID = "sw:NumericField:DLG_SORTING:ED_KEY3";
- Border = TRUE ;
- Pos = MAP_APPFONT ( 66 , 79 ) ;
- Size = MAP_APPFONT ( 25 , 12 ) ;
- TabStop = TRUE ;
- Left = TRUE ;
- Repeat = TRUE ;
- Spin = TRUE ;
- Minimum = 1 ;
- Maximum = 99 ;
- Value = 1 ;
- First = 1 ;
- Last = 99 ;
- SpinSize = 1 ;
- };
- ListBox DLB_KEY3
- {
- HelpID = "sw:ListBox:DLG_SORTING:DLB_KEY3";
- Pos = MAP_APPFONT ( 96 , 79 ) ;
- Size = MAP_APPFONT ( 55 , 45 ) ;
- TabStop = TRUE ;
- DropDown = TRUE ;
- CurPos = 0 ;
- Sort = TRUE;
- };
- RadioButton RB_UP3
- {
- HelpID = "sw:RadioButton:DLG_SORTING:RB_UP3";
- Pos = MAP_APPFONT ( 155 , 79 ) ;
- Size = MAP_APPFONT ( 50 , 10 ) ;
- Text [ en-US ] = "Ascending" ;
- TabStop = TRUE ;
- Check = TRUE ;
- };
- RadioButton RB_DN3
- {
- HelpID = "sw:RadioButton:DLG_SORTING:RB_DN3";
- Pos = MAP_APPFONT ( 155 , 91 ) ;
- Size = MAP_APPFONT ( 50 , 10 ) ;
- Text [ en-US ] = "Descending" ;
- TabStop = TRUE ;
- };
- FixedLine FL_SORT_2
- {
- Pos = MAP_APPFONT ( 6 , 3 ) ;
- Size = MAP_APPFONT ( 200 , 8 ) ;
- Text [ en-US ] = "Sort criteria" ;
- };
- RadioButton RB_COL
- {
- HelpID = "sw:RadioButton:DLG_SORTING:RB_COL";
- Pos = MAP_APPFONT ( 12 , 120 ) ;
- Size = MAP_APPFONT ( 38 , 10 ) ;
- Text [ en-US ] = "Col~umns" ;
- TabStop = TRUE ;
- };
- RadioButton RB_ROW
- {
- HelpID = "sw:RadioButton:DLG_SORTING:RB_ROW";
- Pos = MAP_APPFONT ( 12 , 133 ) ;
- Size = MAP_APPFONT ( 34 , 10 ) ;
- Text [ en-US ] = "~Rows" ;
- TabStop = TRUE ;
- Check = TRUE ;
- };
- FixedLine FL_DIR
- {
- Pos = MAP_APPFONT ( 6 , 108 ) ;
- Size = MAP_APPFONT ( 95 , 8 ) ;
- Text [ en-US ] = "Direction" ;
- };
- RadioButton RB_TAB
- {
- HelpID = "sw:RadioButton:DLG_SORTING:RB_TAB";
- Pos = MAP_APPFONT ( 113 , 120 ) ;
- Size = MAP_APPFONT ( 44 , 9 ) ;
- Text [ en-US ] = "~Tabs" ;
- TabStop = TRUE ;
- Check = TRUE ;
- };
- RadioButton RB_TABCH
- {
- HelpID = "sw:RadioButton:DLG_SORTING:RB_TABCH";
- Pos = MAP_APPFONT ( 113 , 133 ) ;
- Size = MAP_APPFONT ( 38 , 10 ) ;
- Text [ en-US ] = "~Character" ;
- TabStop = TRUE ;
- };
- Edit ED_TABCH
- {
- HelpID = "sw:Edit:DLG_SORTING:ED_TABCH";
- Border = TRUE ;
- Pos = MAP_APPFONT ( 180 , 133 ) ;
- Size = MAP_APPFONT ( 12 , 12 ) ;
- TabStop = TRUE ;
- Left = TRUE ;
- };
- FixedLine FL_DELIM
- {
- Pos = MAP_APPFONT ( 107 , 108 ) ;
- Size = MAP_APPFONT ( 99 , 8 ) ;
- Text [ en-US ] = "Separator" ;
- };
- String STR_ROW
- {
- Text [ en-US ] = "Rows" ;
- };
- String STR_COL
- {
- Text [ en-US ] = "Column" ;
- };
- PushButton PB_DELIM
- {
- HelpID = "sw:PushButton:DLG_SORTING:PB_DELIM";
- Pos = MAP_APPFONT ( 195 , 133 ) ;
- Size = MAP_APPFONT ( 12 , 12 ) ;
- TabStop = TRUE ;
- Text = "...";
- };
- FixedLine FL_LANG
- {
- Pos = MAP_APPFONT ( 6 , 147 ) ;
- Size = MAP_APPFONT ( 95 , 8 ) ;
- Text [ en-US ] = "Language";
- };
- ListBox LB_LANG
- {
- HelpID = "sw:ListBox:DLG_SORTING:LB_LANG";
- Pos = MAP_APPFONT ( 12 , 158 ) ;
- Size = MAP_APPFONT ( 83 , 61 ) ;
- TabStop = TRUE ;
- DropDown = TRUE ;
- Sort = TRUE ;
- };
- FixedLine FL_SORT
- {
- Pos = MAP_APPFONT ( 107 , 147 ) ;
- Size = MAP_APPFONT ( 99 , 8 ) ;
- Text [ en-US ] = "Setting";
- };
- CheckBox CB_CASE
- {
- HelpID = "sw:CheckBox:DLG_SORTING:CB_CASE";
- Pos = MAP_APPFONT ( 113 , 159 ) ;
- Size = MAP_APPFONT ( 147 , 10 ) ;
- TabStop = TRUE ;
- Text [ en-US ] = "Match case";
- };
-
-};
InfoBox MSG_SRTERR
{
BUTTONS = WB_OK ;
diff --git a/sw/source/ui/misc/titlepage.cxx b/sw/source/ui/misc/titlepage.cxx
index 1ba37c5..0d53fb6 100644
--- a/sw/source/ui/misc/titlepage.cxx
+++ b/sw/source/ui/misc/titlepage.cxx
@@ -152,8 +152,7 @@ sal_uInt16 SwTitlePageDlg::GetInsertPosition() const
}
SwTitlePageDlg::SwTitlePageDlg( Window *pParent ) :
- SfxModalDialog( pParent, rtl::OString("DLG_TITLEPAGE"),
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("modules/swriter/ui/titlepage.ui")) ),
+ SfxModalDialog( pParent, "DLG_TITLEPAGE", "modules/swriter/ui/titlepage.ui"),
mpPageFmtDesc(0)
{
get(m_pUseExistingPagesRB, "RB_USE_EXISTING_PAGES");
commit c0e53829c6cc058a807964e2ebe160c6150225aa
Author: Gokul <gokul.cdac at gmail.com>
Date: Wed Sep 26 09:51:15 2012 +0100
add sort dialog .ui
Change-Id: I725cd86094f8605f093c730e7b18f4c1e4a9adea
diff --git a/sw/uiconfig/swriter/ui/sortdialog.ui b/sw/uiconfig/swriter/ui/sortdialog.ui
new file mode 100644
index 0000000..bd0223e
--- /dev/null
+++ b/sw/uiconfig/swriter/ui/sortdialog.ui
@@ -0,0 +1,786 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkAdjustment" id="adjustment1">
+ <property name="lower">1</property>
+ <property name="upper">99</property>
+ <property name="value">1</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
+ <object class="GtkDialog" id="SortDialog">
+ <property name="can_focus">False</property>
+ <property name="border_width">5</property>
+ <property name="title" translatable="yes">Sort</property>
+ <property name="type_hint">dialog</property>
+ <child internal-child="vbox">
+ <object class="GtkBox" id="dialog-vbox1">
+ <property name="can_focus">False</property>
+ <property name="spacing">2</property>
+ <child internal-child="action_area">
+ <object class="GtkButtonBox" id="dialog-action_area1">
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="layout_style">start</property>
+ <child>
+ <object class="GtkButton" id="ok">
+ <property name="label">gtk-ok</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="has_default">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="button2">
+ <property name="label">gtk-cancel</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="help">
+ <property name="label">gtk-help</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkBox" id="box2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkFrame" id="frame5">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment5">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkGrid" id="grid7">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="row_spacing">5</property>
+ <property name="column_spacing">15</property>
+ <child>
+ <object class="GtkLabel" id="column">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Column</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="keytype">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Key type</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="order">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Order</property>
+ </object>
+ <packing>
+ <property name="left_attach">3</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkGrid" id="grid8">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkRadioButton" id="up1">
+ <property name="label" translatable="yes">Ascending</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0.50999999046325684</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">down1</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="GtkRadioButton" id="down1">
+ <property name="label" translatable="yes">Descending</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">up1</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">3</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkGrid" id="grid9">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkRadioButton" id="up2">
+ <property name="label" translatable="yes">Ascending</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">down2</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="GtkRadioButton" id="down2">
+ <property name="label" translatable="yes">Descending</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">up2</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">3</property>
+ <property name="top_attach">2</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>
+ <child>
+ <object class="GtkRadioButton" id="up3">
+ <property name="label" translatable="yes">Ascending</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">down3</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="GtkRadioButton" id="down3">
+ <property name="label" translatable="yes">Descending</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">up3</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">3</property>
+ <property name="top_attach">3</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="key1">
+ <property name="label" translatable="yes">Key 1</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="valign">center</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</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>
+ <child>
+ <object class="GtkCheckButton" id="key2">
+ <property name="label" translatable="yes">Key 2</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="valign">center</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </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="GtkCheckButton" id="key3">
+ <property name="label" translatable="yes">Key 3</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="valign">center</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0.0099999997764825821</property>
+ <property name="draw_indicator">True</property>
+ </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>
+ <child>
+ <object class="GtkSpinButton" id="colsb1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="valign">center</property>
+ <property name="invisible_char">â¢</property>
+ <property name="invisible_char_set">True</property>
+ <property name="adjustment">adjustment1</property>
+ </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>
+ <child>
+ <object class="GtkSpinButton" id="colsb2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="valign">center</property>
+ <property name="invisible_char">â¢</property>
+ <property name="invisible_char_set">True</property>
+ <property name="adjustment">adjustment1</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">2</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkSpinButton" id="colsb3">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="valign">center</property>
+ <property name="invisible_char">â¢</property>
+ <property name="invisible_char_set">True</property>
+ <property name="adjustment">adjustment1</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">3</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="typelb1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="valign">center</property>
+ <property name="entry_text_column">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="typelb2">
+ <property name="width_request">130</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="valign">center</property>
+ <property name="button_sensitivity">off</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">2</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="typelb3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="valign">center</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">3</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0.56000000238418579</property>
+ <property name="label" translatable="yes">Sort criteria</property>
+ <property name="use_markup">True</property>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkGrid" id="grid2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="row_spacing">10</property>
+ <property name="column_spacing">30</property>
+ <child>
+ <object class="GtkFrame" id="frame3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkGrid" id="grid3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="row_spacing">10</property>
+ <child>
+ <object class="GtkRadioButton" id="columns">
+ <property name="label" translatable="yes">Columns</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">rows</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="GtkRadioButton" id="rows">
+ <property name="label" translatable="yes">Rows</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">columns</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>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Direction</property>
+ <property name="use_markup">True</property>
+ </object>
+ </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="GtkFrame" id="frame4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="valign">end</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkGrid" id="grid4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="row_spacing">10</property>
+ <child>
+ <object class="GtkRadioButton" id="tabs">
+ <property name="label" translatable="yes">Tabs</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">character</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">2</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkRadioButton" id="character">
+ <property name="label" translatable="yes">Character </property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">tabs</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>
+ <child>
+ <object class="GtkGrid" id="grid5">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="column_spacing">6</property>
+ <child>
+ <object class="GtkEntry" id="separator">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">â¢</property>
+ <property name="width_chars">1</property>
+ <property name="invisible_char_set">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="delimpb">
+ <property name="label" translatable="yes">...</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</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>
+ </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>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label4">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Separator</property>
+ <property name="use_markup">True</property>
+ </object>
+ </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>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkGrid" id="grid1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">6</property>
+ <child>
+ <object class="GtkFrame" id="frame1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</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="left_padding">12</property>
+ <child>
+ <object class="svxlo:SvxLanguageBox" id="langlb">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ </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">Language</property>
+ <property name="use_markup">True</property>
+ </object>
+ </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="GtkFrame" id="frame2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <object class="GtkAlignment" id="alignment2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkCheckButton" id="matchcase">
+ <property name="label" translatable="yes">Match case</property>
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_action_appearance">False</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="label2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Setting</property>
+ <property name="use_markup">True</property>
+ </object>
+ </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>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="0">ok</action-widget>
+ <action-widget response="0">button2</action-widget>
+ <action-widget response="0">help</action-widget>
+ </action-widgets>
+ </object>
+</interface>
More information about the Libreoffice-commits
mailing list