summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porexp.hxx
diff options
context:
space:
mode:
authorAndreas Martens <ama@openoffice.org>2000-10-26 06:41:24 +0000
committerAndreas Martens <ama@openoffice.org>2000-10-26 06:41:24 +0000
commitc87666f64c80852bed120b2048486c2fbb4d4eed (patch)
tree86143d29c79c01bd71b47f801a4f3f91de7438ec /sw/source/core/text/porexp.hxx
parentd9466e9e09f8aa618f722d9d7bef7469aa51dc14 (diff)
New: Two-line-portions with surrounding brackets
Diffstat (limited to 'sw/source/core/text/porexp.hxx')
-rw-r--r--sw/source/core/text/porexp.hxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/sw/source/core/text/porexp.hxx b/sw/source/core/text/porexp.hxx
index 39b05fbf364d..ee104baffaaa 100644
--- a/sw/source/core/text/porexp.hxx
+++ b/sw/source/core/text/porexp.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: porexp.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-19 00:08:25 $
+ * last change: $Author: ama $ $Date: 2000-10-26 07:40:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -91,9 +91,15 @@ public:
class SwBlankPortion : public SwExpandPortion
{
xub_Unicode cChar;
+ BOOL bMulti; // For multiportion brackets
public:
- inline SwBlankPortion( xub_Unicode cCh )
- { cChar = cCh; SetLen(1); SetWhichPor( POR_BLANK ); }
+ inline SwBlankPortion( xub_Unicode cCh, BOOL bMult = sal_False )
+ : cChar( cCh ), bMulti( bMult )
+ { cChar = cCh; SetLen(1); SetWhichPor( POR_BLANK ); }
+
+ BOOL IsMulti() const { return bMulti; }
+ void SetMulti( BOOL bNew ) { bMulti = bNew; }
+
virtual SwLinePortion *Compress();
virtual sal_Bool GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt ) const;
virtual void FormatEOL( SwTxtFormatInfo &rInf );