summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/drawfont.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-01-02 15:47:42 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-01-02 15:47:42 +0000
commitfbb26842c92fcf9a3dfaa7df2098d5c831c17b4b (patch)
tree7240953defabdd95d1ad53c8ec2e74fbe8403d10 /sw/source/core/inc/drawfont.hxx
parent40be6c32cad01ca1fcb2a5ec767e7d3dfb594230 (diff)
INTEGRATION: CWS smarttags (1.36.130); FILE MERGED
2006/12/21 10:43:03 jakob_lechner 1.36.130.1: #i72705#: support for smarttags
Diffstat (limited to 'sw/source/core/inc/drawfont.hxx')
-rw-r--r--sw/source/core/inc/drawfont.hxx16
1 files changed, 14 insertions, 2 deletions
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;