summaryrefslogtreecommitdiff
path: root/sw/inc/txtatr.hxx
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2001-02-15 19:10:39 +0000
committerjp <jp@openoffice.org>2001-02-15 19:10:39 +0000
commitc34d14937ff13453cc2504a14ba5ca366eaed8b7 (patch)
treeaadcf6811ed2191b384df252ebb9bd33a27ecdc6 /sw/inc/txtatr.hxx
parent497cda668155aab71ed3ae0594a5996dee25dbea (diff)
new character attribute: rotate and scalewidth
Diffstat (limited to 'sw/inc/txtatr.hxx')
-rw-r--r--sw/inc/txtatr.hxx36
1 files changed, 34 insertions, 2 deletions
diff --git a/sw/inc/txtatr.hxx b/sw/inc/txtatr.hxx
index 030d1707e2f3..a9f322031bc9 100644
--- a/sw/inc/txtatr.hxx
+++ b/sw/inc/txtatr.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtatr.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: jp $ $Date: 2000-11-20 09:36:59 $
+ * last change: $Author: jp $ $Date: 2001-02-15 20:10:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -479,6 +479,38 @@ public:
virtual void RstTxtAttr( SwTxtAttr & );
};
+// CHARROTATE ************************************************************
+
+class SwTxtCharRotate : public SwTxtAttrEnd
+{
+ // Hier merkt es sich das SV-Attribut den Wert aus dem Font.
+ USHORT nPrevRotate;
+public:
+ SwTxtCharRotate( const SvxCharRotateItem& rAttr,
+ xub_StrLen nStart, xub_StrLen nEnd );
+
+ virtual void ChgFnt(SwFont *);
+ virtual void RstFnt(SwFont *);
+ virtual void ChgTxtAttr( SwTxtAttr & );
+ virtual void RstTxtAttr( SwTxtAttr & );
+};
+
+// CHARSCALEWIDTH **********************************************************
+
+class SwTxtCharScaleWidth : public SwTxtAttrEnd
+{
+ // Hier merkt es sich das SV-Attribut den Wert aus dem Font.
+ USHORT nPrevScale;
+public:
+ SwTxtCharScaleWidth( const SvxCharScaleWidthItem& rAttr,
+ xub_StrLen nStart, xub_StrLen nEnd );
+
+ virtual void ChgFnt(SwFont *);
+ virtual void RstFnt(SwFont *);
+ virtual void ChgTxtAttr( SwTxtAttr & );
+ virtual void RstTxtAttr( SwTxtAttr & );
+};
+
// --------------- Inline Implementierungen ------------------------