summaryrefslogtreecommitdiff
path: root/sw/inc/txatbase.hxx
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2000-10-30 11:51:04 +0000
committerjp <jp@openoffice.org>2000-10-30 11:51:04 +0000
commit55db9cd721d46ea1ac95531088a564cf64272404 (patch)
treef0819b89b529908bd59984771523c974acb1c0bc /sw/inc/txatbase.hxx
parent7041e60fe0d1635a97cdf17d5dac747d6bae48e4 (diff)
new: EmphasisItem
Diffstat (limited to 'sw/inc/txatbase.hxx')
-rw-r--r--sw/inc/txatbase.hxx16
1 files changed, 14 insertions, 2 deletions
diff --git a/sw/inc/txatbase.hxx b/sw/inc/txatbase.hxx
index e376c2a22c47..c9b3a9aa3b60 100644
--- a/sw/inc/txatbase.hxx
+++ b/sw/inc/txatbase.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txatbase.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: jp $ $Date: 2000-10-23 11:58:55 $
+ * last change: $Author: jp $ $Date: 2000-10-30 12:49:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -97,6 +97,7 @@ class SvxCharSetColorItem;
class SvXMLAttrContainerItem;
class SwFmtRuby;
class SwFmt2Lines;
+class SvxEmphasisMarkItem;
class SwFmtCharFmt;
class SwFmtINetFmt;
@@ -188,6 +189,8 @@ public:
inline const SwFmtRuby &GetRuby() const;
inline const SwFmt2Lines &Get2Lines() const;
+ inline const SvxEmphasisMarkItem &GetEmphasisMark() const;
+
private:
SwTxtAttr( const SwTxtAttr& );
SwTxtAttr& operator=( const SwTxtAttr& );
@@ -418,9 +421,18 @@ inline const SwFmt2Lines& SwTxtAttr::Get2Lines() const
return (const SwFmt2Lines&)*pAttr;
}
+inline const SvxEmphasisMarkItem& SwTxtAttr::GetEmphasisMark() const
+{
+ ASSERT( pAttr && pAttr->Which() == RES_CHRATR_EMPHASIS_MARK, "Falsche Abfrage" );
+ return (const SvxEmphasisMarkItem&)*pAttr;
+}
+
/*************************************************************************
$Log: not supported by cvs2svn $
+ Revision 1.2 2000/10/23 11:58:55 jp
+ new attributes Ruby and 2Lines
+
Revision 1.1.1.1 2000/09/18 17:14:28 hr
initial import