summaryrefslogtreecommitdiff
path: root/sw/source/core/text/portxt.hxx
diff options
context:
space:
mode:
authorAndreas Martens <ama@openoffice.org>2001-02-15 12:45:21 +0000
committerAndreas Martens <ama@openoffice.org>2001-02-15 12:45:21 +0000
commitb62ab0a4bd6cdeac45ac62b4913e2ebc81a1e667 (patch)
tree7474ec224f3ee6585c9e30e3a6b1ee6467aedc42 /sw/source/core/text/portxt.hxx
parent37624617fe002c0cf6450c37bf3e2000509afabf (diff)
Opt/Fix: Linebreak algorithm
Diffstat (limited to 'sw/source/core/text/portxt.hxx')
-rw-r--r--sw/source/core/text/portxt.hxx14
1 files changed, 4 insertions, 10 deletions
diff --git a/sw/source/core/text/portxt.hxx b/sw/source/core/text/portxt.hxx
index eb7e5e9ace..4fe81cf75b 100644
--- a/sw/source/core/text/portxt.hxx
+++ b/sw/source/core/text/portxt.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: portxt.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: ama $ $Date: 2000-10-30 10:00:34 $
+ * last change: $Author: ama $ $Date: 2001-02-15 13:45:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -80,12 +80,8 @@ class SwTxtGuess;
class SwTxtPortion : public SwLinePortion
{
- sal_Bool IsPunctUnderFlow( const SwTxtSizeInfo &rInf ) const;
void BreakCut( SwTxtFormatInfo &rInf, const SwTxtGuess &rGuess );
- void BreakUnderflow( SwTxtFormatInfo &rInf, const SwTxtGuess &rGuess,
- const sal_Bool bPunct );
- void BreakLine( SwTxtFormatInfo &rInf, SwTxtGuess &rGuess );
- sal_Bool FormatHyph( SwTxtFormatInfo &rInf );
+ void BreakUnderflow( SwTxtFormatInfo &rInf );
sal_Bool _Format( SwTxtFormatInfo &rInf );
public:
@@ -94,18 +90,16 @@ public:
virtual void Paint( const SwTxtPaintInfo &rInf ) const;
virtual sal_Bool Format( SwTxtFormatInfo &rInf );
virtual void FormatEOL( SwTxtFormatInfo &rInf );
- virtual sal_Bool Underflow( SwTxtFormatInfo &rInf );
virtual xub_StrLen GetCrsrOfst( const KSHORT nOfst ) const;
virtual SwPosSize GetTxtSize( const SwTxtSizeInfo &rInfo ) const;
virtual sal_Bool GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt ) const;
- virtual short GetEscapement() const;
virtual long CalcSpacing( short nSpaceAdd, const SwTxtSizeInfo &rInf ) const;
// zaehlt die Spaces fuer Blocksatz
xub_StrLen GetSpaceCnt( const SwTxtSizeInfo &rInf, xub_StrLen& rCnt ) const;
xub_StrLen GetCrsrOfst( const KSHORT nOfst, SwTxtSizeInfo &rSizeInf ) const;
- sal_Bool IsHyphenate( SwTxtFormatInfo &rInf, SwTxtGuess &rGuess );
+ sal_Bool CreateHyphen( SwTxtFormatInfo &rInf, SwTxtGuess &rGuess );
OUTPUT_OPERATOR
DECL_FIXEDMEMPOOL_NEWDEL(SwTxtPortion)