summaryrefslogtreecommitdiff
path: root/svtools/inc
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-07-16 13:14:55 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-07-16 13:14:55 +0000
commite5c6f6f60c5ae9836bf06a949f0e92b1bf83c10c (patch)
tree07bbbf39eb05c3340551fa554ba46b2fb19085ba /svtools/inc
parent7068b9cb2855d684cd960b2c3e2489a3c476d11d (diff)
INTEGRATION: CWS tl55 (1.4.42); FILE MERGED
2008/06/27 12:11:47 tl 1.4.42.3: #i85999# grammar checking framework 2008/06/26 13:19:50 tl 1.4.42.2: #i85999# grammar checking framework 2008/06/19 09:30:40 os 1.4.42.1: #i85999# grammar checking config added
Diffstat (limited to 'svtools/inc')
-rw-r--r--svtools/inc/svtools/lingucfg.hxx18
1 files changed, 17 insertions, 1 deletions
diff --git a/svtools/inc/svtools/lingucfg.hxx b/svtools/inc/svtools/lingucfg.hxx
index 5d3f0ff5a043..1a3b07b3e27c 100644
--- a/svtools/inc/svtools/lingucfg.hxx
+++ b/svtools/inc/svtools/lingucfg.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: lingucfg.hxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
* This file is part of OpenOffice.org.
*
@@ -42,6 +42,7 @@
#include <unotools/configitem.hxx>
#include <osl/mutex.hxx>
#include <svtools/options.hxx>
+#include <i18npool/lang.h>
#include <vector>
@@ -138,6 +139,12 @@ struct SVL_DLLPUBLIC SvtLinguOptions
INT32 nDataFilesChangedCheckValue;
BOOL bRODataFilesChangedCheckValue;
+ BOOL bIsGrammarAuto;
+ BOOL bIsGrammarInteractive;
+
+ BOOL bROIsGrammarAuto;
+ BOOL bROIsGrammarInteractive;
+
SvtLinguOptions();
};
@@ -170,7 +177,11 @@ class SVL_DLLPUBLIC SvtLinguConfig: public svt::detail::Options
// configuration update access for the 'Linguistic/ServiceManager' node
mutable com::sun::star::uno::Reference< com::sun::star::util::XChangesBatch > m_xUpdateAccess;
+ // configuration update access for the 'Linguistic' main node
+ mutable com::sun::star::uno::Reference< com::sun::star::util::XChangesBatch > m_xMainUpdateAccess;
+
com::sun::star::uno::Reference< com::sun::star::util::XChangesBatch > GetUpdateAccess() const;
+ com::sun::star::uno::Reference< com::sun::star::util::XChangesBatch > GetMainUpdateAccess() const;
com::sun::star::uno::Sequence< rtl::OUString > GetCurrentOrLastActiveDicts_Impl( const rtl::OUString &rPropName ) const;
void SetCurrentOrLastActiveDicts_Impl( const rtl::OUString &rPropName, const com::sun::star::uno::Sequence< rtl::OUString > &rDictionaries ) const;
@@ -227,6 +238,11 @@ public:
//
std::vector< SvtLinguConfigDictionaryEntry > GetActiveDictionariesByFormat( const rtl::OUString &rFormatName );
+ ::rtl::OUString GetSpellAndGrammarDialogImage( LanguageType nLang ) const;
+ ::rtl::OUString GetSpellAndGrammarContextImage( LanguageType nLang ) const;
+ bool HasAnySpellAndGrammarDialogImage() const;
+ bool HasAnySpellAndGrammarContextImage() const;
+ bool HasGrammarChecker() const;
};
//////////////////////////////////////////////////////////////////////