summaryrefslogtreecommitdiffstats
path: root/sw/source/ui/inc/toxmgr.hxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-06-06 09:41:26 +0000
committerOliver Specht <os@openoffice.org>2001-06-06 09:41:26 +0000
commit7c8007a530e6974b1b5d04bbc6d681d8a2a5ee06 (patch)
treeaf956da1ce20044b5ff85e6f895c330e8bcdaffa /sw/source/ui/inc/toxmgr.hxx
parent#87673# (although this also fixes 87555) reset the storage reference after re... (diff)
downloadcore-7c8007a530e6974b1b5d04bbc6d681d8a2a5ee06.tar.gz
core-7c8007a530e6974b1b5d04bbc6d681d8a2a5ee06.zip
#87851# enable I18N aware sorting in indexes
Diffstat (limited to 'sw/source/ui/inc/toxmgr.hxx')
-rw-r--r--sw/source/ui/inc/toxmgr.hxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/sw/source/ui/inc/toxmgr.hxx b/sw/source/ui/inc/toxmgr.hxx
index 05ed0282fe47..79eef420c588 100644
--- a/sw/source/ui/inc/toxmgr.hxx
+++ b/sw/source/ui/inc/toxmgr.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: toxmgr.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:14:42 $
+ * last change: $Author: os $ $Date: 2001-06-06 10:41:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -88,6 +88,9 @@ class SwTOXDescription
USHORT nContent;
USHORT nIndexOptions;
USHORT nOLEOptions;
+ LanguageType eLanguage;
+ String sSortAlgorithm;
+
String sAuthBrackets;
SwCaptionDisplay eCaptionDisplay;
SwTOXSortKey eSortKey1;
@@ -111,6 +114,7 @@ public:
pForm(0),
nContent(TOX_MARK | TOX_OUTLINELEVEL),
nLevel(MAXLEVEL),
+ eLanguage((LanguageType)::GetAppLanguage()),
pTOUName(0),
nIndexOptions(TOI_SAME_ENTRY|TOI_FF|TOI_CASE_SENSITIVE),
nOLEOptions(0),
@@ -199,8 +203,14 @@ public:
SwTOXSortKey GetSortKey2() const {return eSortKey2;}
SwTOXSortKey GetSortKey3() const {return eSortKey3;}
+ LanguageType GetLanguage() const {return eLanguage;}
+ void SetLanguage(LanguageType nLang) {eLanguage = nLang;}
+
+ const String& GetSortAlgorithm()const {return sSortAlgorithm;}
+ void SetSortAlgorithm(const String& rSet) {sSortAlgorithm = rSet;}
void ApplyTo(SwTOXBase& rTOXBase);
+
};
// --------------------------------------------------------------------------------
class SwTOXMarkDescription