From 4530ee12fe729795c252d7c47523984bc45d69c3 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 1 Dec 2006 14:34:10 +0000 Subject: 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 --- sw/inc/txatbase.hxx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'sw/inc/txatbase.hxx') 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" ); -- cgit