summaryrefslogtreecommitdiff
path: root/linguistic/inc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-04-04 11:43:58 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-04-04 11:43:58 +0000
commit67d0fa202d3d4e4d9b9ee988843f5a88c0163d81 (patch)
tree214d53abfb0b8cbe7a51e2d6bccd742acb85fcc7 /linguistic/inc
parent176e66fa26fd05f9bf635baf08a4a61b706a7308 (diff)
INTEGRATION: CWS tl10 (1.8.10); FILE MERGED
2005/03/02 11:46:36 tl 1.8.10.1: #119761# make proposals for capitalized incorrect words capitalized too
Diffstat (limited to 'linguistic/inc')
-rw-r--r--linguistic/inc/misc.hxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/linguistic/inc/misc.hxx b/linguistic/inc/misc.hxx
index 6576ca9ebac0..eb570771821d 100644
--- a/linguistic/inc/misc.hxx
+++ b/linguistic/inc/misc.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: misc.hxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: kz $ $Date: 2004-11-27 13:19:44 $
+ * last change: $Author: hr $ $Date: 2005-04-04 12:43:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -220,9 +220,15 @@ INT32 GetPosInWordToCheck( const rtl::OUString &rTxt, INT32 nPos );
///////////////////////////////////////////////////////////////////////////
-BOOL IsUpper( const String &rText, INT16 nLanguage );
-BOOL IsLower( const String &rText, INT16 nLanguage );
+BOOL IsUpper( const String &rText, xub_StrLen nPos, xub_StrLen nLen, INT16 nLanguage );
+BOOL IsLower( const String &rText, xub_StrLen nPos, xub_StrLen nLen, INT16 nLanguage );
+
+inline BOOL IsUpper( const String &rText, INT16 nLanguage ) { return IsUpper( rText, 0, rText.Len(), nLanguage ); }
+inline BOOL IsLower( const String &rText, INT16 nLanguage ) { return IsLower( rText, 0, rText.Len(), nLanguage ); }
+
String ToLower( const String &rText, INT16 nLanguage );
+String ToUpper( const String &rText, INT16 nLanguage );
+String ToTitle( const String &rText, INT16 nLanguage );
sal_Unicode ToLower( const sal_Unicode cChar, INT16 nLanguage );
sal_Unicode ToUpper( const sal_Unicode cChar, INT16 nLanguage );
BOOL HasDigits( const String &rText );