diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/text/itratr.hxx | 24 | ||||
-rw-r--r-- | sw/source/core/text/noteurl.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/text/pordrop.hxx | 18 | ||||
-rw-r--r-- | sw/source/core/text/porfly.hxx | 6 | ||||
-rw-r--r-- | sw/source/core/text/porftn.hxx | 6 | ||||
-rw-r--r-- | sw/source/core/text/porglue.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/text/porref.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/text/portab.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/text/portox.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/text/portxt.cxx | 51 | ||||
-rw-r--r-- | sw/source/core/text/portxt.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/text/possiz.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/text/txtinit.cxx | 27 | ||||
-rw-r--r-- | sw/source/core/text/widorp.hxx | 10 |
14 files changed, 79 insertions, 87 deletions
diff --git a/sw/source/core/text/itratr.hxx b/sw/source/core/text/itratr.hxx index d850112b8fdb..1dfafbba9f92 100644 --- a/sw/source/core/text/itratr.hxx +++ b/sw/source/core/text/itratr.hxx @@ -58,7 +58,7 @@ protected: ViewShell *pShell; SwFont *pFnt; SwpHints *pHints; - const SwAttrSet* pAttrSet; // das Char-Attribut-Set + const SwAttrSet* pAttrSet; // The char attribute set SwScriptInfo* pScriptInfo; private: @@ -83,7 +83,7 @@ protected: } public: - // Konstruktor, Destruktor + // Constructor, destructor inline SwAttrIter( SwTxtNode& rTxtNode, SwScriptInfo& rScrInf ) : pShell(0), pFnt(0), pHints(0), pScriptInfo(0), pLastOut(0), nChgCnt(0), pRedln(0),nPropFont(0), m_pTxtNode(&rTxtNode) { CtorInitAttrIter( rTxtNode, rScrInf ); } @@ -91,25 +91,25 @@ public: virtual ~SwAttrIter(); inline SwRedlineItr *GetRedln() { return pRedln; } - // Liefert im Parameter die Position des naechsten Wechsels vor oder an - // der uebergebenen Characterposition zurueck. Liefert sal_False, wenn vor - // oder an dieser Position kein Wechsel mehr erfolgt, sal_True sonst. + // The parameter returns the position of the next change before or at the + // char position. + // Returns sal_False, if there's no change before or at the positon, + // else sal_True. xub_StrLen GetNextAttr( ) const; - // Macht die an der Characterposition i gueltigen Attribute im - // logischen Font wirksam. + // Enables the attributes used at char pos nPos in the logical font sal_Bool Seek( const xub_StrLen nPos ); - // Bastelt den Font an der gew. Position via Seek und fragt ihn, - // ob er ein Symbolfont ist. + // Creates the font at the specified position via Seek() and checks + // if it's a symbol font. sal_Bool IsSymbol( const xub_StrLen nPos ); - // Fuehrt ChgPhysFnt aus, wenn Seek() sal_True zurueckliefert. + // Executes ChgPhysFnt if Seek() returns sal_True sal_Bool SeekAndChgAttrIter( const xub_StrLen nPos, OutputDevice* pOut ); sal_Bool SeekStartAndChgAttrIter( OutputDevice* pOut, const sal_Bool bParaFont = sal_False ); - // Gibt es ueberhaupt Attributwechsel ? + // Do we have an attribute change at all? inline sal_Bool HasHints() const { return 0 != pHints; } - // liefert fuer eine Position das Attribut + // Returns the attribute for a position SwTxtAttr *GetAttr( const xub_StrLen nPos ) const; inline const SwAttrSet* GetAttrSet() const { return pAttrSet; } diff --git a/sw/source/core/text/noteurl.cxx b/sw/source/core/text/noteurl.cxx index 71003e9fc8a9..8a08e09e30b9 100644 --- a/sw/source/core/text/noteurl.cxx +++ b/sw/source/core/text/noteurl.cxx @@ -37,7 +37,7 @@ #include "txttypes.hxx" #include "noteurl.hxx" -// globale Variable, wird in noteurl.Hxx bekanntgegeben +// Global variable SwNoteURL *pNoteURL = NULL; SV_IMPL_PTRARR( SwURLNoteList, SwURLNotePtr ) diff --git a/sw/source/core/text/pordrop.hxx b/sw/source/core/text/pordrop.hxx index 41179f534f4f..9b463a709566 100644 --- a/sw/source/core/text/pordrop.hxx +++ b/sw/source/core/text/pordrop.hxx @@ -32,7 +32,7 @@ class SwFont; -// DropCap-Cache, globale Variable, in txtinit.cxx initialisiert/zerstoert +// DropCap cache, global variable initialized/destroyed in txtinit.cxx // und in txtdrop.cxx benutzt bei der Initialenberechnung class SwDropCapCache; @@ -72,14 +72,14 @@ public: class SwDropPortion : public SwTxtPortion { friend class SwDropCapCache; - SwDropPortionPart* pPart; // due to script / attribute changes - MSHORT nLines; // Anzahl der Zeilen - KSHORT nDropHeight; // Hoehe - KSHORT nDropDescent; // Abstand zur naechsten Zeile - KSHORT nDistance; // Abstand zum Text - KSHORT nFix; // Fixposition - short nX; // X-PaintOffset - short nY; // Y-Offset + SwDropPortionPart* pPart; // due to script/attribute changes + MSHORT nLines; // Line count + KSHORT nDropHeight; // Height + KSHORT nDropDescent; // Distance to the next line + KSHORT nDistance; // Distance to the text + KSHORT nFix; // Fixed position + short nX; // X PaintOffset + short nY; // Y Offset sal_Bool FormatTxt( SwTxtFormatInfo &rInf ); void PaintTxt( const SwTxtPaintInfo &rInf ) const; diff --git a/sw/source/core/text/porfly.hxx b/sw/source/core/text/porfly.hxx index ed2a7d5d8e65..2f211cc68021 100644 --- a/sw/source/core/text/porfly.hxx +++ b/sw/source/core/text/porfly.hxx @@ -61,10 +61,10 @@ public: class SwFlyCntPortion : public SwLinePortion { void *pContact; // bDraw ? DrawContact : FlyInCntFrm - Point aRef; // Relativ zu diesem Point wird die AbsPos berechnet. + Point aRef; // Relatively to this point we calculate the AbsPos sal_Bool bDraw : 1; // DrawContact? - sal_Bool bMax : 1; // Zeilenausrichtung und Hoehe == Zeilenhoehe - sal_uInt8 nAlign : 3; // Zeilenausrichtung? Nein, oben, mitte, unten + sal_Bool bMax : 1; // Line adjustment and height == line height + sal_uInt8 nAlign : 3; // Line adjustment? No, above, middle, bottom virtual xub_StrLen GetCrsrOfst( const KSHORT nOfst ) const; public: diff --git a/sw/source/core/text/porftn.hxx b/sw/source/core/text/porftn.hxx index 9bd2b87d4df6..ed73693de783 100644 --- a/sw/source/core/text/porftn.hxx +++ b/sw/source/core/text/porftn.hxx @@ -39,7 +39,7 @@ class SwTxtFtn; class SwFtnPortion : public SwFldPortion { - SwTxtFrm *pFrm; // um im Dtor RemoveFtn rufen zu koennen. + SwTxtFrm *pFrm; // To be able to call RemoveFtn in the dtor SwTxtFtn *pFtn; KSHORT nOrigHeight; // #i98418# @@ -93,7 +93,7 @@ public: inline const XubString &GetQuoTxt() const { return aExpand; } inline const XubString &GetContTxt() const { return aErgo; } - // Felder-Cloner fuer SplitGlue + // Field cloner for SplitGlue virtual SwFldPortion *Clone( const XubString &rExpand ) const; // Accessibility: pass information about this portion to the PortionHandler @@ -113,7 +113,7 @@ public: virtual xub_StrLen GetCrsrOfst( const KSHORT nOfst ) const; virtual sal_Bool Format( SwTxtFormatInfo &rInf ); - // Felder-Cloner fuer SplitGlue + // Field cloner for SplitGlue virtual SwFldPortion *Clone( const XubString &rExpand ) const; OUTPUT_OPERATOR }; diff --git a/sw/source/core/text/porglue.hxx b/sw/source/core/text/porglue.hxx index a498c46cbb7e..c59cf4bc2ad2 100644 --- a/sw/source/core/text/porglue.hxx +++ b/sw/source/core/text/porglue.hxx @@ -67,7 +67,7 @@ public: class SwFixPortion : public SwGluePortion { - KSHORT nFix; // der Width-Offset in der Zeile + KSHORT nFix; // The width offset in the line public: SwFixPortion( const SwRect &rFlyRect ); SwFixPortion( const KSHORT nFixWidth, const KSHORT nFixPos ); @@ -97,7 +97,7 @@ inline short SwGluePortion::GetPrtGlue() const /************************************************************************* * inline SwGluePortion::AdjFixWidth() - * Die FixWidth darf niemals groesser sein als die Gesamtbreite ! + * The FixWidth MUST NEVER be larger than the accumulated width! *************************************************************************/ inline void SwGluePortion::AdjFixWidth() diff --git a/sw/source/core/text/porref.cxx b/sw/source/core/text/porref.cxx index 376600f51f75..0a94c0726889 100644 --- a/sw/source/core/text/porref.cxx +++ b/sw/source/core/text/porref.cxx @@ -65,8 +65,8 @@ SwIsoRefPortion::SwIsoRefPortion() : nViewWidth(0) KSHORT SwIsoRefPortion::GetViewWidth( const SwTxtSizeInfo &rInf ) const { - // Wir stehen zwar im const, aber nViewWidth sollte erst im letzten - // Moment errechnet werden: + // Although we are const, nViewWidth should be calculated in the last + // moment possible SwIsoRefPortion* pThis = (SwIsoRefPortion*)this; if( !Width() && rInf.OnWin() && SwViewOption::IsFieldShadings() && !rInf.GetOpt().IsReadonly() && !rInf.GetOpt().IsPagePreview() ) diff --git a/sw/source/core/text/portab.hxx b/sw/source/core/text/portab.hxx index bb5fe9d03968..7159c6088ce6 100644 --- a/sw/source/core/text/portab.hxx +++ b/sw/source/core/text/portab.hxx @@ -40,7 +40,7 @@ class SwTabPortion : public SwFixPortion const xub_Unicode cFill; const bool bAutoTabStop; - // Das Format() verzweigt entweder in Pre- oder PostFormat() + // Format() branches either into PreFormat() or PostFormat() sal_Bool PreFormat( SwTxtFormatInfo &rInf ); public: SwTabPortion( const KSHORT nTabPos, const xub_Unicode cFill = '\0', const bool bAutoTab = true ); diff --git a/sw/source/core/text/portox.cxx b/sw/source/core/text/portox.cxx index bda596e5b818..2d8df416b864 100644 --- a/sw/source/core/text/portox.cxx +++ b/sw/source/core/text/portox.cxx @@ -65,10 +65,10 @@ SwIsoToxPortion::SwIsoToxPortion() : nViewWidth(0) KSHORT SwIsoToxPortion::GetViewWidth( const SwTxtSizeInfo &rInf ) const { - // Wir stehen zwar im const, aber nViewWidth sollte erst im letzten - // Moment errechnet werden: + // Although we are const, nViewWidth should be calculated in the last + // moment possible SwIsoToxPortion* pThis = (SwIsoToxPortion*)this; - // nViewWidth muss errechnet werden. + // nViewWidth need to be calculated if( !Width() && rInf.OnWin() && !rInf.GetOpt().IsPagePreview() && !rInf.GetOpt().IsReadonly() && SwViewOption::IsFieldShadings() ) diff --git a/sw/source/core/text/portxt.cxx b/sw/source/core/text/portxt.cxx index bb70404bb5cc..5a4d71242de4 100644 --- a/sw/source/core/text/portxt.cxx +++ b/sw/source/core/text/portxt.cxx @@ -35,7 +35,7 @@ #include <SwPortionHandler.hxx> #include <porlay.hxx> #include <inftxt.hxx> -#include <guess.hxx> // SwTxtGuess, Zeilenumbruch +#include <guess.hxx> // SwTxtGuess, line break #include <porglue.hxx> #include <portab.hxx> // pLastTab-> #include <porfld.hxx> // SwFldPortion @@ -235,9 +235,9 @@ SwTxtPortion::SwTxtPortion( const SwLinePortion &rPortion ) void SwTxtPortion::BreakCut( SwTxtFormatInfo &rInf, const SwTxtGuess &rGuess ) { - // Das Wort/Zeichen ist groesser als die Zeile - // Sonderfall Nr.1: Das Wort ist groesser als die Zeile - // Wir kappen... + // The word/char is larger than the line + // Special case 1: The word is larger than the line + // We truncate ... const KSHORT nLineWidth = (KSHORT)(rInf.Width() - rInf.X()); xub_StrLen nLen = rGuess.CutPos() - rInf.GetIdx(); if( nLen ) @@ -304,8 +304,8 @@ sal_Bool lcl_HasContent( const SwFldPortion& rFld, SwTxtFormatInfo &rInf ) sal_Bool SwTxtPortion::_Format( SwTxtFormatInfo &rInf ) { - // 5744: wenn nur der Trennstrich nicht mehr passt, - // muss trotzdem das Wort umgebrochen werden, ansonsten return sal_True! + // 5744: If only the hypen does not fit anymore, we still need to wrap + // the word, or else return sal_True! if( rInf.IsUnderFlow() && rInf.GetSoftHyphPos() ) { // soft hyphen portion has triggered an underflow event because @@ -494,14 +494,13 @@ sal_Bool SwTxtPortion::Format( SwTxtFormatInfo &rInf ) *************************************************************************/ // Format end of line -// 5083: Es kann schon manchmal unguenstige Faelle geben... -// "vom {Nikolaus}", Nikolaus bricht um "vom " wird im Blocksatz -// zu "vom" und " ", wobei der Glue expandiert wird, statt in die -// MarginPortion aufzugehen. -// rInf.nIdx steht auf dem naechsten Wort, nIdx-1 ist der letzte -// Buchstabe der Portion. - - +// 5083: We can have awkward cases e.g.: +// "from {Santa}" +// Santa wraps, "from " turns into "from" and " " in a justified +// paragraph, in which the glue gets expanded instead of merged +// with the MarginPortion. +// +// rInf.nIdx points to the next word, nIdx-1 is the portion's last char void SwTxtPortion::FormatEOL( SwTxtFormatInfo &rInf ) { @@ -517,8 +516,8 @@ void SwTxtPortion::FormatEOL( SwTxtFormatInfo &rInf ) while( nX && nHoleLen < GetLen() && CH_BLANK == rInf.GetChar( --nX ) ) nHoleLen++; - // Erst uns einstellen und dann Inserten, weil wir ja auch ein - // SwLineLayout sein koennten. + // First set ourselves and the insert, because there could be + // a SwLineLayout KSHORT nBlankSize; if( nHoleLen == GetLen() ) nBlankSize = Width(); @@ -537,9 +536,6 @@ void SwTxtPortion::FormatEOL( SwTxtFormatInfo &rInf ) /************************************************************************* * virtual SwTxtPortion::GetCrsrOfst() *************************************************************************/ - - - xub_StrLen SwTxtPortion::GetCrsrOfst( const KSHORT nOfst ) const { OSL_ENSURE( !this, "SwTxtPortion::GetCrsrOfst: don't use this method!" ); @@ -549,7 +545,7 @@ xub_StrLen SwTxtPortion::GetCrsrOfst( const KSHORT nOfst ) const /************************************************************************* * virtual SwTxtPortion::GetTxtSize() *************************************************************************/ -// Das GetTxtSize() geht davon aus, dass die eigene Laenge korrekt ist +// The GetTxtSize() assumes that the own length is correct SwPosSize SwTxtPortion::GetTxtSize( const SwTxtSizeInfo &rInf ) const { @@ -559,9 +555,6 @@ SwPosSize SwTxtPortion::GetTxtSize( const SwTxtSizeInfo &rInf ) const /************************************************************************* * virtual SwTxtPortion::Paint() *************************************************************************/ - - - void SwTxtPortion::Paint( const SwTxtPaintInfo &rInf ) const { if (rInf.OnWin() && 1==rInf.GetLen() && CH_TXT_ATR_FIELDEND==rInf.GetTxt().GetChar(rInf.GetIdx())) @@ -614,8 +607,8 @@ sal_Bool SwTxtPortion::GetExpTxt( const SwTxtSizeInfo &, XubString & ) const /************************************************************************* * xub_StrLen SwTxtPortion::GetSpaceCnt() * long SwTxtPortion::CalcSpacing() - * sind fuer den Blocksatz zustaendig und ermitteln die Anzahl der Blanks - * und den daraus resultierenden zusaetzlichen Zwischenraum + * Are responsible for the justified paragraph. They calculate the blank + * count and the resulting added space. *************************************************************************/ xub_StrLen SwTxtPortion::GetSpaceCnt( const SwTxtSizeInfo &rInf, @@ -627,8 +620,8 @@ xub_StrLen SwTxtPortion::GetSpaceCnt( const SwTxtSizeInfo &rInf, { if( !IsBlankPortion() && !InNumberGrp() && !IsCombinedPortion() ) { - // Bei OnWin() wird anstatt eines Leerstrings gern mal ein Blank - // zurueckgeliefert, das koennen wir hier aber gar nicht gebrauchen + // OnWin() likes to return a blank instead of an empty string from + // time to time. We cannot use that here at all, however. sal_Bool bOldOnWin = rInf.OnWin(); ((SwTxtSizeInfo &)rInf).SetOnWin( sal_False ); @@ -657,8 +650,8 @@ long SwTxtPortion::CalcSpacing( long nSpaceAdd, const SwTxtSizeInfo &rInf ) cons { if( !IsBlankPortion() && !InNumberGrp() && !IsCombinedPortion() ) { - // Bei OnWin() wird anstatt eines Leerstrings gern mal ein Blank - // zurueckgeliefert, das koennen wir hier aber gar nicht gebrauchen + // OnWin() likes to return a blank instead of an empty string from + // time to time. We cannot use that here at all, however. sal_Bool bOldOnWin = rInf.OnWin(); ((SwTxtSizeInfo &)rInf).SetOnWin( sal_False ); diff --git a/sw/source/core/text/portxt.hxx b/sw/source/core/text/portxt.hxx index 7f9d12efd32a..f3cf301b7ad4 100644 --- a/sw/source/core/text/portxt.hxx +++ b/sw/source/core/text/portxt.hxx @@ -30,7 +30,7 @@ #ifdef GCC #include <sys/types.h> #else -#include <new.h> //fuer size_t, FIXEDMEM aus tools +#include <new.h> // for size_t, FIXEDMEM from tools #endif #include <tools/mempool.hxx> @@ -59,7 +59,7 @@ public: virtual sal_Bool GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt ) const; virtual long CalcSpacing( long nSpaceAdd, const SwTxtSizeInfo &rInf ) const; - // zaehlt die Spaces fuer Blocksatz + // Counts the spaces for justified paragraph xub_StrLen GetSpaceCnt( const SwTxtSizeInfo &rInf, xub_StrLen& rCnt ) const; sal_Bool CreateHyphen( SwTxtFormatInfo &rInf, SwTxtGuess &rGuess ); diff --git a/sw/source/core/text/possiz.hxx b/sw/source/core/text/possiz.hxx index c97d122da2ff..ef561366ac54 100644 --- a/sw/source/core/text/possiz.hxx +++ b/sw/source/core/text/possiz.hxx @@ -32,7 +32,7 @@ #include <tools/gen.hxx> #include "txttypes.hxx" -// Im Gegensazt zu den SV-Sizes ist die SwPosSize immer positiv +// Compared to the SV sizes SwPosSize is always positive class SwPosSize { KSHORT nWidth; diff --git a/sw/source/core/text/txtinit.cxx b/sw/source/core/text/txtinit.cxx index 187a99694808..3681d9db430b 100644 --- a/sw/source/core/text/txtinit.cxx +++ b/sw/source/core/text/txtinit.cxx @@ -28,8 +28,8 @@ #include "swcache.hxx" -#include "fntcache.hxx" // pFntCache ( SwFont/ScrFont-PrtFont Cache ) -#include "swfntcch.hxx" // pSwFontCache ( SwAttrSet/SwFont Cache ) +#include "fntcache.hxx" // pFntCache ( SwFont/ScrFont-PrtFont cache ) +#include "swfntcch.hxx" // pSwFontCache ( SwAttrSet/SwFont cache ) #include "txtfrm.hxx" #include "txtcache.hxx" #include "porlay.hxx" @@ -43,10 +43,10 @@ #include "porftn.hxx" #include "porhyph.hxx" #include "pordrop.hxx" -#include "blink.hxx" // Blink-Manager -#include "init.hxx" // Deklarationen fuer _TextInit() und _TextFinit() +#include "blink.hxx" // Blink manager +#include "init.hxx" // Declarations for _TextInit() and _TextFinit() #include "txtfly.hxx" // SwContourCache -#include "dbg_lay.hxx" // Layout Debug Fileausgabe +#include "dbg_lay.hxx" // Layout Debug file output SwCache *SwTxtFrm::pTxtCache = 0; long SwTxtFrm::nMinPrtLine = 0; @@ -54,22 +54,23 @@ SwContourCache *pContourCache = 0; SwDropCapCache *pDropCapCache = 0; IMPL_FIXEDMEMPOOL_NEWDEL( SwTxtLine ) -IMPL_FIXEDMEMPOOL_NEWDEL( SwParaPortion ) //Absaetze -IMPL_FIXEDMEMPOOL_NEWDEL( SwLineLayout ) //Zeilen -IMPL_FIXEDMEMPOOL_NEWDEL( SwHolePortion ) //z.B. Blanks am Zeilenende -IMPL_FIXEDMEMPOOL_NEWDEL( SwTxtPortion ) //Attributwechsel +IMPL_FIXEDMEMPOOL_NEWDEL( SwParaPortion ) // Paragraphs +IMPL_FIXEDMEMPOOL_NEWDEL( SwLineLayout ) // Lines +IMPL_FIXEDMEMPOOL_NEWDEL( SwHolePortion ) // e.g. Blanks at the line end +IMPL_FIXEDMEMPOOL_NEWDEL( SwTxtPortion ) // Attribute change /************************************************************************* * _TextInit(), _TextFinit() *************************************************************************/ -// Werden _nur_ in init.cxx verwendet, dort stehen extern void _TextFinit() -// und extern void _TextInit(...) +// Are ONLY used in init.cxx. +// There we have extern void _TextFinit() +// and extern void _TextInit(...) void _TextInit() { - pFntCache = new SwFntCache; // Cache for SwSubFont -> SwFntObj = { Font aFont, Font* pScrFont, Font* pPrtFont, OutputDevice* pPrinter, ... } - pSwFontCache = new SwFontCache; // Cache for SwTxtFmtColl -> SwFontObj = { SwFont aSwFont, SfxPoolItem* pDefaultArray } + pFntCache = new SwFntCache; // Cache for SwSubFont -> SwFntObj = { Font aFont, Font* pScrFont, Font* pPrtFont, OutputDevice* pPrinter, ... } + pSwFontCache = new SwFontCache; // Cache for SwTxtFmtColl -> SwFontObj = { SwFont aSwFont, SfxPoolItem* pDefaultArray } SwCache *pTxtCache = new SwCache( 250 // Cache for SwTxtFrm -> SwTxtLine = { SwParaPortion* pLine } #ifdef DBG_UTIL , "static SwTxtFrm::pTxtCache" diff --git a/sw/source/core/text/widorp.hxx b/sw/source/core/text/widorp.hxx index a0730d1b171e..ac90f9f116d0 100644 --- a/sw/source/core/text/widorp.hxx +++ b/sw/source/core/text/widorp.hxx @@ -55,12 +55,10 @@ public: sal_Bool IsInside( SwTxtMargin &rLine ) const; - // Um Sonderfaelle mit Ftn behandeln zu koennen. - // Mit SetRstHeight wird dem SwTxtFrmBreak die Resthoehe eingestellt, - // Um TruncLines() rufen zu koennen, ohne dass IsBreakNow() einen - // anderen Wert zurueckliefert. - // Es wird dabei davon ausgegangen, dass rLine auf der letzten Zeile - // steht, die nicht mehr passt. + // In order to be able to handle special cases with Ftn. + // SetRstHeight sets the rest height for SwTxtFrmBreak. This is needed + // to call TruncLines() without IsBreakNow() returning another value. + // We assume that rLine is pointing to the last non-fitting line. // OD 2004-02-27 #106629# - no longer inline void SetRstHeight( const SwTxtMargin &rLine ); |