summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/i18n/XTransliteration.idl
diff options
context:
space:
mode:
authorBustamam Harun <bustamam@openoffice.org>2001-06-29 21:52:49 +0000
committerBustamam Harun <bustamam@openoffice.org>2001-06-29 21:52:49 +0000
commitd41fedfab08bf3842c9a496734a4e34cabc11003 (patch)
tree600fda2fc4346d0ce7efacdd0199ffa86d64e7dc /offapi/com/sun/star/i18n/XTransliteration.idl
parent321571ba16987e7bd35c1f0c110b43f28000f4d6 (diff)
#88188# add transliteration::compare() - Joe Xu
Diffstat (limited to 'offapi/com/sun/star/i18n/XTransliteration.idl')
-rw-r--r--offapi/com/sun/star/i18n/XTransliteration.idl49
1 files changed, 47 insertions, 2 deletions
diff --git a/offapi/com/sun/star/i18n/XTransliteration.idl b/offapi/com/sun/star/i18n/XTransliteration.idl
index 06a112807deb..f3f63f21835b 100644
--- a/offapi/com/sun/star/i18n/XTransliteration.idl
+++ b/offapi/com/sun/star/i18n/XTransliteration.idl
@@ -2,9 +2,9 @@
*
* $RCSfile: XTransliteration.idl,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: jsc $ $Date: 2001-03-16 16:41:27 $
+ * last change: $Author: bustamam $ $Date: 2001-06-29 22:52:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -392,6 +392,51 @@ interface XTransliteration: com::sun::star::uno::XInterface
*/
sequence <string> transliterateRange ([in] string str1, [in] string str2);
+
+
+ /** compares 2 sub-strings
+
+ @param s1
+ first String
+
+ @param off1
+ offset (from 0) of the first substring
+
+ @param len1
+ length (from offset) of the first substring
+
+ @param s2
+ second String
+
+ @param off2
+ offset (from 0) of the second substring
+
+ @param len2
+ length (from offset) of the second substring
+
+ @returns
+ 1 if the first string is more than second string
+ 0 if the first string is equals to second string
+ -1 if the first string is less than second string
+ */
+ long compareSubstring([in] string s1, [in] long off1, [in] long len1,
+ [in] string s2, [in] long off2, [in] long len2);
+
+ /** compares 2 strings
+
+ @param s1
+ first String
+
+ @param s2
+ second String
+
+ @returns
+ 1 if the first string is more than second string
+ 0 if the first string is equals to second string
+ -1 if the first string is less than second string
+ */
+ long compareString([in] string s1, [in] string s2);
+
};
//=============================================================================