summaryrefslogtreecommitdiff
path: root/sw/source/core/text/itrform2.hxx
diff options
context:
space:
mode:
authorAndreas Martens <ama@openoffice.org>2000-11-09 10:35:30 +0000
committerAndreas Martens <ama@openoffice.org>2000-11-09 10:35:30 +0000
commita2170438168b6f4304343462dee36b7d7304c334 (patch)
tree11afdd465e587c51d2da5850c6f1fb40ca0cedfa /sw/source/core/text/itrform2.hxx
parent31934ee782ece088413893f403575883b973d7b9 (diff)
Opt/Fix: The new MakeRestPortion replaces old MakeRestPortion/GetRestPortion/GetFieldRest when a field or multiportion is broken by the line or page end
Diffstat (limited to 'sw/source/core/text/itrform2.hxx')
-rw-r--r--sw/source/core/text/itrform2.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/text/itrform2.hxx b/sw/source/core/text/itrform2.hxx
index cd818ee4dd..e90b22fde1 100644
--- a/sw/source/core/text/itrform2.hxx
+++ b/sw/source/core/text/itrform2.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: itrform2.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: ama $ $Date: 2000-10-16 13:09:38 $
+ * last change: $Author: ama $ $Date: 2000-11-09 11:34:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -98,7 +98,8 @@ class SwTxtFormatter : public SwTxtPainter
SwDropPortion *NewDropPortion( SwTxtFormatInfo &rInf ) const;
SwNumberPortion *NewFtnNumPortion( SwTxtFormatInfo &rInf ) const;
SwErgoSumPortion *NewErgoSumPortion( SwTxtFormatInfo &rInf ) const;
- SwExpandPortion *NewFldPortion( SwTxtFormatInfo &rInf, SwTxtAttr *pHt ) const;
+ SwExpandPortion *NewFldPortion( SwTxtFormatInfo &rInf,
+ const SwTxtAttr *pHt ) const;
SwFtnPortion *NewFtnPortion( SwTxtFormatInfo &rInf, SwTxtAttr *pHt );
SwFlyCntPortion *NewFlyCntPortion( SwTxtFormatInfo &rInf,
SwTxtAttr *pHt ) const;
@@ -201,8 +202,7 @@ public:
// Wie breit waerest Du ohne rechte Begrenzungen (Flys etc.)?
KSHORT _CalcFitToContent( );
- SwFldPortion *GetFieldRest( SwTxtFormatInfo &rInf ) const;
- void MakeRestPortion();
+ SwLinePortion* MakeRestPortion(const SwLineLayout* pLine, xub_StrLen nPos);
inline const SwFmtDrop *GetDropFmt() const { return pDropFmt; }
inline void ClearDropFmt() { pDropFmt = 0; }