summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-04-18 14:35:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-04-18 15:45:24 +0100
commit599d66fdce6149c7fa5c7c0ad00d4da3b9ce2dfe (patch)
tree040fb72fca2c290f7748cf720601b290dd643ae2 /cui/source
parent33cc263f2f5f8b5517c8742f6e7141cc01c75829 (diff)
convert autocorrect replace tabpage to .ui format
Change-Id: I962fae2d4d177a7ca364d0dece0c15132a199497
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/inc/autocdlg.hxx32
-rw-r--r--cui/source/inc/cuires.hrc1
-rw-r--r--cui/source/inc/helpid.hrc1
-rw-r--r--cui/source/tabpages/autocdlg.cxx183
-rw-r--r--cui/source/tabpages/autocdlg.hrc22
-rw-r--r--cui/source/tabpages/autocdlg.src126
6 files changed, 101 insertions, 264 deletions
diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx
index d953ad2b2d19..b760dca00044 100644
--- a/cui/source/inc/autocdlg.hxx
+++ b/cui/source/inc/autocdlg.hxx
@@ -301,23 +301,21 @@ class OfaAutocorrExceptPage : public SfxTabPage
using TabPage::DeactivatePage;
private:
- FixedLine aAbbrevFL;
- AutoCorrEdit aAbbrevED;
- ListBox aAbbrevLB;
- PushButton aNewAbbrevPB;
- PushButton aDelAbbrevPB;
- CheckBox aAutoAbbrevCB;
-
- FixedLine aDoubleCapsFL;
- AutoCorrEdit aDoubleCapsED;
- ListBox aDoubleCapsLB;
- PushButton aNewDoublePB;
- PushButton aDelDoublePB;
- CheckBox aAutoCapsCB;
-
- StringsTable aStringsTable;
- CollatorWrapper* pCompareClass;
- LanguageType eLang;
+ AutoCorrEdit* m_pAbbrevED;
+ ListBox* m_pAbbrevLB;
+ PushButton* m_pNewAbbrevPB;
+ PushButton* m_pDelAbbrevPB;
+ CheckBox* m_pAutoAbbrevCB;
+
+ AutoCorrEdit* m_pDoubleCapsED;
+ ListBox* m_pDoubleCapsLB;
+ PushButton* m_pNewDoublePB;
+ PushButton* m_pDelDoublePB;
+ CheckBox* m_pAutoCapsCB;
+
+ StringsTable aStringsTable;
+ CollatorWrapper* pCompareClass;
+ LanguageType eLang;
DECL_LINK(NewDelHdl, PushButton*);
DECL_LINK(SelectHdl, ListBox*);
diff --git a/cui/source/inc/cuires.hrc b/cui/source/inc/cuires.hrc
index 1a013858b551..bdb022dca806 100644
--- a/cui/source/inc/cuires.hrc
+++ b/cui/source/inc/cuires.hrc
@@ -116,7 +116,6 @@
#define RID_OFAPAGE_AUTOCORR_OPTIONS (RID_OFA_START + 102)
#define RID_OFAPAGE_AUTOFMT_APPLY (RID_OFA_START + 110)
-#define RID_OFAPAGE_AUTOCORR_EXCEPT (RID_OFA_START + 104)
#define RID_OFAPAGE_AUTOCORR_QUOTE (RID_OFA_START + 109)
#define RID_OFADLG_PRCNT_SET (RID_OFA_START + 111)
diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc
index 972992e8b398..f3b95fd73787 100644
--- a/cui/source/inc/helpid.hrc
+++ b/cui/source/inc/helpid.hrc
@@ -238,7 +238,6 @@
#define HID_TPCOLOR_CMYK_3 "CUI_HID_TPCOLOR_CMYK_3"
#define HID_OFAPAGE_AUTOCORR_OPTIONS "CUI_HID_OFAPAGE_AUTOCORR_OPTIONS"
#define HID_OFAPAGE_AUTOFMT_OPTIONS "CUI_HID_OFAPAGE_AUTOFMT_OPTIONS"
-#define HID_OFAPAGE_AUTOCORR_EXCEPT "CUI_HID_OFAPAGE_AUTOCORR_EXCEPT"
#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"
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 1ea6a9f1233c..4c12deec6dcd 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -1347,51 +1347,40 @@ static sal_Bool lcl_FindInArray(std::vector<OUString>& rStrings, const String& r
return sal_False;
}
-OfaAutocorrExceptPage::OfaAutocorrExceptPage( Window* pParent,
- const SfxItemSet& rSet ) :
- SfxTabPage(pParent, CUI_RES( RID_OFAPAGE_AUTOCORR_EXCEPT ), rSet),
- aAbbrevFL (this, CUI_RES(FL_ABBREV )),
- aAbbrevED (this, CUI_RES(ED_ABBREV )),
- aAbbrevLB (this, CUI_RES(LB_ABBREV )),
- aNewAbbrevPB (this, CUI_RES(PB_NEWABBREV )),
- aDelAbbrevPB (this, CUI_RES(PB_DELABBREV )),
- aAutoAbbrevCB (this, CUI_RES(CB_AUTOABBREV )),
- aDoubleCapsFL (this, CUI_RES(FL_DOUBLECAPS )),
- aDoubleCapsED (this, CUI_RES(ED_DOUBLE_CAPS )),
- aDoubleCapsLB (this, CUI_RES(LB_DOUBLE_CAPS )),
- aNewDoublePB (this, CUI_RES(PB_NEWDOUBLECAPS)),
- aDelDoublePB (this, CUI_RES(PB_DELDOUBLECAPS)),
- aAutoCapsCB (this, CUI_RES(CB_AUTOCAPS )),
- eLang(eLastDialogLanguage)
-{
- aNewAbbrevPB.SetAccessibleName(String(CUI_RES(STR_PB_NEWABBREV) ) );
- aDelAbbrevPB.SetAccessibleName(String(CUI_RES(STR_PB_DELABBREV) ) );
- aNewDoublePB.SetAccessibleName(String(CUI_RES(STR_PB_NEWDOUBLECAPS) ) );
- aDelDoublePB.SetAccessibleName(String(CUI_RES(STR_PB_DELDOUBLECAPS) ) );
+OfaAutocorrExceptPage::OfaAutocorrExceptPage(Window* pParent, const SfxItemSet& rSet)
+ : SfxTabPage(pParent, "AcorExceptPage", "cui/ui/acorexceptpage.ui", rSet)
+ , eLang(eLastDialogLanguage)
+{
+ get(m_pAbbrevED, "abbrev");
+ get(m_pAbbrevLB, "abbrevlist");
+ m_pAbbrevLB->SetStyle(m_pAbbrevLB->GetStyle() | WB_SORT);
+ get(m_pNewAbbrevPB, "newabbrev");
+ get(m_pDelAbbrevPB, "delabbrev");
+ get(m_pAutoAbbrevCB, "autoabbrev");
- FreeResource();
+ get(m_pDoubleCapsED, "double");
+ get(m_pDoubleCapsLB, "doublelist");
+ m_pDoubleCapsLB->SetStyle(m_pDoubleCapsLB->GetStyle() | WB_SORT);
+ get(m_pNewDoublePB, "newdouble");
+ get(m_pDelDoublePB, "deldouble");
+ get(m_pAutoCapsCB, "autodouble");
::com::sun::star::lang::Locale aLcl( LanguageTag(eLastDialogLanguage ).getLocale());
pCompareClass = new CollatorWrapper( comphelper::getProcessComponentContext() );
pCompareClass->loadDefaultCollator( aLcl, 0 );
- aNewAbbrevPB.SetClickHdl(LINK(this, OfaAutocorrExceptPage, NewDelHdl));
- aDelAbbrevPB.SetClickHdl(LINK(this, OfaAutocorrExceptPage, NewDelHdl));
- aNewDoublePB.SetClickHdl(LINK(this, OfaAutocorrExceptPage, NewDelHdl));
- aDelDoublePB.SetClickHdl(LINK(this, OfaAutocorrExceptPage, NewDelHdl));
-
- aAbbrevLB.SetSelectHdl(LINK(this, OfaAutocorrExceptPage, SelectHdl));
- aDoubleCapsLB.SetSelectHdl(LINK(this, OfaAutocorrExceptPage, SelectHdl));
- aAbbrevED.SetModifyHdl(LINK(this, OfaAutocorrExceptPage, ModifyHdl));
- aDoubleCapsED.SetModifyHdl(LINK(this, OfaAutocorrExceptPage, ModifyHdl));
+ m_pNewAbbrevPB->SetClickHdl(LINK(this, OfaAutocorrExceptPage, NewDelHdl));
+ m_pDelAbbrevPB->SetClickHdl(LINK(this, OfaAutocorrExceptPage, NewDelHdl));
+ m_pNewDoublePB->SetClickHdl(LINK(this, OfaAutocorrExceptPage, NewDelHdl));
+ m_pDelDoublePB->SetClickHdl(LINK(this, OfaAutocorrExceptPage, NewDelHdl));
- aAbbrevED.SetActionHdl(LINK(this, OfaAutocorrExceptPage, NewDelHdl));
- aDoubleCapsED.SetActionHdl(LINK(this, OfaAutocorrExceptPage, NewDelHdl));
+ m_pAbbrevLB->SetSelectHdl(LINK(this, OfaAutocorrExceptPage, SelectHdl));
+ m_pDoubleCapsLB->SetSelectHdl(LINK(this, OfaAutocorrExceptPage, SelectHdl));
+ m_pAbbrevED->SetModifyHdl(LINK(this, OfaAutocorrExceptPage, ModifyHdl));
+ m_pDoubleCapsED->SetModifyHdl(LINK(this, OfaAutocorrExceptPage, ModifyHdl));
- aNewAbbrevPB.SetAccessibleRelationMemberOf(&aAbbrevFL);
- aDelAbbrevPB.SetAccessibleRelationMemberOf(&aAbbrevFL);
- aNewDoublePB.SetAccessibleRelationMemberOf(&aDoubleCapsFL);
- aDelDoublePB.SetAccessibleRelationMemberOf(&aDoubleCapsFL);
+ m_pAbbrevED->SetActionHdl(LINK(this, OfaAutocorrExceptPage, NewDelHdl));
+ m_pDoubleCapsED->SetActionHdl(LINK(this, OfaAutocorrExceptPage, NewDelHdl));
}
OfaAutocorrExceptPage::~OfaAutocorrExceptPage()
@@ -1491,16 +1480,16 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
for( i = nCount; i; )
{
String* pString = (*pWrdList)[ --i ];
- if( USHRT_MAX == aDoubleCapsLB.GetEntryPos(*pString) )
+ if( USHRT_MAX == m_pDoubleCapsLB->GetEntryPos(*pString) )
{
delete (*pWrdList)[ i ];
pWrdList->erase(i);
}
}
- nCount = aDoubleCapsLB.GetEntryCount();
+ nCount = m_pDoubleCapsLB->GetEntryCount();
for( i = 0; i < nCount; ++i )
{
- String* pEntry = new String( aDoubleCapsLB.GetEntry( i ) );
+ String* pEntry = new String( m_pDoubleCapsLB->GetEntry( i ) );
if( !pWrdList->insert( pEntry ).second)
delete pEntry;
}
@@ -1516,25 +1505,25 @@ sal_Bool OfaAutocorrExceptPage::FillItemSet( SfxItemSet& )
for( i = nCount; i; )
{
String* pString = (*pCplList)[ --i ];
- if( USHRT_MAX == aAbbrevLB.GetEntryPos(*pString) )
+ if( USHRT_MAX == m_pAbbrevLB->GetEntryPos(*pString) )
{
delete (*pCplList)[ i ];
pCplList->erase(i);
}
}
- nCount = aAbbrevLB.GetEntryCount();
+ nCount = m_pAbbrevLB->GetEntryCount();
for( i = 0; i < nCount; ++i )
{
- String* pEntry = new String( aAbbrevLB.GetEntry( i ) );
+ String* pEntry = new String( m_pAbbrevLB->GetEntry( i ) );
if( !pCplList->insert( pEntry ).second)
delete pEntry;
}
pAutoCorrect->SaveCplSttExceptList(eLang);
}
- if(aAutoAbbrevCB.IsChecked() != aAutoAbbrevCB.GetSavedValue())
- pAutoCorrect->SetAutoCorrFlag( SaveWordCplSttLst, aAutoAbbrevCB.IsChecked());
- if(aAutoCapsCB.IsChecked() != aAutoCapsCB.GetSavedValue())
- pAutoCorrect->SetAutoCorrFlag( SaveWordWrdSttLst, aAutoCapsCB.IsChecked());
+ if(m_pAutoAbbrevCB->IsChecked() != m_pAutoAbbrevCB->GetSavedValue())
+ pAutoCorrect->SetAutoCorrFlag( SaveWordCplSttLst, m_pAutoAbbrevCB->IsChecked());
+ if(m_pAutoCapsCB->IsChecked() != m_pAutoCapsCB->GetSavedValue())
+ pAutoCorrect->SetAutoCorrFlag( SaveWordWrdSttLst, m_pAutoCapsCB->IsChecked());
return sal_False;
}
@@ -1548,8 +1537,8 @@ void OfaAutocorrExceptPage::SetLanguage(LanguageType eSet)
delete pCompareClass;
pCompareClass = new CollatorWrapper( comphelper::getProcessComponentContext() );
pCompareClass->loadDefaultCollator( LanguageTag( eLastDialogLanguage ).getLocale(), 0 );
- ModifyHdl(&aAbbrevED);
- ModifyHdl(&aDoubleCapsED);
+ ModifyHdl(m_pAbbrevED);
+ ModifyHdl(m_pDoubleCapsED);
}
}
@@ -1577,26 +1566,26 @@ void OfaAutocorrExceptPage::RefillReplaceBoxes(sal_Bool bFromReset,
}
sal_uInt16 i;
- for(i = 0; i < aAbbrevLB.GetEntryCount(); i++)
- pArrays->aAbbrevStrings.push_back(OUString(aAbbrevLB.GetEntry(i)));
+ for(i = 0; i < m_pAbbrevLB->GetEntryCount(); i++)
+ pArrays->aAbbrevStrings.push_back(OUString(m_pAbbrevLB->GetEntry(i)));
- for(i = 0; i < aDoubleCapsLB.GetEntryCount(); i++)
- pArrays->aDoubleCapsStrings.push_back(OUString(aDoubleCapsLB.GetEntry(i)));
+ for(i = 0; i < m_pDoubleCapsLB->GetEntryCount(); i++)
+ pArrays->aDoubleCapsStrings.push_back(OUString(m_pDoubleCapsLB->GetEntry(i)));
}
- aDoubleCapsLB.Clear();
- aAbbrevLB.Clear();
+ m_pDoubleCapsLB->Clear();
+ m_pAbbrevLB->Clear();
String sTemp;
- aAbbrevED.SetText(sTemp);
- aDoubleCapsED.SetText(sTemp);
+ m_pAbbrevED->SetText(sTemp);
+ m_pDoubleCapsED->SetText(sTemp);
if(aStringsTable.find(eLang) != aStringsTable.end())
{
StringsArrays& rArrays = aStringsTable[eLang];
for(std::vector<OUString>::iterator i = rArrays.aAbbrevStrings.begin(); i != rArrays.aAbbrevStrings.end(); ++i)
- aAbbrevLB.InsertEntry(*i);
+ m_pAbbrevLB->InsertEntry(*i);
for(std::vector<OUString>::iterator i = rArrays.aDoubleCapsStrings.begin(); i != rArrays.aDoubleCapsStrings.end(); ++i)
- aDoubleCapsLB.InsertEntry(*i);
+ m_pDoubleCapsLB->InsertEntry(*i);
}
else
{
@@ -1606,11 +1595,11 @@ void OfaAutocorrExceptPage::RefillReplaceBoxes(sal_Bool bFromReset,
sal_uInt16 i;
for( i = 0; i < pCplList->size(); i++ )
{
- aAbbrevLB.InsertEntry(*(*pCplList)[i]);
+ m_pAbbrevLB->InsertEntry(*(*pCplList)[i]);
}
for( i = 0; i < pWrdList->size(); i++ )
{
- aDoubleCapsLB.InsertEntry(*(*pWrdList)[i]);
+ m_pDoubleCapsLB->InsertEntry(*(*pWrdList)[i]);
}
}
}
@@ -1619,52 +1608,52 @@ void OfaAutocorrExceptPage::Reset( const SfxItemSet& )
{
SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get().GetAutoCorrect();
RefillReplaceBoxes(sal_True, eLang, eLang);
- aAutoAbbrevCB. Check( pAutoCorrect->IsAutoCorrFlag( SaveWordCplSttLst ));
- aAutoCapsCB. Check( pAutoCorrect->IsAutoCorrFlag( SaveWordWrdSttLst ));
- aAutoAbbrevCB.SaveValue();
- aAutoCapsCB.SaveValue();
+ m_pAutoAbbrevCB-> Check( pAutoCorrect->IsAutoCorrFlag( SaveWordCplSttLst ));
+ m_pAutoCapsCB-> Check( pAutoCorrect->IsAutoCorrFlag( SaveWordWrdSttLst ));
+ m_pAutoAbbrevCB->SaveValue();
+ m_pAutoCapsCB->SaveValue();
}
IMPL_LINK(OfaAutocorrExceptPage, NewDelHdl, PushButton*, pBtn)
{
- if((pBtn == &aNewAbbrevPB || pBtn == (PushButton*)&aAbbrevED )
- && !aAbbrevED.GetText().isEmpty())
+ if((pBtn == m_pNewAbbrevPB || pBtn == (PushButton*)m_pAbbrevED )
+ && !m_pAbbrevED->GetText().isEmpty())
{
- aAbbrevLB.InsertEntry(aAbbrevED.GetText());
- ModifyHdl(&aAbbrevED);
+ m_pAbbrevLB->InsertEntry(m_pAbbrevED->GetText());
+ ModifyHdl(m_pAbbrevED);
}
- else if(pBtn == &aDelAbbrevPB)
+ else if(pBtn == m_pDelAbbrevPB)
{
- aAbbrevLB.RemoveEntry(aAbbrevED.GetText());
- ModifyHdl(&aAbbrevED);
+ m_pAbbrevLB->RemoveEntry(m_pAbbrevED->GetText());
+ ModifyHdl(m_pAbbrevED);
}
- else if((pBtn == &aNewDoublePB || pBtn == (PushButton*)&aDoubleCapsED )
- && !aDoubleCapsED.GetText().isEmpty())
+ else if((pBtn == m_pNewDoublePB || pBtn == (PushButton*)m_pDoubleCapsED )
+ && !m_pDoubleCapsED->GetText().isEmpty())
{
- aDoubleCapsLB.InsertEntry(aDoubleCapsED.GetText());
- ModifyHdl(&aDoubleCapsED);
+ m_pDoubleCapsLB->InsertEntry(m_pDoubleCapsED->GetText());
+ ModifyHdl(m_pDoubleCapsED);
}
- else if(pBtn == &aDelDoublePB)
+ else if(pBtn == m_pDelDoublePB)
{
- aDoubleCapsLB.RemoveEntry(aDoubleCapsED.GetText());
- ModifyHdl(&aDoubleCapsED);
+ m_pDoubleCapsLB->RemoveEntry(m_pDoubleCapsED->GetText());
+ ModifyHdl(m_pDoubleCapsED);
}
return 0;
}
IMPL_LINK(OfaAutocorrExceptPage, SelectHdl, ListBox*, pBox)
{
- if(pBox == &aAbbrevLB)
+ if (pBox == m_pAbbrevLB)
{
- aAbbrevED.SetText(pBox->GetSelectEntry());
- aNewAbbrevPB.Enable(sal_False);
- aDelAbbrevPB.Enable();
+ m_pAbbrevED->SetText(pBox->GetSelectEntry());
+ m_pNewAbbrevPB->Enable(sal_False);
+ m_pDelAbbrevPB->Enable();
}
else
{
- aDoubleCapsED.SetText(pBox->GetSelectEntry());
- aNewDoublePB.Enable(sal_False);
- aDelDoublePB.Enable();
+ m_pDoubleCapsED->SetText(pBox->GetSelectEntry());
+ m_pNewDoublePB->Enable(sal_False);
+ m_pDelDoublePB->Enable();
}
return 0;
}
@@ -1674,21 +1663,21 @@ IMPL_LINK(OfaAutocorrExceptPage, ModifyHdl, Edit*, pEdt)
// sal_Bool bSame = pEdt->GetText() == ->GetSelectEntry();
const String& sEntry = pEdt->GetText();
sal_Bool bEntryLen = 0!= sEntry.Len();
- if(pEdt == &aAbbrevED)
+ if(pEdt == m_pAbbrevED)
{
- sal_Bool bSame = lcl_FindEntry(aAbbrevLB, sEntry, *pCompareClass);
- if(bSame && sEntry != aAbbrevLB.GetSelectEntry())
- pEdt->SetText(aAbbrevLB.GetSelectEntry());
- aNewAbbrevPB.Enable(!bSame && bEntryLen);
- aDelAbbrevPB.Enable(bSame && bEntryLen);
+ sal_Bool bSame = lcl_FindEntry(*m_pAbbrevLB, sEntry, *pCompareClass);
+ if(bSame && sEntry != m_pAbbrevLB->GetSelectEntry())
+ pEdt->SetText(m_pAbbrevLB->GetSelectEntry());
+ m_pNewAbbrevPB->Enable(!bSame && bEntryLen);
+ m_pDelAbbrevPB->Enable(bSame && bEntryLen);
}
else
{
- sal_Bool bSame = lcl_FindEntry(aDoubleCapsLB, sEntry, *pCompareClass);
- if(bSame && sEntry != aDoubleCapsLB.GetSelectEntry())
- pEdt->SetText(aDoubleCapsLB.GetSelectEntry());
- aNewDoublePB.Enable(!bSame && bEntryLen);
- aDelDoublePB.Enable(bSame && bEntryLen);
+ sal_Bool bSame = lcl_FindEntry(*m_pDoubleCapsLB, sEntry, *pCompareClass);
+ if(bSame && sEntry != m_pDoubleCapsLB->GetSelectEntry())
+ pEdt->SetText(m_pDoubleCapsLB->GetSelectEntry());
+ m_pNewDoublePB->Enable(!bSame && bEntryLen);
+ m_pDelDoublePB->Enable(bSame && bEntryLen);
}
return 0;
}
diff --git a/cui/source/tabpages/autocdlg.hrc b/cui/source/tabpages/autocdlg.hrc
index 80d5167be30e..3af45f8499c5 100644
--- a/cui/source/tabpages/autocdlg.hrc
+++ b/cui/source/tabpages/autocdlg.hrc
@@ -31,30 +31,8 @@
#define FT_ENDQUOTE 14
#define PB_ENDQUOTE 15
-#define FL_ABBREV 16
-#define ED_ABBREV 17
-#define LB_ABBREV 18
-#define PB_NEWABBREV 19
-#define PB_DELABBREV 20
-#define FL_DOUBLECAPS 21
-#define ED_DOUBLE_CAPS 22
-#define LB_DOUBLE_CAPS 23
-#define PB_NEWDOUBLECAPS 24
-#define PB_DELDOUBLECAPS 25
-
-#define ED_SHORT 31
-#define ED_REPLACE 32
-#define TLB_REPLACE 33
-#define CB_TEXT_ONLY 34
-#define PB_NEW_REPLACE 35
-#define PB_DELETE_REPLACE 36
-#define STR_MODIFY 37
-#define FT_SHORT 39
-#define FT_REPLACE 40
#define STR_CHANGE_START 41
#define STR_CHANGE_END 42
-#define CB_AUTOABBREV 43
-#define CB_AUTOCAPS 44
#define FT_SGL_STARTQUOTE 45
#define PB_SGL_STARTQUOTE 46
diff --git a/cui/source/tabpages/autocdlg.src b/cui/source/tabpages/autocdlg.src
index ffb389026d1b..e7bfebd0c471 100644
--- a/cui/source/tabpages/autocdlg.src
+++ b/cui/source/tabpages/autocdlg.src
@@ -212,132 +212,6 @@ ModalDialog RID_OFADLG_PRCNT_SET
/**************************************************************************/
/* */
-/* Beschreibung: Ausnahmelisten */
-/* */
-/**************************************************************************/
-TabPage RID_OFAPAGE_AUTOCORR_EXCEPT
-{
- HelpId = HID_OFAPAGE_AUTOCORR_EXCEPT ;
- OutputSize = TRUE ;
- Size = MAP_APPFONT ( TP_WIDTH , TP_HEIGHT ) ;
- SVLook = TRUE ;
- Hide = TRUE ;
- FixedLine FL_ABBREV
- {
- Pos = MAP_APPFONT ( 4 , 3 ) ;
- Size = MAP_APPFONT ( 252 , 8 ) ;
- Text [ en-US ] = "Abbreviations (no subsequent capital)" ;
- };
- Edit ED_ABBREV
- {
- HelpID = "cui:Edit:RID_OFAPAGE_AUTOCORR_EXCEPT:ED_ABBREV";
- Pos = MAP_APPFONT ( 7 , 14 ) ;
- Size = MAP_APPFONT ( 123 , 12 ) ;
- TabStop = TRUE ;
- Border = TRUE ;
- };
- ListBox LB_ABBREV
- {
- HelpID = "cui:ListBox:RID_OFAPAGE_AUTOCORR_EXCEPT:LB_ABBREV";
- Pos = MAP_APPFONT ( 7 , 30 ) ;
- Size = MAP_APPFONT ( 123 , 58 ) ;
- TabStop = TRUE ;
- AutoHScroll = TRUE ;
- SORT = TRUE ;
- Border = TRUE ;
- };
- PushButton PB_NEWABBREV
- {
- HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_EXCEPT:PB_NEWABBREV";
- Pos = MAP_APPFONT ( 198 , 14 ) ;
- Size = MAP_APPFONT ( 50 , 14 ) ;
- TabStop = TRUE ;
- Disable = TRUE ;
- Text [ en-US ] = "~New" ;
- };
- PushButton PB_DELABBREV
- {
- HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_EXCEPT:PB_DELABBREV";
- Pos = MAP_APPFONT ( 198 , 31 ) ;
- Size = MAP_APPFONT ( 50 , 14 ) ;
- TabStop = TRUE ;
- Disable = TRUE ;
- Text [ en-US ] = "~Delete" ;
- };
- CheckBox CB_AUTOABBREV
- {
- HelpID = "cui:CheckBox:RID_OFAPAGE_AUTOCORR_EXCEPT:CB_AUTOABBREV";
- Pos = MAP_APPFONT ( 137 , 78 ) ;
- Size = MAP_APPFONT ( 111 , 10 ) ;
- Text [ en-US ] = "~AutoInclude";
- TabStop = TRUE ;
- };
- FixedLine FL_DOUBLECAPS
- {
- Pos = MAP_APPFONT ( 4 , 94 ) ;
- Size = MAP_APPFONT ( 252 , 8 ) ;
- Text [ en-US ] = "Words with TWo INitial CApitals" ;
- };
- Edit ED_DOUBLE_CAPS
- {
- HelpID = "cui:Edit:RID_OFAPAGE_AUTOCORR_EXCEPT:ED_DOUBLE_CAPS";
- Pos = MAP_APPFONT ( 7 , 105 ) ;
- Size = MAP_APPFONT ( 123 , 12 ) ;
- TabStop = TRUE ;
- Border = TRUE ;
- };
- ListBox LB_DOUBLE_CAPS
- {
- HelpID = "cui:ListBox:RID_OFAPAGE_AUTOCORR_EXCEPT:LB_DOUBLE_CAPS";
- Pos = MAP_APPFONT ( 7 , 120 ) ;
- Size = MAP_APPFONT ( 123 , 59 ) ;
- TabStop = TRUE ;
- AutoHScroll = TRUE ;
- SORT = TRUE ;
- Border = TRUE ;
- };
- PushButton PB_NEWDOUBLECAPS
- {
- HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_EXCEPT:PB_NEWDOUBLECAPS";
- Pos = MAP_APPFONT ( 198 , 105 ) ;
- Size = MAP_APPFONT ( 50 , 14 ) ;
- Disable = TRUE ;
- Text [ en-US ] = "Ne~w" ;
- };
- PushButton PB_DELDOUBLECAPS
- {
- HelpID = "cui:PushButton:RID_OFAPAGE_AUTOCORR_EXCEPT:PB_DELDOUBLECAPS";
- Pos = MAP_APPFONT ( 198 , 122 ) ;
- Size = MAP_APPFONT ( 50 , 14 ) ;
- Disable = TRUE ;
- Text [ en-US ] = "Dele~te" ;
- };
- CheckBox CB_AUTOCAPS
- {
- HelpID = "cui:CheckBox:RID_OFAPAGE_AUTOCORR_EXCEPT:CB_AUTOCAPS";
- Pos = MAP_APPFONT ( 137 , 169 ) ;
- Size = MAP_APPFONT ( 111 , 10 ) ;
- Text [ en-US ] = "A~utoInclude";
- };
- String STR_PB_NEWABBREV
- {
- Text [ en-US ] = "New abbreviations" ;
- };
- String STR_PB_DELABBREV
- {
- Text [ en-US ] = "Delete abbreviations" ;
- };
- String STR_PB_NEWDOUBLECAPS
- {
- Text [ en-US ] = "New words with two initial capitals" ;
- };
- String STR_PB_DELDOUBLECAPS
- {
- Text [ en-US ] = "Delete words with two initial capitals" ;
- };
-};
-/**************************************************************************/
-/* */
/* Beschreibung: Typografische Anfuehrungszeichen */
/* */
/**************************************************************************/