summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorChristof Pintaske <cp@openoffice.org>2001-09-06 11:52:37 +0000
committerChristof Pintaske <cp@openoffice.org>2001-09-06 11:52:37 +0000
commit1ab69d06b62e7fe6c222c78a148ba7f2f53e9968 (patch)
treedf8fd9faa4b0b5d65de153566b15d8180d38991c /svtools
parentc438c306682f72e8381fbeb240bab16747a1e05d (diff)
#91372# add unicode sorting option
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/collatorres.cxx6
-rw-r--r--svtools/source/control/ctrlbox.src11
2 files changed, 13 insertions, 4 deletions
diff --git a/svtools/source/control/collatorres.cxx b/svtools/source/control/collatorres.cxx
index 940bfd0f1193..c9c0d9e637fd 100644
--- a/svtools/source/control/collatorres.cxx
+++ b/svtools/source/control/collatorres.cxx
@@ -55,7 +55,7 @@ class CollatorRessourceData
//
// -------------------------------------------------------------------------
-#define COLLATOR_RESSOURCE_COUNT 8
+#define COLLATOR_RESSOURCE_COUNT 9
CollatorRessource::CollatorRessource()
{
@@ -78,7 +78,9 @@ CollatorRessource::CollatorRessource()
RESSTR(STR_SVT_COLLATE_RADICAL));
mp_Data[6] = CollatorRessourceData (ASCSTR("stroke"),
RESSTR(STR_SVT_COLLATE_STROKE));
- mp_Data[7] = CollatorRessourceData (ASCSTR("zhuyin"),
+ mp_Data[7] = CollatorRessourceData (ASCSTR("unicode"),
+ RESSTR(STR_SVT_COLLATE_UNICODE));
+ mp_Data[8] = CollatorRessourceData (ASCSTR("zhuyin"),
RESSTR(STR_SVT_COLLATE_ZHUYIN));
}
diff --git a/svtools/source/control/ctrlbox.src b/svtools/source/control/ctrlbox.src
index 6143a2bfbd07..56e3aa79c2e1 100644
--- a/svtools/source/control/ctrlbox.src
+++ b/svtools/source/control/ctrlbox.src
@@ -2,9 +2,9 @@
*
* $RCSfile: ctrlbox.src,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: kz $ $Date: 2001-08-24 05:54:49 $
+ * last change: $Author: cp $ $Date: 2001-09-06 12:52:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -302,6 +302,13 @@ String STR_SVT_COLLATE_RADICAL
Text[ finnish ] = "Radical";
};
+String STR_SVT_COLLATE_UNICODE
+{
+ /* sorting according to the unicode code point of the character */
+ Text = "Unicode" ;
+ Text [ ENGLISH ] = "Unicode" ;
+};
+
String STR_SVT_COLLATE_ZHUYIN
{
/* chinese sorting algorithm */