From fbb26842c92fcf9a3dfaa7df2098d5c831c17b4b Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Tue, 2 Jan 2007 15:47:42 +0000 Subject: INTEGRATION: CWS smarttags (1.36.130); FILE MERGED 2006/12/21 10:43:03 jakob_lechner 1.36.130.1: #i72705#: support for smarttags --- sw/source/core/inc/drawfont.hxx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'sw/source/core/inc/drawfont.hxx') diff --git a/sw/source/core/inc/drawfont.hxx b/sw/source/core/inc/drawfont.hxx index 412cdd5f5c91..29eefa99fb4c 100644 --- a/sw/source/core/inc/drawfont.hxx +++ b/sw/source/core/inc/drawfont.hxx @@ -4,9 +4,9 @@ * * $RCSfile: drawfont.hxx,v $ * - * $Revision: 1.36 $ + * $Revision: 1.37 $ * - * last change: $Author: hr $ $Date: 2006-08-14 16:19:14 $ + * last change: $Author: hr $ $Date: 2007-01-02 16:47:42 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -60,6 +60,7 @@ class SwDrawTextInfo const Point* pPos; const XubString* pText; const SwWrongList* pWrong; + const SwWrongList* pSmartTags; // SMARTTAGS const Size* pSize; SwFont *pFnt; SwUnderlineFont* pUnderFnt; @@ -142,6 +143,7 @@ public: // be accessed by their Get-function: pPos = 0; pWrong = 0; + pSmartTags = 0; pSize = 0; pFnt = 0; pHyphPos = 0; @@ -217,6 +219,11 @@ public: return pWrong; } + const SwWrongList* GetSmartTags() const + { + return pSmartTags; + } + const Size &GetSize() const { ASSERT( bSize, "DrawTextInfo: Undefined Size" ); @@ -393,6 +400,11 @@ public: #endif } + void SetSmartTags( const SwWrongList* pNew ) + { + pSmartTags = pNew; + } + void SetSize( const Size &rNew ) { pSize = &rNew; -- cgit v1.2.3