diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-03 18:20:22 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-04 11:49:34 +0200 |
commit | 662f504e8c8f21740919cc0ab0042012df69b8d6 (patch) | |
tree | 063525582040739de58eaabba9b1174fe648bedc | |
parent | 118aee93197e093bc853b69ec8557f3e9cd512f3 (diff) |
convert localized autocorrection options to .ui format
Change-Id: I8df81ad3bdef2094d01439604a805b2d6321f354
-rw-r--r-- | cui/UIConfig_cui.mk | 1 | ||||
-rw-r--r-- | cui/source/inc/autocdlg.hxx | 49 | ||||
-rw-r--r-- | cui/source/inc/cuires.hrc | 2 | ||||
-rw-r--r-- | cui/source/inc/helpid.hrc | 3 | ||||
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 225 | ||||
-rw-r--r-- | cui/source/tabpages/autocdlg.hrc | 28 | ||||
-rw-r--r-- | cui/source/tabpages/autocdlg.src | 185 | ||||
-rw-r--r-- | cui/uiconfig/ui/applylocalizedpage.ui | 524 | ||||
-rw-r--r-- | extras/source/glade/libreoffice-catalog.xml.in | 3 |
9 files changed, 649 insertions, 371 deletions
diff --git a/cui/UIConfig_cui.mk b/cui/UIConfig_cui.mk index 8ab2bcc6d3b8..27a996c3dd73 100644 --- a/cui/UIConfig_cui.mk +++ b/cui/UIConfig_cui.mk @@ -15,6 +15,7 @@ $(eval $(call gb_UIConfig_add_uifiles,cui,\ cui/uiconfig/ui/acorexceptpage \ cui/uiconfig/ui/acorreplacepage \ cui/uiconfig/ui/applyautofmtpage \ + cui/uiconfig/ui/applylocalizedpage \ cui/uiconfig/ui/areadialog \ cui/uiconfig/ui/areatabpage \ cui/uiconfig/ui/asiantypography \ diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index 1e3169880398..ac9966b6cef6 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -339,43 +339,34 @@ class OfaQuoteTabPage : public SfxTabPage private: /// For anything but writer - SvxCheckListBox aCheckLB; + SvxCheckListBox* m_pCheckLB; /// Just for writer - SvSimpleTableContainer m_aSwCheckLBContainer; - OfaACorrCheckListBox aSwCheckLB; - String sHeader1; - String sHeader2; + OfaACorrCheckListBox* m_pSwCheckLB; String sNonBrkSpace; String sOrdinal; SvLBoxButtonData* pCheckButtonData; - FixedLine aSingleFL; - CheckBox aSingleTypoCB; - FixedText aSglStartQuoteFT; - PushButton aSglStartQuotePB; - FixedText aSglStartExFT; - FixedText aSglEndQuoteFT; - PushButton aSglEndQuotePB; - FixedText aSglEndExFT; - PushButton aSglStandardPB; - - FixedLine aDoubleFL; - CheckBox aTypoCB; - FixedText aStartQuoteFT; - PushButton aStartQuotePB; - FixedText aDblStartExFT; - FixedText aEndQuoteFT; - PushButton aEndQuotePB; - FixedText aDblEndExFT; - PushButton aDblStandardPB; - - String sStartQuoteDlg; - String sEndQuoteDlg; - - String sStandard; + CheckBox* m_pSingleTypoCB; + PushButton* m_pSglStartQuotePB; + FixedText* m_pSglStartExFT; + PushButton* m_pSglEndQuotePB; + FixedText* m_pSglEndExFT; + PushButton* m_pSglStandardPB; + + CheckBox* m_pDoubleTypoCB; + PushButton* m_pDblStartQuotePB; + FixedText* m_pDblStartExFT; + PushButton* m_pDblEndQuotePB; + FixedText* m_pDblEndExFT; + PushButton* m_pDblStandardPB; + + OUString m_sStartQuoteDlg; + OUString m_sEndQuoteDlg; + + OUString m_sStandard; sal_UCS4 cSglStartQuote; diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc index c4afb906a5b6..7202e180dc9d 100644 --- a/cui/source/inc/cuires.hrc +++ b/cui/source/inc/cuires.hrc @@ -114,8 +114,6 @@ #define RID_OFAPAGE_AUTOCOMPLETE_OPTIONS (RID_OFA_START + 119) #define RID_OFAPAGE_AUTOCORR_OPTIONS (RID_OFA_START + 102) -#define RID_OFAPAGE_AUTOCORR_QUOTE (RID_OFA_START + 109) - // options #define RID_SVXSTR_DIAGRAM_ROW (RID_SVX_START + 1162) #define RID_OFAPAGE_CONNPOOLOPTIONS (RID_OFA_START + 122) diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc index d11061d014af..ef9e2e11d2af 100644 --- a/cui/source/inc/helpid.hrc +++ b/cui/source/inc/helpid.hrc @@ -230,7 +230,6 @@ #define HID_TPCOLOR_CMYK_2 "CUI_HID_TPCOLOR_CMYK_2" #define HID_TPCOLOR_CMYK_3 "CUI_HID_TPCOLOR_CMYK_3" #define HID_OFAPAGE_AUTOCORR_OPTIONS "CUI_HID_OFAPAGE_AUTOCORR_OPTIONS" -#define HID_OFAPAGE_AUTOCORR_QUOTE "CUI_HID_OFAPAGE_AUTOCORR_QUOTE" #define HID_OFAPAGE_AUTOCOMPLETE_OPTIONS "CUI_HID_OFAPAGE_AUTOCOMPLETE_OPTIONS" #define HID_PAGE_CONNECTION "CUI_HID_PAGE_CONNECTION" #define HID_PAGE_CONNECTION_CTL_PREVIEW "CUI_HID_PAGE_CONNECTION_CTL_PREVIEW" @@ -272,8 +271,6 @@ #define HID_LINKDLG_TABLB "CUI_HID_LINKDLG_TABLB" #define HID_MACRO_HEADERTABLISTBOX "CUI_HID_MACRO_HEADERTABLISTBOX" #define HID_GALLERY_TITLE_EDIT "CUI_HID_GALLERY_TITLE_EDIT" -#define HID_OFAPAGE_QUOTE_SW_CLB "CUI_HID_OFAPAGE_QUOTE_SW_CLB" -#define HID_OFAPAGE_QUOTE_CLB "CUI_HID_OFAPAGE_QUOTE_CLB" #define HID_DLG_PASSWORD_TO_OPEN_MODIFY "CUI_HID_DLG_PASSWORD_TO_OPEN_MODIFY" #define HID_DLG_PASSWORD_TO_OPEN_MODIFY_PASSWORD_TO_OPEN "CUI_HID_DLG_PASSWORD_TO_OPEN_MODIFY_PASSWORD_TO_OPEN" diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 722fac19085c..1543113d5443 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -1705,8 +1705,8 @@ SvTreeListEntry* OfaQuoteTabPage::CreateEntry(String& rTxt, sal_uInt16 nCol) if ( !pCheckButtonData ) { - pCheckButtonData = new SvLBoxButtonData( &aSwCheckLB ); - aSwCheckLB.SetCheckButtonData( pCheckButtonData ); + pCheckButtonData = new SvLBoxButtonData(m_pSwCheckLB); + m_pSwCheckLB->SetCheckButtonData(pCheckButtonData); } pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, Image(), Image(), 0)); @@ -1727,56 +1727,43 @@ SvTreeListEntry* OfaQuoteTabPage::CreateEntry(String& rTxt, sal_uInt16 nCol) return pEntry; } -OfaQuoteTabPage::OfaQuoteTabPage( Window* pParent, const SfxItemSet& rSet ) : - SfxTabPage(pParent, CUI_RES( RID_OFAPAGE_AUTOCORR_QUOTE ), rSet), - aCheckLB (this, CUI_RES(CLB_SETTINGS )), - m_aSwCheckLBContainer(this, CUI_RES(CLB_SETTINGS)), - aSwCheckLB(m_aSwCheckLBContainer), - sHeader1 (CUI_RESSTR( STR_HEADER1 )), - sHeader2 (CUI_RESSTR( STR_HEADER2 )), - sNonBrkSpace (CUI_RESSTR( RID_SVXSTR_NON_BREAK_SPACE )), - sOrdinal (CUI_RESSTR( RID_SVXSTR_ORDINAL )), - pCheckButtonData ( NULL ), - - aSingleFL (this, CUI_RES(FL_SINGLE )), - aSingleTypoCB (this, CUI_RES(CB_SGL_TYPO )), - aSglStartQuoteFT (this, CUI_RES(FT_SGL_STARTQUOTE )), - aSglStartQuotePB (this, CUI_RES(PB_SGL_STARTQUOTE )), - aSglStartExFT (this, CUI_RES(FT_SGSTEX )), - aSglEndQuoteFT (this, CUI_RES(FT_SGL_ENDQUOTE )), - aSglEndQuotePB (this, CUI_RES(PB_SGL_ENDQUOTE )), - aSglEndExFT (this, CUI_RES(FT_SGENEX )), - aSglStandardPB (this, CUI_RES(PB_SGL_STD )), - - aDoubleFL (this, CUI_RES(FL_DOUBLE )), - aTypoCB (this, CUI_RES(CB_TYPO )), - aStartQuoteFT (this, CUI_RES(FT_STARTQUOTE )), - aStartQuotePB (this, CUI_RES(PB_STARTQUOTE )), - aDblStartExFT (this, CUI_RES(FT_DBSTEX )), - aEndQuoteFT (this, CUI_RES(FT_ENDQUOTE )), - aEndQuotePB (this, CUI_RES(PB_ENDQUOTE )), - aDblEndExFT (this, CUI_RES(FT_DBECEX )), - aDblStandardPB (this, CUI_RES(PB_DBL_STD )), - - sStartQuoteDlg (CUI_RES(STR_CHANGE_START)), - sEndQuoteDlg (CUI_RES(STR_CHANGE_END)), - - sStandard(CUI_RES(ST_STANDARD)) -{ - aSglStandardPB.SetAccessibleName(String(CUI_RES(STR_PB_SGL_STD) ) ); - aDblStandardPB.SetAccessibleName(String(CUI_RES(STR_PB_DBL_STD) ) ); - aStartQuotePB.SetAccessibleName( String(CUI_RES(STR_PB_DBL_START) )); - aEndQuotePB.SetAccessibleName(String(CUI_RES(STR_PB_DBL_END) )); - aSglStartQuotePB.SetAccessibleName(String(CUI_RES(STR_PB_SGL_START) )); - aSglEndQuotePB.SetAccessibleName(String(CUI_RES(STR_PB_SGL_END) ) ); +OfaQuoteTabPage::OfaQuoteTabPage(Window* pParent, const SfxItemSet& rSet) + : SfxTabPage(pParent, "ApplyLocalizedPage", "cui/ui/applylocalizedpage.ui", rSet) + , sNonBrkSpace(CUI_RESSTR(RID_SVXSTR_NON_BREAK_SPACE)) + , sOrdinal(CUI_RESSTR(RID_SVXSTR_ORDINAL)) + , pCheckButtonData(NULL) +{ + get(m_pCheckLB, "checklist"); - FreeResource(); + SvSimpleTableContainer *pListContainer = get<SvSimpleTableContainer>("list"); + Size aControlSize(252 , 85); + aControlSize = LogicToPixel(aControlSize, MAP_APPFONT); + pListContainer->set_width_request(aControlSize.Width()); + pListContainer->set_height_request(aControlSize.Height()); + m_pSwCheckLB = new OfaACorrCheckListBox(*pListContainer), + + get(m_pSingleTypoCB, "singlereplace"); + get(m_pSglStartQuotePB, "startsingle"); + get(m_pSglStartExFT, "singlestartex"); + get(m_pSglEndQuotePB, "endsingle"); + get(m_pSglEndExFT, "singleendex"); + get(m_pSglStandardPB, "defaultsingle"); + + get(m_pDoubleTypoCB, "doublereplace"); + get(m_pDblStartQuotePB, "startdouble"); + get(m_pDblStartExFT, "doublestartex"); + get(m_pDblEndQuotePB, "enddouble"); + get(m_pDblEndExFT, "doubleendex"); + get(m_pDblStandardPB, "defaultdouble"); + + using comphelper::string::strip; + + m_sStartQuoteDlg = strip(get<FixedText>("startquoteft")->GetText(), ':'); + m_sEndQuoteDlg = strip(get<FixedText>("endquoteft")->GetText(), ':'); + m_sStandard = get<FixedText>("singlestartex")->GetText(); sal_Bool bShowSWOptions = sal_False; - aCheckLB.SetHelpId( HID_OFAPAGE_QUOTE_CLB ); - aSwCheckLB.SetHelpId( HID_OFAPAGE_QUOTE_SW_CLB ); - SFX_ITEMSET_ARG( &rSet, pItem, SfxBoolItem, SID_AUTO_CORRECT_DLG, sal_False ); if ( pItem && pItem->GetValue() ) bShowSWOptions = sal_True; @@ -1788,44 +1775,34 @@ OfaQuoteTabPage::OfaQuoteTabPage( Window* pParent, const SfxItemSet& rSet ) : 3, 0, 20, 40 }; - aSwCheckLB.SetStyle(aSwCheckLB.GetStyle() | WB_HSCROLL| WB_VSCROLL); + m_pSwCheckLB->SetStyle(m_pSwCheckLB->GetStyle() | WB_HSCROLL| WB_VSCROLL); - aSwCheckLB.SvSimpleTable::SetTabs(aStaticTabs); - String sHeader( sHeader1 ); + m_pSwCheckLB->SvSimpleTable::SetTabs(aStaticTabs); + String sHeader(get<Window>("m")->GetText()); sHeader += '\t'; - sHeader += sHeader2; + sHeader += get<Window>("t")->GetText(); sHeader += '\t'; - aSwCheckLB.InsertHeaderEntry( sHeader, HEADERBAR_APPEND, + m_pSwCheckLB->InsertHeaderEntry( sHeader, HEADERBAR_APPEND, HIB_CENTER | HIB_VCENTER | HIB_FIXEDPOS | HIB_FIXED); - aCheckLB.Hide( sal_True ); + m_pCheckLB->Hide(true); } else { - aSwCheckLB.HideTable( ); + m_pSwCheckLB->HideTable(); } - aStartQuotePB.SetClickHdl(LINK(this, OfaQuoteTabPage, QuoteHdl)); - aEndQuotePB.SetClickHdl(LINK(this, OfaQuoteTabPage, QuoteHdl)); - aSglStartQuotePB.SetClickHdl(LINK(this, OfaQuoteTabPage, QuoteHdl)); - aSglEndQuotePB.SetClickHdl(LINK(this, OfaQuoteTabPage, QuoteHdl)); - aDblStandardPB.SetClickHdl(LINK(this, OfaQuoteTabPage, StdQuoteHdl)); - aSglStandardPB.SetClickHdl(LINK(this, OfaQuoteTabPage, StdQuoteHdl)); - - aSglStartQuotePB.SetAccessibleRelationLabeledBy( &aSglStartQuoteFT ); - aSglEndQuotePB.SetAccessibleRelationLabeledBy( &aSglEndQuoteFT ); - aSglStartQuotePB.SetAccessibleRelationMemberOf( &aSingleFL ); - aSglEndQuotePB.SetAccessibleRelationMemberOf( &aSingleFL ); - aStartQuotePB.SetAccessibleRelationLabeledBy( &aStartQuoteFT ); - aEndQuotePB.SetAccessibleRelationLabeledBy( &aEndQuoteFT ); - aStartQuotePB.SetAccessibleRelationMemberOf( &aDoubleFL ); - aEndQuotePB.SetAccessibleRelationMemberOf( &aDoubleFL ); - aSglStandardPB.SetAccessibleRelationMemberOf(&aSingleFL); - aDblStandardPB.SetAccessibleRelationMemberOf(&aDoubleFL); + m_pDblStartQuotePB->SetClickHdl(LINK(this, OfaQuoteTabPage, QuoteHdl)); + m_pDblEndQuotePB->SetClickHdl(LINK(this, OfaQuoteTabPage, QuoteHdl)); + m_pSglStartQuotePB->SetClickHdl(LINK(this, OfaQuoteTabPage, QuoteHdl)); + m_pSglEndQuotePB->SetClickHdl(LINK(this, OfaQuoteTabPage, QuoteHdl)); + m_pDblStandardPB->SetClickHdl(LINK(this, OfaQuoteTabPage, StdQuoteHdl)); + m_pSglStandardPB->SetClickHdl(LINK(this, OfaQuoteTabPage, StdQuoteHdl)); } OfaQuoteTabPage::~OfaQuoteTabPage() { - delete( pCheckButtonData ); + delete pCheckButtonData; + delete m_pSwCheckLB; } SfxTabPage* OfaQuoteTabPage::Create( Window* pParent, @@ -1840,33 +1817,33 @@ sal_Bool OfaQuoteTabPage::FillItemSet( SfxItemSet& ) long nFlags = pAutoCorrect->GetFlags(); - if ( aCheckLB.IsVisible( ) ) + if (m_pCheckLB->IsVisible()) { sal_uInt16 nPos = 0; - pAutoCorrect->SetAutoCorrFlag(AddNonBrkSpace, aCheckLB.IsChecked(nPos++)); - pAutoCorrect->SetAutoCorrFlag(ChgOrdinalNumber, aCheckLB.IsChecked(nPos++)); + pAutoCorrect->SetAutoCorrFlag(AddNonBrkSpace, m_pCheckLB->IsChecked(nPos++)); + pAutoCorrect->SetAutoCorrFlag(ChgOrdinalNumber, m_pCheckLB->IsChecked(nPos++)); } sal_Bool bModified = sal_False; - if ( aSwCheckLB.IsVisible( ) ) + if (m_pSwCheckLB->IsVisible()) { SvxSwAutoFmtFlags *pOpt = &pAutoCorrect->GetSwFlags(); - sal_Bool bCheck = aSwCheckLB.IsChecked(ADD_NONBRK_SPACE, CBCOL_FIRST); + sal_Bool bCheck = m_pSwCheckLB->IsChecked(ADD_NONBRK_SPACE, CBCOL_FIRST); bModified |= pOpt->bAddNonBrkSpace != bCheck; pOpt->bAddNonBrkSpace = bCheck; pAutoCorrect->SetAutoCorrFlag(AddNonBrkSpace, - aSwCheckLB.IsChecked(ADD_NONBRK_SPACE, CBCOL_SECOND)); + m_pSwCheckLB->IsChecked(ADD_NONBRK_SPACE, CBCOL_SECOND)); - bCheck = aSwCheckLB.IsChecked(REPLACE_1ST, CBCOL_FIRST); + bCheck = m_pSwCheckLB->IsChecked(REPLACE_1ST, CBCOL_FIRST); bModified |= pOpt->bChgOrdinalNumber != bCheck; pOpt->bChgOrdinalNumber = bCheck; pAutoCorrect->SetAutoCorrFlag(ChgOrdinalNumber, - aSwCheckLB.IsChecked(REPLACE_1ST, CBCOL_SECOND)); + m_pSwCheckLB->IsChecked(REPLACE_1ST, CBCOL_SECOND)); } - pAutoCorrect->SetAutoCorrFlag(ChgQuotes, aTypoCB.IsChecked()); - pAutoCorrect->SetAutoCorrFlag(ChgSglQuotes, aSingleTypoCB.IsChecked()); + pAutoCorrect->SetAutoCorrFlag(ChgQuotes, m_pDoubleTypoCB->IsChecked()); + pAutoCorrect->SetAutoCorrFlag(ChgSglQuotes, m_pSingleTypoCB->IsChecked()); sal_Bool bReturn = nFlags != pAutoCorrect->GetFlags(); if(cStartQuote != pAutoCorrect->GetStartDoubleQuote()) { @@ -1913,55 +1890,55 @@ void OfaQuoteTabPage::Reset( const SfxItemSet& ) const long nFlags = pAutoCorrect->GetFlags(); // Initialize the Sw options - if ( aSwCheckLB.IsVisible( ) ) + if (m_pSwCheckLB->IsVisible()) { SvxSwAutoFmtFlags *pOpt = &pAutoCorrect->GetSwFlags(); - aSwCheckLB.SetUpdateMode( sal_False ); - aSwCheckLB.Clear(); + m_pSwCheckLB->SetUpdateMode( sal_False ); + m_pSwCheckLB->Clear(); - aSwCheckLB.GetModel()->Insert(CreateEntry(sNonBrkSpace, CBCOL_BOTH )); - aSwCheckLB.GetModel()->Insert(CreateEntry(sOrdinal, CBCOL_BOTH )); + m_pSwCheckLB->GetModel()->Insert(CreateEntry(sNonBrkSpace, CBCOL_BOTH )); + m_pSwCheckLB->GetModel()->Insert(CreateEntry(sOrdinal, CBCOL_BOTH )); - aSwCheckLB.CheckEntryPos( ADD_NONBRK_SPACE, CBCOL_FIRST, pOpt->bAddNonBrkSpace ); - aSwCheckLB.CheckEntryPos( ADD_NONBRK_SPACE, CBCOL_SECOND, 0 != (nFlags & AddNonBrkSpace) ); - aSwCheckLB.CheckEntryPos( REPLACE_1ST, CBCOL_FIRST, pOpt->bChgOrdinalNumber ); - aSwCheckLB.CheckEntryPos( REPLACE_1ST, CBCOL_SECOND, 0 != (nFlags & ChgOrdinalNumber) ); + m_pSwCheckLB->CheckEntryPos( ADD_NONBRK_SPACE, CBCOL_FIRST, pOpt->bAddNonBrkSpace ); + m_pSwCheckLB->CheckEntryPos( ADD_NONBRK_SPACE, CBCOL_SECOND, 0 != (nFlags & AddNonBrkSpace) ); + m_pSwCheckLB->CheckEntryPos( REPLACE_1ST, CBCOL_FIRST, pOpt->bChgOrdinalNumber ); + m_pSwCheckLB->CheckEntryPos( REPLACE_1ST, CBCOL_SECOND, 0 != (nFlags & ChgOrdinalNumber) ); - aSwCheckLB.SetUpdateMode( sal_True ); + m_pSwCheckLB->SetUpdateMode( sal_True ); } // Initialize the non Sw options - if ( aCheckLB.IsVisible( ) ) + if (m_pCheckLB->IsVisible()) { - aCheckLB.SetUpdateMode( sal_False ); - aCheckLB.Clear( ); + m_pCheckLB->SetUpdateMode(false); + m_pCheckLB->Clear(); - aCheckLB.InsertEntry( sNonBrkSpace ); - aCheckLB.InsertEntry( sOrdinal ); + m_pCheckLB->InsertEntry( sNonBrkSpace ); + m_pCheckLB->InsertEntry( sOrdinal ); sal_uInt16 nPos = 0; - aCheckLB.CheckEntryPos( nPos++, 0 != (nFlags & AddNonBrkSpace) ); - aCheckLB.CheckEntryPos( nPos++, 0 != (nFlags & ChgOrdinalNumber) ); + m_pCheckLB->CheckEntryPos( nPos++, 0 != (nFlags & AddNonBrkSpace) ); + m_pCheckLB->CheckEntryPos( nPos++, 0 != (nFlags & ChgOrdinalNumber) ); - aCheckLB.SetUpdateMode( sal_True ); + m_pCheckLB->SetUpdateMode(true); } // Initialize the quote stuffs - aTypoCB .Check(0 != (nFlags & ChgQuotes)); - aSingleTypoCB .Check(0 != (nFlags & ChgSglQuotes)); - aTypoCB .SaveValue(); - aSingleTypoCB .SaveValue(); + m_pDoubleTypoCB->Check(0 != (nFlags & ChgQuotes)); + m_pSingleTypoCB->Check(0 != (nFlags & ChgSglQuotes)); + m_pDoubleTypoCB->SaveValue(); + m_pSingleTypoCB->SaveValue(); cStartQuote = pAutoCorrect->GetStartDoubleQuote(); cEndQuote = pAutoCorrect->GetEndDoubleQuote(); cSglStartQuote = pAutoCorrect->GetStartSingleQuote(); cSglEndQuote = pAutoCorrect->GetEndSingleQuote(); - aSglStartExFT .SetText(ChangeStringExt_Impl(cSglStartQuote)); - aSglEndExFT .SetText(ChangeStringExt_Impl(cSglEndQuote)); - aDblStartExFT .SetText(ChangeStringExt_Impl(cStartQuote)); - aDblEndExFT .SetText(ChangeStringExt_Impl(cEndQuote)); + m_pSglStartExFT->SetText(ChangeStringExt_Impl(cSglStartQuote)); + m_pSglEndExFT->SetText(ChangeStringExt_Impl(cSglEndQuote)); + m_pDblStartExFT->SetText(ChangeStringExt_Impl(cStartQuote)); + m_pDblEndExFT->SetText(ChangeStringExt_Impl(cEndQuote)); } #define SGL_START 0 @@ -1973,17 +1950,17 @@ void OfaQuoteTabPage::Reset( const SfxItemSet& ) IMPL_LINK( OfaQuoteTabPage, QuoteHdl, PushButton*, pBtn ) { sal_uInt16 nMode = SGL_START; - if(pBtn == &aSglEndQuotePB) + if (pBtn == m_pSglEndQuotePB) nMode = SGL_END; - else if(pBtn == &aStartQuotePB) + else if (pBtn == m_pDblStartQuotePB) nMode = DBL_START; - else if(pBtn == &aEndQuotePB) + else if (pBtn == m_pDblEndQuotePB) nMode = DBL_END; // start character selection dialog SvxCharacterMap* pMap = new SvxCharacterMap( this, sal_True ); pMap->SetCharFont( OutputDevice::GetDefaultFont(DEFAULTFONT_LATIN_TEXT, LANGUAGE_ENGLISH_US, DEFAULTFONT_FLAGS_ONLYONE, 0 )); - pMap->SetText(nMode < SGL_END ? sStartQuoteDlg : sEndQuoteDlg ); + pMap->SetText(nMode < SGL_END ? m_sStartQuoteDlg : m_sEndQuoteDlg ); sal_UCS4 cDlg; SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get().GetAutoCorrect(); LanguageType eLang = Application::GetSettings().GetLanguageTag().getLanguageType(); @@ -2024,19 +2001,19 @@ IMPL_LINK( OfaQuoteTabPage, QuoteHdl, PushButton*, pBtn ) { case SGL_START: cSglStartQuote = cNewChar; - aSglStartExFT.SetText(ChangeStringExt_Impl(cNewChar)); + m_pSglStartExFT->SetText(ChangeStringExt_Impl(cNewChar)); break; case SGL_END: cSglEndQuote = cNewChar; - aSglEndExFT.SetText(ChangeStringExt_Impl(cNewChar)); + m_pSglEndExFT->SetText(ChangeStringExt_Impl(cNewChar)); break; case DBL_START: cStartQuote = cNewChar; - aDblStartExFT.SetText(ChangeStringExt_Impl(cNewChar)); + m_pDblStartExFT->SetText(ChangeStringExt_Impl(cNewChar)); break; case DBL_END: cEndQuote = cNewChar; - aDblEndExFT.SetText(ChangeStringExt_Impl(cNewChar)); + m_pDblEndExFT->SetText(ChangeStringExt_Impl(cNewChar)); break; } } @@ -2047,20 +2024,20 @@ IMPL_LINK( OfaQuoteTabPage, QuoteHdl, PushButton*, pBtn ) IMPL_LINK( OfaQuoteTabPage, StdQuoteHdl, PushButton*, pBtn ) { - if(pBtn == &aDblStandardPB) + if (pBtn == m_pDblStandardPB) { cStartQuote = 0; - aDblStartExFT.SetText(ChangeStringExt_Impl(0)); + m_pDblStartExFT->SetText(ChangeStringExt_Impl(0)); cEndQuote = 0; - aDblEndExFT.SetText(ChangeStringExt_Impl(0)); + m_pDblEndExFT->SetText(ChangeStringExt_Impl(0)); } else { cSglStartQuote = 0; - aSglStartExFT.SetText(ChangeStringExt_Impl(0)); + m_pSglStartExFT->SetText(ChangeStringExt_Impl(0)); cSglEndQuote = 0; - aSglEndExFT.SetText(ChangeStringExt_Impl(0)); + m_pSglEndExFT->SetText(ChangeStringExt_Impl(0)); } return 0; } @@ -2069,8 +2046,8 @@ IMPL_LINK( OfaQuoteTabPage, StdQuoteHdl, PushButton*, pBtn ) String OfaQuoteTabPage::ChangeStringExt_Impl( sal_UCS4 cChar ) { - if( !cChar ) - return sStandard; + if (!cChar) + return m_sStandard; // convert codepoint value to unicode-hex string sal_UCS4 aStrCodes[32] = { 0, ' ', '(', 'U', '+', '0' }; diff --git a/cui/source/tabpages/autocdlg.hrc b/cui/source/tabpages/autocdlg.hrc index da9415a919e4..fd2380fe3847 100644 --- a/cui/source/tabpages/autocdlg.hrc +++ b/cui/source/tabpages/autocdlg.hrc @@ -25,34 +25,6 @@ #define CLB_SETTINGS 1 -#define CB_TYPO 11 -#define FT_STARTQUOTE 12 -#define PB_STARTQUOTE 13 -#define FT_ENDQUOTE 14 -#define PB_ENDQUOTE 15 - -#define STR_CHANGE_START 41 -#define STR_CHANGE_END 42 - -#define FT_SGL_STARTQUOTE 45 -#define PB_SGL_STARTQUOTE 46 -#define FT_SGL_ENDQUOTE 47 -#define PB_SGL_ENDQUOTE 48 -#define PB_SGL_STD 49 -#define PB_DBL_STD 50 -#define FL_SINGLE 51 -#define FL_DOUBLE 52 -#define FT_SGSTEX 53 -#define FT_SGENEX 54 -#define FT_DBSTEX 55 -#define FT_DBECEX 56 -#define CB_SGL_TYPO 57 -#define ST_STANDARD 58 - -#define STR_HEADER 90 -#define STR_HEADER1 92 -#define STR_HEADER2 93 - #define ED_RIGHT_MARGIN 100 #define BT_OK 101 #define BT_CANCEL 102 diff --git a/cui/source/tabpages/autocdlg.src b/cui/source/tabpages/autocdlg.src index 479ab77b28f9..f4ea904cc46c 100644 --- a/cui/source/tabpages/autocdlg.src +++ b/cui/source/tabpages/autocdlg.src @@ -46,191 +46,6 @@ TabPage RID_OFAPAGE_AUTOCORR_OPTIONS /**************************************************************************/ /* */ -/* Beschreibung: Typografische Anfuehrungszeichen */ -/* */ -/**************************************************************************/ -TabPage RID_OFAPAGE_AUTOCORR_QUOTE -{ - HelpId = HID_OFAPAGE_AUTOCORR_QUOTE ; - OutputSize = TRUE ; - Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ; - SVLook = TRUE ; - Hide = TRUE ; - Text [ en-US ] = "Localized Options" ; - Control CLB_SETTINGS - { - Pos = MAP_APPFONT ( 4 , 3 ) ; - Size = MAP_APPFONT ( 252 , 85 ) ; - Border = TRUE ; - TabStop = TRUE ; - }; - String STR_HEADER1 - { - Text [ en-US ] = "[M]" ; - }; - String STR_HEADER2 - { - Text [ en-US ] = "[T]" ; - }; - FixedLine FL_SINGLE - { - Pos = MAP_APPFONT ( 4 , 90 ) ; - Size = MAP_APPFONT ( 122 , 8 ) ; - Text [ en-US ] = "Single quotes" ; - }; - CheckBox CB_SGL_TYPO - { - HelpId = "cui:CheckBox:RID_OFAPAGE_AUTOCORR_QUOTE:CB_SGL_TYPO"; - Pos = MAP_APPFONT ( 7 , 101 ) ; - Size = MAP_APPFONT ( 86 , 10 ) ; - Text [ en-US ] = "Repla~ce" ; - }; - FixedText FT_SGL_STARTQUOTE - { - Pos = MAP_APPFONT ( 7 , 114 ) ; - Size = MAP_APPFONT ( 86 , 8 ) ; - Text [ en-US ] = "~Start quote:" ; - }; - PushButton PB_SGL_STARTQUOTE - { - HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_QUOTE:PB_SGL_STARTQUOTE"; - Pos = MAP_APPFONT ( 10 , 125 ) ; - Size = MAP_APPFONT ( 12 , 12 ) ; - Text = "\'" ; - TabStop = TRUE ; - }; - FixedText FT_SGSTEX - { - Pos = MAP_APPFONT ( 26 , 127 ) ; - Size = MAP_APPFONT ( 50 , 8 ) ; - }; - FixedText FT_SGL_ENDQUOTE - { - Pos = MAP_APPFONT ( 7 , 139 ) ; - Size = MAP_APPFONT ( 86 , 8 ) ; - Text [ en-US ] = "~End quote:" ; - }; - PushButton PB_SGL_ENDQUOTE - { - HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_QUOTE:PB_SGL_ENDQUOTE"; - Pos = MAP_APPFONT ( 10 , 151 ) ; - Size = MAP_APPFONT ( 12 , 12 ) ; - Text = "\'" ; - TabStop = TRUE ; - }; - FixedText FT_SGENEX - { - Pos = MAP_APPFONT ( 26 , 153 ) ; - Size = MAP_APPFONT ( 50 , 8 ) ; - }; - PushButton PB_SGL_STD - { - HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_QUOTE:PB_SGL_STD"; - Pos = MAP_APPFONT ( 7 , 167 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - Text [ en-US ] = "~Default" ; - }; - FixedLine FL_DOUBLE - { - Pos = MAP_APPFONT ( 134 , 90 ) ; - Size = MAP_APPFONT ( 122 , 8 ) ; - Text [ en-US ] = "Double quotes" ; - }; - CheckBox CB_TYPO - { - HelpID = "cui:CheckBox:RID_OFAPAGE_AUTOCORR_QUOTE:CB_TYPO"; - Pos = MAP_APPFONT ( 137 , 101 ) ; - Size = MAP_APPFONT ( 86 , 10 ) ; - TabStop = TRUE ; - Text [ en-US ] = "Repl~ace" ; - }; - FixedText FT_STARTQUOTE - { - Pos = MAP_APPFONT ( 137 , 114 ) ; - Size = MAP_APPFONT ( 86 , 8 ) ; - Text [ en-US ] = "Start q~uote:" ; - }; - PushButton PB_STARTQUOTE - { - HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_QUOTE:PB_STARTQUOTE"; - Pos = MAP_APPFONT ( 140 , 125 ) ; - Size = MAP_APPFONT ( 12 , 12 ) ; - Text = "\"" ; - TabStop = TRUE ; - }; - FixedText FT_DBSTEX - { - Pos = MAP_APPFONT ( 156 , 127 ) ; - Size = MAP_APPFONT ( 50 , 8 ) ; - }; - FixedText FT_ENDQUOTE - { - Pos = MAP_APPFONT ( 137 , 139 ) ; - Size = MAP_APPFONT ( 86 , 10 ) ; - Text [ en-US ] = "E~nd quote:" ; - }; - PushButton PB_ENDQUOTE - { - HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_QUOTE:PB_ENDQUOTE"; - Pos = MAP_APPFONT ( 140 , 151 ) ; - Size = MAP_APPFONT ( 12 , 12 ) ; - Text = "\"" ; - TabStop = TRUE ; - }; - FixedText FT_DBECEX - { - Pos = MAP_APPFONT ( 156 , 153 ) ; - Size = MAP_APPFONT ( 50 , 8 ) ; - }; - PushButton PB_DBL_STD - { - HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_QUOTE:PB_DBL_STD"; - Pos = MAP_APPFONT ( 137 , 167 ) ; - Size = MAP_APPFONT ( 50 , 14 ) ; - TabStop = TRUE ; - Text [ en-US ] = "De~fault" ; - }; - String STR_CHANGE_START - { - Text [ en-US ] = "Start quote" ; - }; - String STR_CHANGE_END - { - Text [ en-US ] = "End quote" ; - }; - String ST_STANDARD - { - Text [ en-US ] = "Default" ; - }; - String STR_PB_SGL_STD - { - Text [ en-US ] = "Single quotes default" ; - }; - String STR_PB_DBL_STD - { - Text [ en-US ] = "Double quotes default" ; - }; - String STR_PB_SGL_START - { - Text [ en-US ] = "Start quote of single quotes" ; - }; - String STR_PB_DBL_START - { - Text [ en-US ] = "Start quote of double quotes" ; - }; - String STR_PB_SGL_END - { - Text [ en-US ] = "End quote of single quotes" ; - }; - String STR_PB_DBL_END - { - Text [ en-US ] = "End quote of double quotes" ; - }; -}; - -/**************************************************************************/ -/* */ /* Beschreibung: automatische Wortergnzung */ /* */ /**************************************************************************/ diff --git a/cui/uiconfig/ui/applylocalizedpage.ui b/cui/uiconfig/ui/applylocalizedpage.ui new file mode 100644 index 000000000000..019f12b84d04 --- /dev/null +++ b/cui/uiconfig/ui/applylocalizedpage.ui @@ -0,0 +1,524 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <!-- interface-requires LibreOffice 1.0 --> + <object class="GtkBox" id="ApplyLocalizedPage"> + <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> + <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="grid3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="column_homogeneous">True</property> + <child> + <object class="GtkLabel" id="m"> + <property name="can_focus">False</property> + <property name="no_show_all">True</property> + <property name="label" translatable="yes">[M]</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="GtkLabel" id="t"> + <property name="can_focus">False</property> + <property name="no_show_all">True</property> + <property name="label" translatable="yes">[T]</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="svtlo-SvSimpleTableContainer" id="list:border"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="Simple Table Container-selection1"/> + </child> + </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="svxcorelo-SvxCheckListBox" id="checklist:border"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="Check List Box-selection1"/> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + <property name="width">2</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="grid2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="column_spacing">12</property> + <property name="column_homogeneous">True</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="GtkGrid" id="grid4"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkCheckButton" id="singlereplace"> + <property name="label" translatable="yes">Repla_ce</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">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="startquoteft"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">_Start quote:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">startsingle</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">12</property> + <child> + <object class="GtkButton" id="startsingle"> + <property name="label" translatable="yes"> ' </property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <child internal-child="accessible"> + <object class="AtkObject" id="startsingle-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes">Start quote of single quotes</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="GtkLabel" id="singlestartex"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Default</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">0</property> + <property name="top_attach">2</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="defaultsingle"> + <property name="label" translatable="yes">_Default</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <child internal-child="accessible"> + <object class="AtkObject" id="defaultsingle-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes">Single quotes default</property> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">5</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="endquoteft"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">_End quote:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">endsingle</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="GtkGrid" id="grid6"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkButton" id="endsingle"> + <property name="label" translatable="yes"> ' </property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <child internal-child="accessible"> + <object class="AtkObject" id="endsingle-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes">End quote of single quotes</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="GtkLabel" id="singleendex"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Default</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">0</property> + <property name="top_attach">4</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">Single quotes</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </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="GtkGrid" id="grid7"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkCheckButton" id="doublereplace"> + <property name="label" translatable="yes">Repla_ce</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">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label6"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">_Start quote:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">startdouble</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="grid8"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkButton" id="startdouble"> + <property name="label" translatable="yes"> " </property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <child internal-child="accessible"> + <object class="AtkObject" id="startdouble-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes">Start quote of double quotes</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="GtkLabel" id="doublestartex"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Default</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">0</property> + <property name="top_attach">2</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="defaultdouble"> + <property name="label" translatable="yes">_Default</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <child internal-child="accessible"> + <object class="AtkObject" id="defaultdouble-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes">Double quotes default</property> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">5</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label8"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">_End quote:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">enddouble</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="GtkGrid" id="grid9"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkButton" id="enddouble"> + <property name="label" translatable="yes"> " </property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <child internal-child="accessible"> + <object class="AtkObject" id="enddouble-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes">End quote of double quotes</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="GtkLabel" id="doubleendex"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Default</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">0</property> + <property name="top_attach">4</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + </child> + </object> + </child> + <child type="label"> + <object class="GtkLabel" id="label10"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Double quotes</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </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="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="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + </object> + <object class="GtkSizeGroup" id="sizegroup1"> + <widgets> + <widget name="startsingle"/> + <widget name="endsingle"/> + <widget name="startdouble"/> + <widget name="enddouble"/> + </widgets> + </object> +</interface> diff --git a/extras/source/glade/libreoffice-catalog.xml.in b/extras/source/glade/libreoffice-catalog.xml.in index 8d8256b2e680..95d441185645 100644 --- a/extras/source/glade/libreoffice-catalog.xml.in +++ b/extras/source/glade/libreoffice-catalog.xml.in @@ -272,6 +272,9 @@ <glade-widget-class title="Table Container" name="svtlo-SvSimpleTableContainer" generic-name="Simple Table Container" parent="GtkTreeView" icon-name="widget-gtk-treeview"/> + <glade-widget-class title="Check List Box" name="svxcorelo-SvxCheckListBox" + generic-name="Check List Box" parent="GtkTreeView" + icon-name="widget-gtk-treeview"/> <glade-widget-class title="Paragraph Preview" name="svxlo-SvxParaPrevWindow" generic-name="Paragraph Preview Window" parent="GtkDrawingArea" icon-name="widget-gtk-drawingarea"/> |