summaryrefslogtreecommitdiff
path: root/lingucomponent/source/spellcheck/spell/sspellimp.hxx
diff options
context:
space:
mode:
authorKevin Hendricks <khendricks@openoffice.org>2001-12-03 01:35:05 +0000
committerKevin Hendricks <khendricks@openoffice.org>2001-12-03 01:35:05 +0000
commit4882b693b341ec3dc2f926e45e3f4f1fd59d108b (patch)
tree4db9c01c67e587d9f71147edce285fb8f80c4da3 /lingucomponent/source/spellcheck/spell/sspellimp.hxx
parent6872f77d037eac912db3c3ebcb84d196dd325cd6 (diff)
fix lib spell to read from a parsed dictionary.lst of user installed
dictionaries, move dictionary location to user/wordbook now allow for spell checking with multiple dictionaries and multiple locales at the same time.
Diffstat (limited to 'lingucomponent/source/spellcheck/spell/sspellimp.hxx')
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.hxx16
1 files changed, 11 insertions, 5 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.hxx b/lingucomponent/source/spellcheck/spell/sspellimp.hxx
index 217097ad6115..d0aca24ce3d9 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.hxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sspellimp.hxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: khendricks $ $Date: 2001-09-08 15:55:44 $
+ * last change: $Author: khendricks $ $Date: 2001-12-03 02:35:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -104,6 +104,8 @@ using namespace ::com::sun::star::linguistic2;
#define OU2ISO_1(rtlOUString) ::rtl::OString((rtlOUString).getStr(), (rtlOUString).getLength(), RTL_TEXTENCODING_ISO_8859_1).getStr()
+#define OU2ENC(rtlOUString, rtlEncoding) ::rtl::OString((rtlOUString).getStr(), (rtlOUString).getLength(), rtlEncoding).getStr()
+
///////////////////////////////////////////////////////////////////////////
@@ -119,12 +121,15 @@ class SpellChecker :
XServiceDisplayName
>
{
- Sequence< Locale > aSuppLocales;
+ Sequence< Locale > aSuppLocales;
+ MySpell ** aSuppDicts;
+ rtl_TextEncoding * aSuppEncs;
+ Sequence<OUString> aSuppNames;
+ sal_Int32 numdict;
+
::cppu::OInterfaceContainerHelper aEvtListeners;
Reference< XPropertyChangeListener > xPropHelper;
PropertyHelper_Spell * pPropHelper;
- MySpell * pMS_en_US;
- MySpell * pMS_de_DE;
BOOL bDisposing;
// disallow copy-constructor and assignment-operator for now
@@ -224,6 +229,7 @@ inline OUString SpellChecker::getImplementationName_Static() throw()
}
+
///////////////////////////////////////////////////////////////////////////
#endif