diff options
author | jp <jp@openoffice.org> | 2001-02-15 19:10:39 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2001-02-15 19:10:39 +0000 |
commit | c34d14937ff13453cc2504a14ba5ca366eaed8b7 (patch) | |
tree | aadcf6811ed2191b384df252ebb9bd33a27ecdc6 /sw/inc/txatbase.hxx | |
parent | 497cda668155aab71ed3ae0594a5996dee25dbea (diff) |
new character attribute: rotate and scalewidth
Diffstat (limited to 'sw/inc/txatbase.hxx')
-rw-r--r-- | sw/inc/txatbase.hxx | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/sw/inc/txatbase.hxx b/sw/inc/txatbase.hxx index 73ccd6c9ee5c..21e96cd450d9 100644 --- a/sw/inc/txatbase.hxx +++ b/sw/inc/txatbase.hxx @@ -2,9 +2,9 @@ * * $RCSfile: txatbase.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: jp $ $Date: 2000-11-16 21:29:02 $ + * 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 @@ -94,6 +94,9 @@ class SvXMLAttrContainerItem; class SwFmtRuby; class SvxTwoLinesItem; class SvxEmphasisMarkItem; +class SvxCharScaleWidthItem; +class SvxCharRotateItem; + class SwFmtCharFmt; class SwFmtINetFmt; class SvxKerningItem; @@ -197,6 +200,8 @@ public: inline const SwFmtRuby &GetRuby() const; inline const SvxTwoLinesItem &Get2Lines() const; inline const SvxEmphasisMarkItem &GetEmphasisMark() const; + inline const SvxCharScaleWidthItem &GetCharScaleW() const; + inline const SvxCharRotateItem &GetCharRotate() const; private: SwTxtAttr( const SwTxtAttr& ); @@ -439,9 +444,25 @@ inline const SvxEmphasisMarkItem& SwTxtAttr::GetEmphasisMark() const return (const SvxEmphasisMarkItem&)*pAttr; } +inline const SvxCharScaleWidthItem& SwTxtAttr::GetCharScaleW() const +{ + ASSERT( pAttr && pAttr->Which() == RES_CHRATR_SCALEW, "Falsche Abfrage" ); + return (const SvxCharScaleWidthItem&)*pAttr; +} + +inline const SvxCharRotateItem& SwTxtAttr::GetCharRotate() const +{ + ASSERT( pAttr && pAttr->Which() == RES_CHRATR_ROTATE, "Falsche Abfrage" ); + return (const SvxCharRotateItem&)*pAttr; +} + + /************************************************************************* $Log: not supported by cvs2svn $ + Revision 1.6 2000/11/16 21:29:02 jp + SwFmt2Lines moved to SVX and renamed + Revision 1.5 2000/11/06 10:46:50 jp new flags for the SwTxtAttr |