From e5d875dbad4e42f0dba375c4f865787902a5d9a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Thu, 4 Sep 2008 09:22:12 +0000 Subject: [PATCH] INTEGRATION: CWS swenhancedfields2 (1.9.728); FILE MERGED 2008/08/07 11:51:12 b_michaelsen 1.9.728.3: fixed formatting in trvlfrm.cxx portxt.cxx portxt.hxx swfont.cxx unobkm.cxx unocoll.cxx amd unoportenum.cxx 2008/08/04 14:17:22 b_michaelsen 1.9.728.2: RESYNC: (1.9-1.10); FILE MERGED 2008/04/23 14:29:18 ama 1.9.728.1: #i33737#: Enhanced fields --- sw/source/core/text/portxt.hxx | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/sw/source/core/text/portxt.hxx b/sw/source/core/text/portxt.hxx index cb3151b301da..c1735784fda8 100644 --- a/sw/source/core/text/portxt.hxx +++ b/sw/source/core/text/portxt.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: portxt.hxx,v $ - * $Revision: 1.10 $ + * $Revision: 1.11 $ * * This file is part of OpenOffice.org. * @@ -95,8 +95,26 @@ public: DECL_FIXEDMEMPOOL_NEWDEL(SwHolePortion) }; +class SwFieldMarkPortion : public SwTxtPortion +{ + public: + inline SwFieldMarkPortion() : SwTxtPortion() + { } + virtual void Paint( const SwTxtPaintInfo &rInf ) const; + virtual sal_Bool Format( SwTxtFormatInfo &rInf ); +}; + +class SwFieldFormPortion : public SwTxtPortion +{ + public: + inline SwFieldFormPortion() : SwTxtPortion() + { } + virtual void Paint( const SwTxtPaintInfo &rInf ) const; + virtual sal_Bool Format( SwTxtFormatInfo &rInf ); +}; + + CLASSIO( SwTxtPortion ) CLASSIO( SwHolePortion ) - #endif