summaryrefslogtreecommitdiff
path: root/sw/source/core/text
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-02-26 14:33:11 +0000
committerKurt Zenker <kz@openoffice.org>2004-02-26 14:33:11 +0000
commitf57b132dc1810db862dce5b8bf4780c7e1129587 (patch)
tree38c7781e1bd8db40b75580489e2a2b9680c92141 /sw/source/core/text
parentde1f55752a0fdcc8bfdea627911b0e1c3f33d3cd (diff)
INTEGRATION: CWS hiddentext (1.13.70); FILE MERGED
2003/12/16 15:47:11 fme 1.13.70.1: #i20197# Hidden text attribute
Diffstat (limited to 'sw/source/core/text')
-rw-r--r--sw/source/core/text/porrst.hxx18
1 files changed, 16 insertions, 2 deletions
diff --git a/sw/source/core/text/porrst.hxx b/sw/source/core/text/porrst.hxx
index 694d4b53f377..60a7839c3b09 100644
--- a/sw/source/core/text/porrst.hxx
+++ b/sw/source/core/text/porrst.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: porrst.hxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: kz $ $Date: 2003-10-15 09:57:14 $
+ * last change: $Author: kz $ $Date: 2004-02-26 15:33:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -194,6 +194,20 @@ public:
inline KSHORT GetInnerWidth() const { return nInnerWidth; }
};
+/*************************************************************************
+ * class SwHiddenTextPortion
+ * Is used to hide text
+ *************************************************************************/
+
+class SwHiddenTextPortion : public SwLinePortion
+{
+public:
+ inline SwHiddenTextPortion( xub_StrLen nLen )
+ { SetWhichPor( POR_HIDDEN_TXT ); SetLen( nLen ); }
+
+ virtual void Paint( const SwTxtPaintInfo &rInf ) const;
+ virtual sal_Bool Format( SwTxtFormatInfo &rInf );
+};
/*************************************************************************
* inline - Implementations