summaryrefslogtreecommitdiff
path: root/sw/inc/txatbase.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-12-01 14:34:10 +0000
committerRüdiger Timm <rt@openoffice.org>2006-12-01 14:34:10 +0000
commit4530ee12fe729795c252d7c47523984bc45d69c3 (patch)
treeddd0ff360abfcf253451e861109d99a8898f451a /sw/inc/txatbase.hxx
parent830514f3197a9649ed42e6275bc9d85c9856fcda (diff)
INTEGRATION: CWS swautomatic01 (1.17.324); FILE MERGED
2006/09/01 12:01:07 fme 1.17.324.2: RESYNC: (1.17-1.18); FILE MERGED 2006/05/17 13:38:32 ama 1.17.324.1: #i64576# Automatic styles
Diffstat (limited to 'sw/inc/txatbase.hxx')
-rw-r--r--sw/inc/txatbase.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/sw/inc/txatbase.hxx b/sw/inc/txatbase.hxx
index 3e1b6e61474b..7b4d8d852e76 100644
--- a/sw/inc/txatbase.hxx
+++ b/sw/inc/txatbase.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: txatbase.hxx,v $
*
- * $Revision: 1.18 $
+ * $Revision: 1.19 $
*
- * last change: $Author: hr $ $Date: 2006-08-14 15:35:35 $
+ * last change: $Author: rt $ $Date: 2006-12-01 15:34:10 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -72,6 +72,7 @@ class SvxCharReliefItem;
class SvxCharHiddenItem;
class SwFmtCharFmt;
+class SwFmtAutoFmt;
class SwFmtINetFmt;
class SvxKerningItem;
class SvxCaseMapItem;
@@ -155,6 +156,7 @@ public:
inline const SvxColorItem &GetColor() const;
inline const SvxCharSetColorItem &GetCharSetColor() const;
inline const SwFmtCharFmt &GetCharFmt() const;
+ inline const SwFmtAutoFmt &GetAutoFmt() const;
inline const SvxKerningItem &GetKerning() const;
inline const SvxCaseMapItem &GetCaseMap() const;
inline const SvxLanguageItem &GetLanguage() const;
@@ -304,6 +306,12 @@ inline const SwFmtCharFmt& SwTxtAttr::GetCharFmt() const
return (const SwFmtCharFmt&)*pAttr;
}
+inline const SwFmtAutoFmt& SwTxtAttr::GetAutoFmt() const
+{
+ ASSERT( pAttr && pAttr->Which() == RES_TXTATR_AUTOFMT, "Wrong request" );
+ return (const SwFmtAutoFmt&)*pAttr;
+}
+
inline const SvxKerningItem& SwTxtAttr::GetKerning() const
{
ASSERT( pAttr && pAttr->Which() == RES_CHRATR_KERNING, "Falsche Abfrage" );