summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2000-11-13 11:17:01 +0000
committerjp <jp@openoffice.org>2000-11-13 11:17:01 +0000
commitb2beac4d98b35d9d6e8f427af384ebec60a73ff4 (patch)
tree5fffff733705b647f2b20630db6bf91a1e2eda0f /sw
parentc7a30a6a271ef0049c9f53fa8268ca779cbad082 (diff)
new: GetScriptType - returns the ScriptTypes over the selection
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/editsh.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index 18989f4d2eb5..41520cfe674c 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: editsh.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: tl $ $Date: 2000-10-27 11:45:46 $
+ * last change: $Author: jp $ $Date: 2000-11-13 12:17:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -158,6 +158,11 @@ class SwAuthEntry;
#define GETSELTXT_PARABRK_KEEP 1
#define GETSELTXT_PARABRK_TO_ONLYCR 2
+#define SCRIPTTYPE_NONE 0
+#define SCRIPTTYPE_LATIN 1
+#define SCRIPTTYPE_ASIAN 2
+#define SCRIPTTYPE_COMPLEX 4
+
/****************************************************************
* zum Abfragen der INet-Attribute fuer den Navigator
****************************************************************/
@@ -278,6 +283,9 @@ public:
void ResetAttr();
void GCAttr();
+ // returns the scripttpye of the selection
+ USHORT GetScriptType() const;
+
// FrameFormate
SwFrmFmt* FindFrmFmtByName( const String& rName ) const;