summaryrefslogtreecommitdiff
path: root/sw/source/core/layout
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout')
-rw-r--r--sw/source/core/layout/anchoreddrawobject.cxx2
-rw-r--r--sw/source/core/layout/anchoredobject.cxx2
-rw-r--r--sw/source/core/layout/atrfrm.cxx136
-rw-r--r--sw/source/core/layout/calcmove.cxx120
-rw-r--r--sw/source/core/layout/colfrm.cxx34
-rw-r--r--sw/source/core/layout/dbg_lay.cxx228
-rw-r--r--sw/source/core/layout/findfrm.cxx144
-rw-r--r--sw/source/core/layout/flowfrm.cxx250
-rw-r--r--sw/source/core/layout/fly.cxx188
-rw-r--r--sw/source/core/layout/flycnt.cxx92
-rw-r--r--sw/source/core/layout/flyincnt.cxx72
-rw-r--r--sw/source/core/layout/flylay.cxx96
-rw-r--r--sw/source/core/layout/flypos.cxx4
-rw-r--r--sw/source/core/layout/frmtool.cxx298
-rw-r--r--sw/source/core/layout/ftnfrm.cxx346
-rw-r--r--sw/source/core/layout/hffrm.cxx34
-rw-r--r--sw/source/core/layout/layact.cxx172
-rw-r--r--sw/source/core/layout/laycache.cxx12
-rw-r--r--sw/source/core/layout/layhelp.hxx42
-rw-r--r--sw/source/core/layout/layouter.cxx14
-rw-r--r--sw/source/core/layout/movedfwdfrmsbyobjpos.cxx2
-rw-r--r--sw/source/core/layout/newfrm.cxx46
-rw-r--r--sw/source/core/layout/objectformatter.cxx2
-rw-r--r--sw/source/core/layout/objectformatterlayfrm.cxx2
-rw-r--r--sw/source/core/layout/objectformatterlayfrm.hxx2
-rw-r--r--sw/source/core/layout/objectformattertxtfrm.cxx2
-rw-r--r--sw/source/core/layout/objectformattertxtfrm.hxx2
-rw-r--r--sw/source/core/layout/objstmpconsiderwrapinfl.cxx2
-rw-r--r--sw/source/core/layout/objstmpconsiderwrapinfl.hxx2
-rw-r--r--sw/source/core/layout/pagechg.cxx294
-rw-r--r--sw/source/core/layout/pagedesc.cxx70
-rw-r--r--sw/source/core/layout/paintfrm.cxx300
-rw-r--r--sw/source/core/layout/sectfrm.cxx198
-rw-r--r--sw/source/core/layout/softpagebreak.cxx6
-rw-r--r--sw/source/core/layout/sortedobjs.cxx2
-rw-r--r--sw/source/core/layout/sortedobjsimpl.cxx2
-rw-r--r--sw/source/core/layout/ssfrm.cxx34
-rw-r--r--sw/source/core/layout/swselectionlist.cxx4
-rw-r--r--sw/source/core/layout/tabfrm.cxx232
-rw-r--r--sw/source/core/layout/trvlfrm.cxx308
-rw-r--r--sw/source/core/layout/unusedf.cxx2
-rw-r--r--sw/source/core/layout/virtoutp.cxx10
-rw-r--r--sw/source/core/layout/virtoutp.hxx24
-rw-r--r--sw/source/core/layout/wsfrm.cxx328
44 files changed, 2081 insertions, 2081 deletions
diff --git a/sw/source/core/layout/anchoreddrawobject.cxx b/sw/source/core/layout/anchoreddrawobject.cxx
index 501511f14f33..dee2376219b5 100644
--- a/sw/source/core/layout/anchoreddrawobject.cxx
+++ b/sw/source/core/layout/anchoreddrawobject.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/anchoredobject.cxx b/sw/source/core/layout/anchoredobject.cxx
index ebbe5e4f3e0d..9370ed76254c 100644
--- a/sw/source/core/layout/anchoredobject.cxx
+++ b/sw/source/core/layout/anchoredobject.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index 91c653d7cb99..290f1d673889 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -129,7 +129,7 @@ TYPEINIT2(SwFmtPageDesc, SfxPoolItem, SwClient );
TYPEINIT1_AUTOFACTORY(SwFmtLineNumber, SfxPoolItem);
/* -----------------19.05.98 09:26-------------------
- * Umwandlung fuer QueryValue
+ * Umwandlung fuer QueryValue
* --------------------------------------------------*/
sal_Int16 lcl_RelToINT(sal_Int16 eRelation)
{
@@ -256,8 +256,8 @@ void DelHFFormat( SwClient *pToRemove, SwFrmFmt *pFmt )
}
}
-// class SwFmtFrmSize
-// Implementierung teilweise inline im hxx
+// class SwFmtFrmSize
+// Implementierung teilweise inline im hxx
SwFmtFrmSize::SwFmtFrmSize( SwFrmSize eSize, SwTwips nWidth, SwTwips nHeight )
: SfxPoolItem( RES_FRM_SIZE ),
@@ -283,9 +283,9 @@ int SwFmtFrmSize::operator==( const SfxPoolItem& rAttr ) const
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
return( eFrmHeightType == ((SwFmtFrmSize&)rAttr).eFrmHeightType &&
eFrmWidthType == ((SwFmtFrmSize&)rAttr).eFrmWidthType &&
- aSize == ((SwFmtFrmSize&)rAttr).GetSize()&&
- nWidthPercent == ((SwFmtFrmSize&)rAttr).GetWidthPercent() &&
- nHeightPercent == ((SwFmtFrmSize&)rAttr).GetHeightPercent() );
+ aSize == ((SwFmtFrmSize&)rAttr).GetSize()&&
+ nWidthPercent == ((SwFmtFrmSize&)rAttr).GetWidthPercent() &&
+ nHeightPercent == ((SwFmtFrmSize&)rAttr).GetHeightPercent() );
}
SfxPoolItem* SwFmtFrmSize::Clone( SfxItemPool* ) const
@@ -487,8 +487,8 @@ bool SwFmtFrmSize::PutValue( const uno::Any& rVal, BYTE nMemberId )
return bRet;
}
-// class SwFmtFillOrder
-// Implementierung teilweise inline im hxx
+// class SwFmtFillOrder
+// Implementierung teilweise inline im hxx
SwFmtFillOrder::SwFmtFillOrder( SwFillOrder nFO )
: SfxEnumItem( RES_FILL_ORDER, sal_uInt16(nFO) )
@@ -504,8 +504,8 @@ sal_uInt16 SwFmtFillOrder::GetValueCount() const
return SW_FILL_ORDER_END - SW_FILL_ORDER_BEGIN;
}
-// class SwFmtHeader
-// Implementierung teilweise inline im hxx
+// class SwFmtHeader
+// Implementierung teilweise inline im hxx
SwFmtHeader::SwFmtHeader( SwFrmFmt *pHeaderFmt )
: SfxPoolItem( RES_HEADER ),
@@ -546,8 +546,8 @@ SfxPoolItem* SwFmtHeader::Clone( SfxItemPool* ) const
return new SwFmtHeader( *this );
}
-// class SwFmtFooter
-// Implementierung teilweise inline im hxx
+// class SwFmtFooter
+// Implementierung teilweise inline im hxx
SwFmtFooter::SwFmtFooter( SwFrmFmt *pFooterFmt )
: SfxPoolItem( RES_FOOTER ),
@@ -588,8 +588,8 @@ SfxPoolItem* SwFmtFooter::Clone( SfxItemPool* ) const
return new SwFmtFooter( *this );
}
-// class SwFmtCntnt
-// Implementierung teilweise inline im hxx
+// class SwFmtCntnt
+// Implementierung teilweise inline im hxx
SwFmtCntnt::SwFmtCntnt( const SwFmtCntnt &rCpy )
: SfxPoolItem( RES_CNTNT )
@@ -630,8 +630,8 @@ SfxPoolItem* SwFmtCntnt::Clone( SfxItemPool* ) const
return new SwFmtCntnt( *this );
}
-// class SwFmtPageDesc
-// Implementierung teilweise inline im hxx
+// class SwFmtPageDesc
+// Implementierung teilweise inline im hxx
SwFmtPageDesc::SwFmtPageDesc( const SwFmtPageDesc &rCpy )
: SfxPoolItem( RES_PAGEDESC ),
@@ -656,7 +656,7 @@ SwFmtPageDesc::SwFmtPageDesc( const SwPageDesc *pDesc )
int SwFmtPageDesc::operator==( const SfxPoolItem& rAttr ) const
{
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
- return ( pDefinedIn == ((SwFmtPageDesc&)rAttr).pDefinedIn ) &&
+ return ( pDefinedIn == ((SwFmtPageDesc&)rAttr).pDefinedIn ) &&
( nNumOffset == ((SwFmtPageDesc&)rAttr).nNumOffset ) &&
( GetPageDesc() == ((SwFmtPageDesc&)rAttr).GetPageDesc() );
}
@@ -707,7 +707,7 @@ bool SwFmtPageDesc::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
// hier wird immer konvertiert!
nMemberId &= ~CONVERT_TWIPS;
- bool bRet = true;
+ bool bRet = true;
switch ( nMemberId )
{
case MID_PAGEDESC_PAGENUMOFFSET:
@@ -764,8 +764,8 @@ bool SwFmtPageDesc::PutValue( const uno::Any& rVal, BYTE nMemberId )
}
-// class SwFmtCol
-// Implementierung teilweise inline im hxx
+// class SwFmtCol
+// Implementierung teilweise inline im hxx
SwColumn::SwColumn() :
nWish ( 0 ),
@@ -808,10 +808,10 @@ SwFmtCol& SwFmtCol::operator=( const SwFmtCol& rCpy )
{
nLineWidth = rCpy.nLineWidth;
aLineColor = rCpy.aLineColor;
- nLineHeight = rCpy.GetLineHeight();
- eAdj = rCpy.GetLineAdj();
- nWidth = rCpy.GetWishWidth();
- bOrtho = rCpy.IsOrtho();
+ nLineHeight = rCpy.GetLineHeight();
+ eAdj = rCpy.GetLineAdj();
+ nWidth = rCpy.GetWishWidth();
+ bOrtho = rCpy.IsOrtho();
if ( aColumns.Count() )
aColumns.DeleteAndDestroy( 0, aColumns.Count() );
@@ -837,12 +837,12 @@ int SwFmtCol::operator==( const SfxPoolItem& rAttr ) const
{
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
const SwFmtCol &rCmp = (const SwFmtCol&)rAttr;
- if( !(nLineWidth == rCmp.nLineWidth &&
- aLineColor == rCmp.aLineColor &&
- nLineHeight == rCmp.GetLineHeight() &&
- eAdj == rCmp.GetLineAdj() &&
- nWidth == rCmp.GetWishWidth() &&
- bOrtho == rCmp.IsOrtho() &&
+ if( !(nLineWidth == rCmp.nLineWidth &&
+ aLineColor == rCmp.aLineColor &&
+ nLineHeight == rCmp.GetLineHeight() &&
+ eAdj == rCmp.GetLineAdj() &&
+ nWidth == rCmp.GetWishWidth() &&
+ bOrtho == rCmp.IsOrtho() &&
aColumns.Count() == rCmp.GetNumCols()) )
return 0;
@@ -880,7 +880,7 @@ sal_uInt16 SwFmtCol::GetGutterWidth( sal_Bool bMin ) const
}
}
else
- { bSet = sal_True;
+ { bSet = sal_True;
nRet = nTmp;
}
}
@@ -896,7 +896,7 @@ void SwFmtCol::SetGutterWidth( sal_uInt16 nNew, sal_uInt16 nAct )
{
sal_uInt16 nHalf = nNew / 2;
for ( sal_uInt16 i = 0; i < aColumns.Count(); ++i )
- { SwColumn *pCol = aColumns[i];
+ { SwColumn *pCol = aColumns[i];
pCol->SetLeft ( nHalf );
pCol->SetRight( nHalf );
if ( i == 0 )
@@ -915,7 +915,7 @@ void SwFmtCol::Init( sal_uInt16 nNumCols, sal_uInt16 nGutterWidth, sal_uInt16 nA
if ( aColumns.Count() )
aColumns.DeleteAndDestroy( 0, aColumns.Count() );
for ( sal_uInt16 i = 0; i < nNumCols; ++i )
- { SwColumn *pCol = new SwColumn;
+ { SwColumn *pCol = new SwColumn;
aColumns.Insert( pCol, i );
}
bOrtho = sal_True;
@@ -1081,9 +1081,9 @@ bool SwFmtCol::PutValue( const uno::Any& rVal, BYTE nMemberId )
eAdj = COLADJ_NONE;
else switch(pSwColums->GetSepLineVertAlign())
{
- case 0: eAdj = COLADJ_TOP; break; //VerticalAlignment_TOP
+ case 0: eAdj = COLADJ_TOP; break; //VerticalAlignment_TOP
case 1: eAdj = COLADJ_CENTER;break; //VerticalAlignment_MIDDLE
- case 2: eAdj = COLADJ_BOTTOM;break; //VerticalAlignment_BOTTOM
+ case 2: eAdj = COLADJ_BOTTOM;break; //VerticalAlignment_BOTTOM
default: OSL_ENSURE( !this, "unknown alignment" ); break;
}
}
@@ -1093,8 +1093,8 @@ bool SwFmtCol::PutValue( const uno::Any& rVal, BYTE nMemberId )
}
-// class SwFmtSurround
-// Implementierung teilweise inline im hxx
+// class SwFmtSurround
+// Implementierung teilweise inline im hxx
SwFmtSurround::SwFmtSurround( SwSurround eFly ) :
SfxEnumItem( RES_SURROUND, sal_uInt16( eFly ) )
@@ -1200,8 +1200,8 @@ bool SwFmtSurround::PutValue( const uno::Any& rVal, BYTE nMemberId )
return bRet;
}
-// class SwFmtVertOrient
-// Implementierung teilweise inline im hxx
+// class SwFmtVertOrient
+// Implementierung teilweise inline im hxx
SwFmtVertOrient::SwFmtVertOrient( SwTwips nY, sal_Int16 eVert,
sal_Int16 eRel )
@@ -1312,8 +1312,8 @@ bool SwFmtVertOrient::PutValue( const uno::Any& rVal, BYTE nMemberId )
-// class SwFmtHoriOrient
-// Implementierung teilweise inline im hxx
+// class SwFmtHoriOrient
+// Implementierung teilweise inline im hxx
SwFmtHoriOrient::SwFmtHoriOrient( SwTwips nX, sal_Int16 eHori,
sal_Int16 eRel, sal_Bool bPos )
@@ -1438,8 +1438,8 @@ bool SwFmtHoriOrient::PutValue( const uno::Any& rVal, BYTE nMemberId )
-// class SwFmtAnchor
-// Implementierung teilweise inline im hxx
+// class SwFmtAnchor
+// Implementierung teilweise inline im hxx
SwFmtAnchor::SwFmtAnchor( RndStdIds nRnd, sal_uInt16 nPage )
: SfxPoolItem( RES_ANCHOR ),
@@ -1586,7 +1586,7 @@ bool SwFmtAnchor::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
case MID_ANCHOR_ANCHORTYPE:
{
- RndStdIds eAnchor;
+ RndStdIds eAnchor;
switch( SWUnoHelper::GetEnumAsInt32( rVal ) )
{
case text::TextContentAnchorType_AS_CHARACTER:
@@ -1647,8 +1647,8 @@ bool SwFmtAnchor::PutValue( const uno::Any& rVal, BYTE nMemberId )
return bRet;
}
-// class SwFmtURL
-// Implementierung teilweise inline im hxx
+// class SwFmtURL
+// Implementierung teilweise inline im hxx
SwFmtURL::SwFmtURL() :
SfxPoolItem( RES_URL ),
@@ -1677,10 +1677,10 @@ int SwFmtURL::operator==( const SfxPoolItem &rAttr ) const
{
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
const SwFmtURL &rCmp = (SwFmtURL&)rAttr;
- sal_Bool bRet = bIsServerMap == rCmp.IsServerMap() &&
- sURL == rCmp.GetURL() &&
+ sal_Bool bRet = bIsServerMap == rCmp.IsServerMap() &&
+ sURL == rCmp.GetURL() &&
sTargetFrameName == rCmp.GetTargetFrameName() &&
- sName == rCmp.GetName();
+ sName == rCmp.GetName();
if ( bRet )
{
if ( pMap && rCmp.GetMap() )
@@ -1877,7 +1877,7 @@ bool SwFmtFtnEndAtTxtEnd::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
nMemberId &= ~CONVERT_TWIPS;
switch(nMemberId)
{
- case MID_COLLECT :
+ case MID_COLLECT :
{
sal_Bool bVal = GetValue() >= FTNEND_ATTXTEND;
rVal.setValue(&bVal, ::getBooleanCppuType());
@@ -1910,7 +1910,7 @@ bool SwFmtFtnEndAtTxtEnd::PutValue( const uno::Any& rVal, BYTE nMemberId )
nMemberId &= ~CONVERT_TWIPS;
switch(nMemberId)
{
- case MID_COLLECT :
+ case MID_COLLECT :
{
sal_Bool bVal = *(sal_Bool*)rVal.getValue();
if(!bVal && GetValue() >= FTNEND_ATTXTEND)
@@ -2082,8 +2082,8 @@ int SwFmtLineNumber::operator==( const SfxPoolItem &rAttr ) const
{
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
- return nStartValue == ((SwFmtLineNumber&)rAttr).GetStartValue() &&
- bCountLines == ((SwFmtLineNumber&)rAttr).IsCount();
+ return nStartValue == ((SwFmtLineNumber&)rAttr).GetStartValue() &&
+ bCountLines == ((SwFmtLineNumber&)rAttr).IsCount();
}
SfxPoolItem* SwFmtLineNumber::Clone( SfxItemPool* ) const
@@ -2423,8 +2423,8 @@ void SwTextGridItem::Init()
//if grid type change.
//if(SvtCJKOptions().IsAsianTypographyEnabled())
//{
- // bDisplayGrid = 0;
- // eGridType = GRID_LINES_ONLY;
+ // bDisplayGrid = 0;
+ // eGridType = GRID_LINES_ONLY;
//}
}
}
@@ -2437,7 +2437,7 @@ SfxPoolItem* SwHeaderAndFooterEatSpacingItem::Clone( SfxItemPool* ) const
// class SwFrmFmt
-// Implementierung teilweise inline im hxx
+// Implementierung teilweise inline im hxx
TYPEINIT1( SwFrmFmt, SwFmt );
IMPL_FIXEDMEMPOOL_NEWDEL_DLL( SwFrmFmt, 20, 20 )
@@ -2462,20 +2462,20 @@ void SwFrmFmt::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
pF = (SwFmtFooter*)pNew;
if( pH && pH->IsActive() && !pH->GetHeaderFmt() )
- { //Hat er keinen, mach ich ihm einen
+ { //Hat er keinen, mach ich ihm einen
SwFrmFmt *pFmt = GetDoc()->MakeLayoutFmt( RND_STD_HEADER, 0 );
pFmt->Add( pH );
}
if( pF && pF->IsActive() && !pF->GetFooterFmt() )
- { //Hat er keinen, mach ich ihm einen
+ { //Hat er keinen, mach ich ihm einen
SwFrmFmt *pFmt = GetDoc()->MakeLayoutFmt( RND_STD_FOOTER, 0 );
pFmt->Add( pF );
}
// MIB 24.3.98: Modify der Basisklasse muss immer gerufen werden, z.B.
// wegen RESET_FMTWRITTEN.
-// if ( GetDepends() )
+// if ( GetDepends() )
SwFmt::Modify( pOld, pNew );
if (pOld && (RES_REMOVE_UNO_OBJECT == pOld->Which()))
@@ -2528,7 +2528,7 @@ SwRect SwFrmFmt::FindLayoutRect( const sal_Bool bPrtArea, const Point* pPoint,
// noch implementier werden, in dem sich vom Ende noch
// der entsprechende frame::Frame besorgt wird.
// PROBLEM: was passiert bei SectionFrames, die auf unter-
- // schiedlichen Seiten stehen??
+ // schiedlichen Seiten stehen??
if( bPrtArea )
aRet = pFrm->Prt();
else
@@ -2536,7 +2536,7 @@ SwRect SwFrmFmt::FindLayoutRect( const sal_Bool bPrtArea, const Point* pPoint,
aRet = pFrm->Frm();
--aRet.Pos().Y();
}
- pFrm = 0; // das Rect ist ja jetzt fertig
+ pFrm = 0; // das Rect ist ja jetzt fertig
}
}
}
@@ -2668,11 +2668,11 @@ String SwFrmFmt::GetDescription() const
return SW_RES(STR_FRAME);
}
-// class SwFlyFrmFmt
-// Implementierung teilweise inline im hxx
+// class SwFlyFrmFmt
+// Implementierung teilweise inline im hxx
TYPEINIT1( SwFlyFrmFmt, SwFrmFmt );
-IMPL_FIXEDMEMPOOL_NEWDEL( SwFlyFrmFmt, 10, 10 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwFlyFrmFmt, 10, 10 )
SwFlyFrmFmt::~SwFlyFrmFmt()
{
@@ -3121,11 +3121,11 @@ SwHandleAnchorNodeChg::~SwHandleAnchorNodeChg()
}
}
// <--
-// class SwDrawFrmFmt
-// Implementierung teilweise inline im hxx
+// class SwDrawFrmFmt
+// Implementierung teilweise inline im hxx
TYPEINIT1( SwDrawFrmFmt, SwFrmFmt );
-IMPL_FIXEDMEMPOOL_NEWDEL( SwDrawFrmFmt, 10, 10 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwDrawFrmFmt, 10, 10 )
SwDrawFrmFmt::~SwDrawFrmFmt()
{
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx
index 21fa4b60cf39..93827189fa1a 100644
--- a/sw/source/core/layout/calcmove.cxx
+++ b/sw/source/core/layout/calcmove.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -67,16 +67,16 @@
#include <ndtxt.hxx>
//------------------------------------------------------------------------
-// Move-Methoden
+// Move-Methoden
//------------------------------------------------------------------------
/*************************************************************************
|*
-|* SwCntntFrm::ShouldBwdMoved()
+|* SwCntntFrm::ShouldBwdMoved()
|*
-|* Beschreibung Returnwert sagt, ob der Frm verschoben werden sollte.
-|* Ersterstellung MA 05. Dec. 96
-|* Letzte Aenderung MA 05. Dec. 96
+|* Beschreibung Returnwert sagt, ob der Frm verschoben werden sollte.
+|* Ersterstellung MA 05. Dec. 96
+|* Letzte Aenderung MA 05. Dec. 96
|*
|*************************************************************************/
@@ -241,26 +241,26 @@ BOOL SwCntntFrm::ShouldBwdMoved( SwLayoutFrm *pNewUpper, BOOL, BOOL & )
}
//------------------------------------------------------------------------
-// Calc-Methoden
+// Calc-Methoden
//------------------------------------------------------------------------
/*************************************************************************
|*
-|* SwFrm::Prepare()
+|* SwFrm::Prepare()
|*
-|* Beschreibung Bereitet den Frm auf die 'Formatierung' (MakeAll())
-|* vor. Diese Methode dient dazu auf dem Stack Platz einzusparen,
-|* denn zur Positionsberechnung des Frm muss sichergestellt sein, dass
-|* die Position von Upper und Prev gueltig sind, mithin also ein
-|* rekursiver Aufruf (Schleife waere relativ teuer, da selten notwendig).
-|* Jeder Aufruf von MakeAll verbraucht aber ca. 500Byte Stack -
-|* das Ende ist leicht abzusehen. _Prepare benoetigt nur wenig Stack,
-|* deshalb solle der Rekursive Aufruf hier kein Problem sein.
-|* Ein weiterer Vorteil ist, das eines schoenen Tages das _Prepare und
-|* damit die Formatierung von Vorgaengern umgangen werden kann.
-|* So kann evtl. mal 'schnell' an's Dokumentende gesprungen werden.
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 13. Dec. 93
+|* Beschreibung Bereitet den Frm auf die 'Formatierung' (MakeAll())
+|* vor. Diese Methode dient dazu auf dem Stack Platz einzusparen,
+|* denn zur Positionsberechnung des Frm muss sichergestellt sein, dass
+|* die Position von Upper und Prev gueltig sind, mithin also ein
+|* rekursiver Aufruf (Schleife waere relativ teuer, da selten notwendig).
+|* Jeder Aufruf von MakeAll verbraucht aber ca. 500Byte Stack -
+|* das Ende ist leicht abzusehen. _Prepare benoetigt nur wenig Stack,
+|* deshalb solle der Rekursive Aufruf hier kein Problem sein.
+|* Ein weiterer Vorteil ist, das eines schoenen Tages das _Prepare und
+|* damit die Formatierung von Vorgaengern umgangen werden kann.
+|* So kann evtl. mal 'schnell' an's Dokumentende gesprungen werden.
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 13. Dec. 93
|*
|*************************************************************************/
//Zwei kleine Freundschaften werden hier zu einem Geheimbund.
@@ -454,7 +454,7 @@ void SwFrm::PrepareCrsr()
{
OSL_ENSURE( pFrm, ":-( Layoutgeruest wackelig (this not found)." );
if ( !pFrm )
- return; //Oioioioi ...
+ return; //Oioioioi ...
if ( !pFrm->IsValid() )
{
@@ -498,10 +498,10 @@ void SwFrm::PrepareCrsr()
/*************************************************************************
|*
-|* SwFrm::MakePos()
+|* SwFrm::MakePos()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 24. May. 93
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 24. May. 93
|*
|*************************************************************************/
@@ -547,7 +547,7 @@ void SwFrm::MakePos()
!pPrv->GetAttrSet()->GetKeep().GetValue()
)
{
- pPrv->Calc(); //hierbei kann der Prev verschwinden!
+ pPrv->Calc(); //hierbei kann der Prev verschwinden!
}
else if ( pPrv->Frm().Top() == 0 )
{
@@ -662,10 +662,10 @@ void SwFrm::MakePos()
/*************************************************************************
|*
-|* SwPageFrm::MakeAll()
+|* SwPageFrm::MakeAll()
|*
-|* Ersterstellung MA 23. Feb. 93
-|* Letzte Aenderung MA 20. Jul. 98
+|* Ersterstellung MA 23. Feb. 93
+|* Letzte Aenderung MA 20. Jul. 98
|*
|*************************************************************************/
// --> OD 2004-07-01 #i28701# - new type <SwSortedObjs>
@@ -705,8 +705,8 @@ void SwPageFrm::MakeAll()
{
PROTOCOL_ENTER( this, PROT_MAKEALL, 0, 0 )
- const SwRect aOldRect( Frm() ); //Anpassung der Root-Groesse
- const SwLayNotify aNotify( this ); //uebernimmt im DTor die Benachrichtigung
+ const SwRect aOldRect( Frm() ); //Anpassung der Root-Groesse
+ const SwLayNotify aNotify( this ); //uebernimmt im DTor die Benachrichtigung
SwBorderAttrAccess *pAccess = 0;
const SwBorderAttrs*pAttrs = 0;
@@ -835,7 +835,7 @@ void SwPageFrm::MakeAll()
bValidSize = bValidPrtArea = TRUE;
}
else
- { //FixSize einstellen, bei Seiten nicht vom Upper sondern vom
+ { //FixSize einstellen, bei Seiten nicht vom Upper sondern vom
//Attribut vorgegeben.
Frm().SSize( pAttrs->GetSize() );
Format( pAttrs );
@@ -861,10 +861,10 @@ void SwPageFrm::MakeAll()
/*************************************************************************
|*
-|* SwLayoutFrm::MakeAll()
+|* SwLayoutFrm::MakeAll()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 28. Nov. 95
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 28. Nov. 95
|*
|*************************************************************************/
@@ -949,10 +949,10 @@ void SwLayoutFrm::MakeAll()
/*************************************************************************
|*
-|* SwCntntFrm::MakePrtArea()
+|* SwCntntFrm::MakePrtArea()
|*
-|* Ersterstellung MA 17. Nov. 92
-|* Letzte Aenderung MA 03. Mar. 96
+|* Ersterstellung MA 17. Nov. 92
+|* Letzte Aenderung MA 03. Mar. 96
|*
|*************************************************************************/
bool SwTxtNode::IsCollapse() const
@@ -1083,7 +1083,7 @@ BOOL SwCntntFrm::MakePrtArea( const SwBorderAttrs &rAttrs )
//1. Der erste einer Kette hat keinen Rand nach oben
//2. Nach unten gibt es nie einen Rand
//3. Der Rand nach oben ist das Maximum aus dem Abstand des
- // Prev nach unten und dem eigenen Abstand nach oben.
+ // Prev nach unten und dem eigenen Abstand nach oben.
//Die drei Regeln werden auf die Berechnung der Freiraeume, die von
//UL- bzw. LRSpace vorgegeben werden, angewand. Es gibt in alle
//Richtungen jedoch ggf. trotzdem einen Abstand; dieser wird durch
@@ -1130,10 +1130,10 @@ BOOL SwCntntFrm::MakePrtArea( const SwBorderAttrs &rAttrs )
/*************************************************************************
|*
-|* SwCntntFrm::MakeAll()
+|* SwCntntFrm::MakeAll()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 16. Dec. 96
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 16. Dec. 96
|*
|*************************************************************************/
@@ -1197,33 +1197,33 @@ void SwCntntFrm::MakeAll()
//uebernimmt im DTor die Benachrichtigung
SwCntntNotify *pNotify = new SwCntntNotify( this );
- BOOL bMakePage = TRUE; //solange TRUE kann eine neue Seite
+ BOOL bMakePage = TRUE; //solange TRUE kann eine neue Seite
//angelegt werden (genau einmal)
- BOOL bMovedBwd = FALSE; //Wird TRUE wenn der Frame zurueckfliesst
- BOOL bMovedFwd = FALSE; //solange FALSE kann der Frm zurueck-
+ BOOL bMovedBwd = FALSE; //Wird TRUE wenn der Frame zurueckfliesst
+ BOOL bMovedFwd = FALSE; //solange FALSE kann der Frm zurueck-
//fliessen (solange, bis er einmal
//vorwaerts ge'moved wurde).
- BOOL bFormatted = FALSE; //Fuer die Witwen und Waisen Regelung
+ BOOL bFormatted = FALSE; //Fuer die Witwen und Waisen Regelung
//wird der letzte CntntFrm einer Kette
//u.U. zum Formatieren angeregt, dies
//braucht nur einmal zu passieren.
//Immer wenn der Frm gemoved wird muss
//das Flag zurueckgesetzt werden.
- BOOL bMustFit = FALSE; //Wenn einmal die Notbremse gezogen wurde,
+ BOOL bMustFit = FALSE; //Wenn einmal die Notbremse gezogen wurde,
//werden keine anderen Prepares mehr
//abgesetzt.
- BOOL bFitPromise = FALSE; //Wenn ein Absatz nicht passte, mit WouldFit
+ BOOL bFitPromise = FALSE; //Wenn ein Absatz nicht passte, mit WouldFit
//aber verspricht, dass er sich passend
//einstellt wird dieses Flag gesetzt.
//Wenn er dann sein Versprechen nicht haelt,
//kann kontrolliert verfahren werden.
BOOL bMoveable;
- const BOOL bFly = IsInFly();
+ const BOOL bFly = IsInFly();
const BOOL bTab = IsInTab();
const BOOL bFtn = IsInFtn();
const BOOL bSct = IsInSct();
- Point aOldFrmPos; //Damit bei Turnarounds jew. mit der
- Point aOldPrtPos; //letzten Pos verglichen und geprueft
+ Point aOldFrmPos; //Damit bei Turnarounds jew. mit der
+ Point aOldPrtPos; //letzten Pos verglichen und geprueft
//werden kann, ob ein Prepare sinnvoll ist.
SwBorderAttrAccess aAccess( SwFrm::GetCache(), this );
@@ -1445,7 +1445,7 @@ void SwCntntFrm::MakeAll()
// bValidSize wird FALSE und das Format() wird gerufen.
Prepare( PREP_POS_CHGD, (const void*)&bFormatted, FALSE );
if ( bWidow && GetFollow() )
- { Prepare( PREP_WIDOWS_ORPHANS, 0, FALSE );
+ { Prepare( PREP_WIDOWS_ORPHANS, 0, FALSE );
bValidSize = FALSE;
}
}
@@ -1750,8 +1750,8 @@ void SwCntntFrm::MakeAll()
/* MA 13. Oct. 98: Was soll das denn sein!?
* AMA 14. Dec 98: Wenn ein spaltiger Bereich keinen Platz mehr fuer seinen ersten ContentFrm
- * bietet, so soll dieser nicht nur in die naechste Spalte, sondern ggf. bis zur naechsten
- * Seite wandern und dort einen Section-Follow erzeugen.
+ * bietet, so soll dieser nicht nur in die naechste Spalte, sondern ggf. bis zur naechsten
+ * Seite wandern und dort einen Section-Follow erzeugen.
*/
if( IsInSct() && bMovedFwd && bMakePage && pOldUp->IsColBodyFrm() &&
pOldUp->GetUpper()->GetUpper()->IsSctFrm() &&
@@ -1795,7 +1795,7 @@ void SwCntntFrm::MakeAll()
#endif
}
if ( bMovedBwd && GetUpper() )
- { //Unuetz gewordene Invalidierungen zuruecknehmen.
+ { //Unuetz gewordene Invalidierungen zuruecknehmen.
GetUpper()->ResetCompletePaint();
if( pPre && !pPre->IsSctFrm() )
::ValidateSz( pPre );
@@ -1840,10 +1840,10 @@ void SwCntntFrm::MakeAll()
/*************************************************************************
|*
-|* SwCntntFrm::_WouldFit()
+|* SwCntntFrm::_WouldFit()
|*
-|* Ersterstellung MA 28. Feb. 95
-|* Letzte Aenderung AMA 15. Feb. 99
+|* Ersterstellung MA 28. Feb. 95
+|* Letzte Aenderung AMA 15. Feb. 99
|*
|*************************************************************************/
@@ -1893,8 +1893,8 @@ void MakeNxt( SwFrm *pFrm, SwFrm *pNxt )
pNxt->Format( &rAttrs );
}
- pFrm->bValidPos = bOldPos;
- pFrm->bValidSize = bOldSz;
+ pFrm->bValidPos = bOldPos;
+ pFrm->bValidSize = bOldSz;
pFrm->bValidPrtArea = bOldPrt;
}
diff --git a/sw/source/core/layout/colfrm.cxx b/sw/source/core/layout/colfrm.cxx
index e40fd45a5065..9ae58a45aae1 100644
--- a/sw/source/core/layout/colfrm.cxx
+++ b/sw/source/core/layout/colfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -43,9 +43,9 @@
#include "frmtool.hxx"
#include "colfrm.hxx"
#include "pagefrm.hxx"
-#include "bodyfrm.hxx" // ColumnFrms jetzt mit BodyFrm
+#include "bodyfrm.hxx" // ColumnFrms jetzt mit BodyFrm
#include "rootfrm.hxx" // wg. RemoveFtns
-#include "sectfrm.hxx" // wg. FtnAtEnd-Flag
+#include "sectfrm.hxx" // wg. FtnAtEnd-Flag
// ftnfrm.cxx:
void lcl_RemoveFtns( SwFtnBossFrm* pBoss, BOOL bPageOnly, BOOL bEndNotes );
@@ -53,10 +53,10 @@ void lcl_RemoveFtns( SwFtnBossFrm* pBoss, BOOL bPageOnly, BOOL bEndNotes );
/*************************************************************************
|*
-|* SwColumnFrm::SwColumnFrm()
+|* SwColumnFrm::SwColumnFrm()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung AMA 30. Oct 98
+|* Ersterstellung MA ??
+|* Letzte Aenderung AMA 30. Oct 98
|*
|*************************************************************************/
SwColumnFrm::SwColumnFrm( SwFrmFmt *pFmt ):
@@ -83,10 +83,10 @@ SwColumnFrm::~SwColumnFrm()
/*************************************************************************
|*
-|* SwLayoutFrm::ChgColumns()
+|* SwLayoutFrm::ChgColumns()
|*
-|* Ersterstellung MA 11. Feb. 93
-|* Letzte Aenderung MA 12. Oct. 98
+|* Ersterstellung MA 11. Feb. 93
+|* Letzte Aenderung MA 12. Oct. 98
|*
|*************************************************************************/
@@ -107,7 +107,7 @@ void MA_FASTCALL lcl_RemoveColumns( SwLayoutFrm *pCont, USHORT nCnt )
{
SwColumnFrm *pTmp = (SwColumnFrm*)pColumn->GetPrev();
pColumn->Cut();
- delete pColumn; //Format wird ggf. im DTor mit vernichtet.
+ delete pColumn; //Format wird ggf. im DTor mit vernichtet.
pColumn = pTmp;
}
}
@@ -220,7 +220,7 @@ void SwLayoutFrm::ChgColumns( const SwFmtCol &rOld, const SwFmtCol &rNew,
}
// <--
- USHORT nNewNum, nOldNum = 1;
+ USHORT nNewNum, nOldNum = 1;
if( Lower() && Lower()->IsColumnFrm() )
{
SwFrm* pCol = Lower();
@@ -288,9 +288,9 @@ void SwLayoutFrm::ChgColumns( const SwFmtCol &rOld, const SwFmtCol &rNew,
if ( !bAdjustAttributes )
{
- if ( rOld.GetLineWidth() != rNew.GetLineWidth() ||
- rOld.GetWishWidth() != rNew.GetWishWidth() ||
- rOld.IsOrtho() != rNew.IsOrtho() )
+ if ( rOld.GetLineWidth() != rNew.GetLineWidth() ||
+ rOld.GetWishWidth() != rNew.GetWishWidth() ||
+ rOld.IsOrtho() != rNew.IsOrtho() )
bAdjustAttributes = TRUE;
else
{
@@ -321,10 +321,10 @@ void SwLayoutFrm::ChgColumns( const SwFmtCol &rOld, const SwFmtCol &rNew,
/*************************************************************************
|*
-|* SwLayoutFrm::AdjustColumns()
+|* SwLayoutFrm::AdjustColumns()
|*
-|* Ersterstellung MA 19. Jan. 99
-|* Letzte Aenderung MA 19. Jan. 99
+|* Ersterstellung MA 19. Jan. 99
+|* Letzte Aenderung MA 19. Jan. 99
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx
index 8ab8220de3fe..eeff8a954e83 100644
--- a/sw/source/core/layout/dbg_lay.cxx
+++ b/sw/source/core/layout/dbg_lay.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -37,67 +37,67 @@
* bei denen auch das Verlassen der Methode mitprotokolliert werden soll, ein PROTOCOL_ENTER(...)-Makro
* stehen.
* Die Parameter der PROTOCOL-Makros sind
- * 1. Ein Pointer auf einen SwFrm, also meist "this" oder "rThis"
- * 2. Die Funktionsgruppe z.B. PROT_MAKEALL, hierueber wird (inline) entschieden, ob dies
- * zur Zeit protokolliert werden soll oder nicht.
- * 3. Die Aktion, im Normalfall 0, aber z.B. ein ACT_START bewirkt eine Einrueckung in der
- * Ausgabedatei, ein ACT_END nimmt dies wieder zurueck. Auf diese Art wird z.B. durch
- * PROTOCOL_ENTER am Anfang einer Methode eingerueckt und beim Verlassen wieder zurueck.
- * 4. Der vierte Parameter ist ein void-Pointer, damit man irgendetwas uebergeben kann,
- * was in das Protokoll einfliessen kann, typesches Beispiel bei PROT_GROW muss man
- * einen Pointer auf den Wert, um den gegrowt werden soll, uebergeben.
+ * 1. Ein Pointer auf einen SwFrm, also meist "this" oder "rThis"
+ * 2. Die Funktionsgruppe z.B. PROT_MAKEALL, hierueber wird (inline) entschieden, ob dies
+ * zur Zeit protokolliert werden soll oder nicht.
+ * 3. Die Aktion, im Normalfall 0, aber z.B. ein ACT_START bewirkt eine Einrueckung in der
+ * Ausgabedatei, ein ACT_END nimmt dies wieder zurueck. Auf diese Art wird z.B. durch
+ * PROTOCOL_ENTER am Anfang einer Methode eingerueckt und beim Verlassen wieder zurueck.
+ * 4. Der vierte Parameter ist ein void-Pointer, damit man irgendetwas uebergeben kann,
+ * was in das Protokoll einfliessen kann, typesches Beispiel bei PROT_GROW muss man
+ * einen Pointer auf den Wert, um den gegrowt werden soll, uebergeben.
*
*
* Das Protokoll ist die Datei "dbg_lay.out" im aktuellen (BIN-)Verzeichnis.
* Es enthaelt Zeilen mit FrmId, Funktionsgruppe sowie weiteren Infos.
*
* Was genau protokolliert wird, kann auf folgende Arten eingestellt werden:
- * 1. Die statische Variable SwProtokoll::nRecord enthaelt die Funktionsgruppen,
- * die aufgezeichnet werden sollen.
- * Ein Wert von z.B. PROT_GROW bewirkt, das Aufrufe von SwFrm::Grow dokumentiert werden,
- * PROT_MAKEALL protokolliert Aufrufe von xxx::MakeAll.
- * Die PROT_XY-Werte koennen oderiert werden.
- * Default ist Null, es wird keine Methode aufgezeichnet.
- * 2. In der SwImplProtocol-Klasse gibt es einen Filter fuer Frame-Typen,
- * nur die Methodenaufrufe von Frame-Typen, die dort gesetzt sind, werden protokolliert.
- * Der Member nTypes kann auf Werte wie FRM_PAGE, FRM_SECTION gesetzt und oderiert werden.
- * Default ist 0xFFFF, d.h. alle Frame-Typen.
- * 3. In der SwImplProtocol-Klasse gibt es einen ArrayPointer auf FrmIds, die zu ueberwachen sind.
- * Ist der Pointer Null, so werden alle Frames protokolliert, ansonsten nur Frames,
- * die in dem Array vermerkt sind.
+ * 1. Die statische Variable SwProtokoll::nRecord enthaelt die Funktionsgruppen,
+ * die aufgezeichnet werden sollen.
+ * Ein Wert von z.B. PROT_GROW bewirkt, das Aufrufe von SwFrm::Grow dokumentiert werden,
+ * PROT_MAKEALL protokolliert Aufrufe von xxx::MakeAll.
+ * Die PROT_XY-Werte koennen oderiert werden.
+ * Default ist Null, es wird keine Methode aufgezeichnet.
+ * 2. In der SwImplProtocol-Klasse gibt es einen Filter fuer Frame-Typen,
+ * nur die Methodenaufrufe von Frame-Typen, die dort gesetzt sind, werden protokolliert.
+ * Der Member nTypes kann auf Werte wie FRM_PAGE, FRM_SECTION gesetzt und oderiert werden.
+ * Default ist 0xFFFF, d.h. alle Frame-Typen.
+ * 3. In der SwImplProtocol-Klasse gibt es einen ArrayPointer auf FrmIds, die zu ueberwachen sind.
+ * Ist der Pointer Null, so werden alle Frames protokolliert, ansonsten nur Frames,
+ * die in dem Array vermerkt sind.
*
* Eine Aufzeichnung in Gang zu setzen, erfordert entweder Codemanipulation, z.B. in
* SwProtocol::Init() einen anderen Default fuer nRecord setzen oder Debuggermanipulation.
* Im Debugger gibt verschiedene, sich anbietende Stellen:
- * 1. In SwProtocol::Init() einen Breakpoint setzen und dort nRecord manipulieren, ggf.
- * FrmIds eintragen, dann beginnt die Aufzeichnung bereits beim Programmstart.
- * 2. Waehrend des Programmlaufs einen Breakpoint vor irgendein PROTOCOL oder PROTOCOL_ENTER-
- * Makro setzen, dann am SwProtocol::nRecord das unterste Bit setzen (PROT_INIT). Dies
- * bewirkt, dass die Funktionsgruppe des folgenden Makros aktiviert und in Zukunft
- * protokolliert wird.
- * 3. Spezialfall von 2.: Wenn man 2. in der Methode SwRootFrm::Paint(..) anwendet, werden
- * die Aufzeichnungseinstellung aus der Datei "dbg_lay.ini" ausgelesen!
- * In dieser INI-Datei kann es Kommentarzeilen geben, diese beginnen mit '#', dann
- * sind die Sektionen "[frmid]", "[frmtype]" und "[record]" relevant.
- * Nach [frmid] koennen die FrameIds der zu protokollierenden Frames folgen. Gibt es
- * dort keine Eintraege, werden alle Frames aufgezeichnet.
- * Nach [frmtype] koennen FrameTypen folgen, die aufgezeichnet werden sollen, da der
- * Default hier allerdings USHRT_MAX ist, werden sowieso alle aufgezeichnet. Man kann
- * allerdings auch Typen entfernen, in dem man ein '!' vor den Wert setzt, z.B.
- * !0xC000 nimmt die SwCntntFrms aus der Aufzeichnung heraus.
- * Nach [record] folgen die Funktionsgruppen, die aufgezeichnet werden sollen, Default
- * ist hier 0, also keine. Auch hier kann man mit einem vorgestellten '!' Funktionen
- * wieder entfernen.
- * Hier mal ein Beispiel fuer eine INI-Datei:
- * ------------------------------------------
- * #Funktionen: Alle, ausser PRTAREA
- * [record] 0xFFFFFFE !0x200
- * [frmid]
- * #folgende FrmIds:
- * 1 2 12 13 14 15
- * #keine Layoutframes ausser ColumnFrms
- * [frmtype] !0x3FFF 0x4
- * ------------------------------------------
+ * 1. In SwProtocol::Init() einen Breakpoint setzen und dort nRecord manipulieren, ggf.
+ * FrmIds eintragen, dann beginnt die Aufzeichnung bereits beim Programmstart.
+ * 2. Waehrend des Programmlaufs einen Breakpoint vor irgendein PROTOCOL oder PROTOCOL_ENTER-
+ * Makro setzen, dann am SwProtocol::nRecord das unterste Bit setzen (PROT_INIT). Dies
+ * bewirkt, dass die Funktionsgruppe des folgenden Makros aktiviert und in Zukunft
+ * protokolliert wird.
+ * 3. Spezialfall von 2.: Wenn man 2. in der Methode SwRootFrm::Paint(..) anwendet, werden
+ * die Aufzeichnungseinstellung aus der Datei "dbg_lay.ini" ausgelesen!
+ * In dieser INI-Datei kann es Kommentarzeilen geben, diese beginnen mit '#', dann
+ * sind die Sektionen "[frmid]", "[frmtype]" und "[record]" relevant.
+ * Nach [frmid] koennen die FrameIds der zu protokollierenden Frames folgen. Gibt es
+ * dort keine Eintraege, werden alle Frames aufgezeichnet.
+ * Nach [frmtype] koennen FrameTypen folgen, die aufgezeichnet werden sollen, da der
+ * Default hier allerdings USHRT_MAX ist, werden sowieso alle aufgezeichnet. Man kann
+ * allerdings auch Typen entfernen, in dem man ein '!' vor den Wert setzt, z.B.
+ * !0xC000 nimmt die SwCntntFrms aus der Aufzeichnung heraus.
+ * Nach [record] folgen die Funktionsgruppen, die aufgezeichnet werden sollen, Default
+ * ist hier 0, also keine. Auch hier kann man mit einem vorgestellten '!' Funktionen
+ * wieder entfernen.
+ * Hier mal ein Beispiel fuer eine INI-Datei:
+ * ------------------------------------------
+ * #Funktionen: Alle, ausser PRTAREA
+ * [record] 0xFFFFFFE !0x200
+ * [frmid]
+ * #folgende FrmIds:
+ * 1 2 12 13 14 15
+ * #keine Layoutframes ausser ColumnFrms
+ * [frmtype] !0x3FFF 0x4
+ * ------------------------------------------
*
* Wenn die Aufzeichnung erstmal laeuft, kann man in SwImplProtocol::_Record(...) mittels
* Debugger vielfaeltige Manipulationen vornehmen, z.B. bezueglich FrameTypen oder FrmIds.
@@ -149,15 +149,15 @@ ULONG lcl_GetFrameId( const SwFrm* pFrm )
class SwImplProtocol
{
- SvFileStream *pStream; // Ausgabestream
- SvUShortsSort *pFrmIds; // welche FrmIds sollen aufgezeichnet werden ( NULL == alle )
+ SvFileStream *pStream; // Ausgabestream
+ SvUShortsSort *pFrmIds; // welche FrmIds sollen aufgezeichnet werden ( NULL == alle )
SvLongs *pVar; // Variables
ByteString aLayer; // Einrueckung der Ausgabe (" " pro Start/End)
- USHORT nTypes; // welche Typen sollen aufgezeichnet werden
- USHORT nLineCount; // Ausgegebene Zeilen
- USHORT nMaxLines; // Maximal auszugebende Zeilen
- BYTE nInitFile; // Bereich (FrmId,FrmType,Record) beim Einlesen der INI-Datei
- BYTE nTestMode; // Special fuer Testformatierung, es wird ggf. nur
+ USHORT nTypes; // welche Typen sollen aufgezeichnet werden
+ USHORT nLineCount; // Ausgegebene Zeilen
+ USHORT nMaxLines; // Maximal auszugebende Zeilen
+ BYTE nInitFile; // Bereich (FrmId,FrmType,Record) beim Einlesen der INI-Datei
+ BYTE nTestMode; // Special fuer Testformatierung, es wird ggf. nur
// innerhalb einer Testformatierung aufgezeichnet.
void _Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, void* pParam );
BOOL NewStream();
@@ -169,9 +169,9 @@ public:
// Aufzeichnen
void Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, void* pParam )
{ if( pStream ) _Record( pFrm, nFunction, nAct, pParam ); }
- BOOL InsertFrm( USHORT nFrmId ); // FrmId aufnehmen zum Aufzeichnen
- BOOL DeleteFrm( USHORT nFrmId ); // FrmId entfernen, diesen nicht mehr Aufzeichnen
- void FileInit(); // Auslesen der INI-Datei
+ BOOL InsertFrm( USHORT nFrmId ); // FrmId aufnehmen zum Aufzeichnen
+ BOOL DeleteFrm( USHORT nFrmId ); // FrmId entfernen, diesen nicht mehr Aufzeichnen
+ void FileInit(); // Auslesen der INI-Datei
void ChkStream() { if( !pStream ) NewStream(); }
void SnapShot( const SwFrm* pFrm, ULONG nFlags );
void GetVar( const USHORT nNo, long& rVar )
@@ -196,14 +196,14 @@ public:
class SwImplEnterLeave
{
protected:
- const SwFrm* pFrm; // Der Frame,
- ULONG nFunction, nAction; // die Funktion, ggf. die Aktion
- void* pParam; // und weitere Parameter
+ const SwFrm* pFrm; // Der Frame,
+ ULONG nFunction, nAction; // die Funktion, ggf. die Aktion
+ void* pParam; // und weitere Parameter
public:
SwImplEnterLeave( const SwFrm* pF, ULONG nFunct, ULONG nAct, void* pPar )
: pFrm( pF ), nFunction( nFunct ), nAction( nAct ), pParam( pPar ) {}
- virtual void Enter(); // Ausgabe beim Eintritt
- virtual void Leave(); // Ausgabe beim Verlassen
+ virtual void Enter(); // Ausgabe beim Eintritt
+ virtual void Leave(); // Ausgabe beim Verlassen
};
class SwSizeEnterLeave : public SwImplEnterLeave
@@ -212,7 +212,7 @@ class SwSizeEnterLeave : public SwImplEnterLeave
public:
SwSizeEnterLeave( const SwFrm* pF, ULONG nFunct, ULONG nAct, void* pPar )
: SwImplEnterLeave( pF, nFunct, nAct, pPar ), nFrmHeight( pF->Frm().Height() ) {}
- virtual void Leave(); // Ausgabe der Groessenaenderung
+ virtual void Leave(); // Ausgabe der Groessenaenderung
};
class SwUpperEnterLeave : public SwImplEnterLeave
@@ -221,8 +221,8 @@ class SwUpperEnterLeave : public SwImplEnterLeave
public:
SwUpperEnterLeave( const SwFrm* pF, ULONG nFunct, ULONG nAct, void* pPar )
: SwImplEnterLeave( pF, nFunct, nAct, pPar ), nFrmId( 0 ) {}
- virtual void Enter(); // Ausgabe
- virtual void Leave(); // Ausgabe der FrmId des Uppers
+ virtual void Enter(); // Ausgabe
+ virtual void Leave(); // Ausgabe der FrmId des Uppers
};
class SwFrmChangesLeave : public SwImplEnterLeave
@@ -231,29 +231,29 @@ class SwFrmChangesLeave : public SwImplEnterLeave
public:
SwFrmChangesLeave( const SwFrm* pF, ULONG nFunct, ULONG nAct, void* pPar )
: SwImplEnterLeave( pF, nFunct, nAct, pPar ), aFrm( pF->Frm() ) {}
- virtual void Enter(); // keine Ausgabe
- virtual void Leave(); // Ausgabe bei Aenderung der Frm-Area
+ virtual void Enter(); // keine Ausgabe
+ virtual void Leave(); // Ausgabe bei Aenderung der Frm-Area
};
void SwProtocol::Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, void* pParam )
{
if( Start() )
- { // Hier landen wir, wenn im Debugger SwProtocol::nRecord mit PROT_INIT(0x1) oderiert wurde
+ { // Hier landen wir, wenn im Debugger SwProtocol::nRecord mit PROT_INIT(0x1) oderiert wurde
BOOL bFinit = FALSE; // Dies bietet im Debugger die Moeglichkeit,
- if( bFinit ) // die Aufzeichnung dieser Action zu beenden
+ if( bFinit ) // die Aufzeichnung dieser Action zu beenden
{
- nRecord &= ~nFunction; // Diese Funktion nicht mehr aufzeichnen
- nRecord &= ~PROT_INIT; // PROT_INIT stets zuruecksetzen
+ nRecord &= ~nFunction; // Diese Funktion nicht mehr aufzeichnen
+ nRecord &= ~PROT_INIT; // PROT_INIT stets zuruecksetzen
return;
}
- nRecord |= nFunction; // Aufzeichnung dieser Funktion freischalten
- nRecord &= ~PROT_INIT; // PROT_INIT stets zuruecksetzen
+ nRecord |= nFunction; // Aufzeichnung dieser Funktion freischalten
+ nRecord &= ~PROT_INIT; // PROT_INIT stets zuruecksetzen
if( pImpl )
pImpl->ChkStream();
}
- if( !pImpl ) // Impl-Object anlegen, wenn noetig
+ if( !pImpl ) // Impl-Object anlegen, wenn noetig
pImpl = new SwImplProtocol();
- pImpl->Record( pFrm, nFunction, nAct, pParam ); // ...und Aufzeichnen
+ pImpl->Record( pFrm, nFunction, nAct, pParam ); // ...und Aufzeichnen
}
// Die folgende Funktion wird beim Anziehen der Writer-DLL durch TxtInit(..) aufgerufen
@@ -339,13 +339,13 @@ void SwImplProtocol::CheckLine( ByteString& rLine )
{
rLine = rLine.ToLowerAscii(); // Gross/Kleinschreibung ist einerlei
while( STRING_LEN > rLine.SearchAndReplace( '\t', ' ' ) )
- ; //nothing // Tabs werden durch Blanks ersetzt
- if( '#' == rLine.GetChar(0) ) // Kommentarzeilen beginnen mit '#'
+ ; //nothing // Tabs werden durch Blanks ersetzt
+ if( '#' == rLine.GetChar(0) ) // Kommentarzeilen beginnen mit '#'
return;
- if( '[' == rLine.GetChar(0) ) // Bereiche: FrmIds, Typen oder Funktionen
+ if( '[' == rLine.GetChar(0) ) // Bereiche: FrmIds, Typen oder Funktionen
{
ByteString aTmp = rLine.GetToken( 0, ']' );
- if( "[frmid" == aTmp ) // Bereich FrmIds
+ if( "[frmid" == aTmp ) // Bereich FrmIds
{
nInitFile = 1;
delete pFrmIds;
@@ -354,7 +354,7 @@ void SwImplProtocol::CheckLine( ByteString& rLine )
else if( "[frmtype" == aTmp )// Bereich Typen
{
nInitFile = 2;
- nTypes = USHRT_MAX; // Default: Alle FrmaeTypen aufzeichnen
+ nTypes = USHRT_MAX; // Default: Alle FrmaeTypen aufzeichnen
}
else if( "[record" == aTmp )// Bereich Funktionen
{
@@ -378,17 +378,17 @@ void SwImplProtocol::CheckLine( ByteString& rLine )
pVar = new SvLongs( 5, 5 );
}
else
- nInitFile = 0; // Nanu: Unbekannter Bereich?
+ nInitFile = 0; // Nanu: Unbekannter Bereich?
rLine.Erase( 0, aTmp.Len() + 1 );
}
- USHORT nToks = rLine.GetTokenCount( ' ' ); // Blanks (oder Tabs) sind die Trenner
+ USHORT nToks = rLine.GetTokenCount( ' ' ); // Blanks (oder Tabs) sind die Trenner
for( USHORT i=0; i < nToks; ++i )
{
ByteString aTok = rLine.GetToken( i, ' ' );
BOOL bNo = FALSE;
if( '!' == aTok.GetChar(0) )
{
- bNo = TRUE; // Diese(n) Funktion/Typ entfernen
+ bNo = TRUE; // Diese(n) Funktion/Typ entfernen
aTok.Erase( 0, 1 );
}
if( aTok.Len() )
@@ -397,31 +397,31 @@ void SwImplProtocol::CheckLine( ByteString& rLine )
sscanf( aTok.GetBuffer(), "%li", &nVal );
switch ( nInitFile )
{
- case 1: InsertFrm( USHORT( nVal ) ); // FrmId aufnehmen
+ case 1: InsertFrm( USHORT( nVal ) ); // FrmId aufnehmen
break;
case 2: {
USHORT nNew = (USHORT)nVal;
if( bNo )
- nTypes &= ~nNew; // Typ entfernen
+ nTypes &= ~nNew; // Typ entfernen
else
- nTypes |= nNew; // Typ aufnehmen
+ nTypes |= nNew; // Typ aufnehmen
}
break;
case 3: {
ULONG nOld = SwProtocol::Record();
if( bNo )
- nOld &= ~nVal; // Funktion entfernen
+ nOld &= ~nVal; // Funktion entfernen
else
- nOld |= nVal; // Funktion aufnehmen
+ nOld |= nVal; // Funktion aufnehmen
SwProtocol::SetRecord( nOld );
}
break;
case 4: {
BYTE nNew = (BYTE)nVal;
if( bNo )
- nTestMode &= ~nNew; // TestMode zuruecksetzen
+ nTestMode &= ~nNew; // TestMode zuruecksetzen
else
- nTestMode |= nNew; // TestMode setzen
+ nTestMode |= nNew; // TestMode setzen
}
break;
case 5: nMaxLines = (USHORT)nVal;
@@ -449,19 +449,19 @@ void SwImplProtocol::FileInit()
{
sal_Char c;
aStream >> c;
- if( '\n' == c || '\r' == c ) // Zeilenende
+ if( '\n' == c || '\r' == c ) // Zeilenende
{
aLine.EraseLeadingChars();
aLine.EraseTrailingChars();
if( aLine.Len() )
- CheckLine( aLine ); // Zeile auswerten
+ CheckLine( aLine ); // Zeile auswerten
aLine.Erase();
}
else
aLine += c;
}
if( aLine.Len() )
- CheckLine( aLine ); // letzte Zeile auswerten
+ CheckLine( aLine ); // letzte Zeile auswerten
}
aStream.Close();
}
@@ -562,7 +562,7 @@ void lcl_FrameType( ByteString& rOut, const SwFrm* pFrm )
void SwImplProtocol::_Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, void* pParam )
{
USHORT nSpecial = 0;
- if( nSpecial ) // Debugger-Manipulationsmoeglichkeit
+ if( nSpecial ) // Debugger-Manipulationsmoeglichkeit
{
USHORT nId = USHORT(lcl_GetFrameId( pFrm ));
switch ( nSpecial )
@@ -589,12 +589,12 @@ void SwImplProtocol::_Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, vo
ByteString aOut = aLayer;
aOut += ByteString::CreateFromInt64( lcl_GetFrameId( pFrm ) );
aOut += ' ';
- lcl_FrameType( aOut, pFrm ); // dann den FrameType
- switch ( nFunction ) // und die Funktion
+ lcl_FrameType( aOut, pFrm ); // dann den FrameType
+ switch ( nFunction ) // und die Funktion
{
case PROT_SNAPSHOT: lcl_Flags( aOut, pFrm );
break;
- case PROT_MAKEALL: aOut += "MakeAll";
+ case PROT_MAKEALL: aOut += "MakeAll";
lcl_Start( aOut, aLayer, nAct );
if( nAct == ACT_START )
lcl_Flags( aOut, pFrm );
@@ -618,7 +618,7 @@ void SwImplProtocol::_Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, vo
break;
case PROT_ADJUSTN :
case PROT_SHRINK: bTmp = TRUE; // NoBreak
- case PROT_GROW: aOut += !bTmp ? "Grow" :
+ case PROT_GROW: aOut += !bTmp ? "Grow" :
( nFunction == PROT_SHRINK ? "Shrink" : "AdjustNgbhd" );
lcl_Start( aOut, aLayer, nAct );
if( pParam )
@@ -627,16 +627,16 @@ void SwImplProtocol::_Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, vo
aOut += ByteString::CreateFromInt64( *((long*)pParam) );
}
break;
- case PROT_POS: break;
- case PROT_PRTAREA: aOut += "PrtArea";
+ case PROT_POS: break;
+ case PROT_PRTAREA: aOut += "PrtArea";
lcl_Start( aOut, aLayer, nAct );
break;
- case PROT_SIZE: aOut += "Size";
+ case PROT_SIZE: aOut += "Size";
lcl_Start( aOut, aLayer, nAct );
aOut += ' ';
aOut += ByteString::CreateFromInt64( pFrm->Frm().Height() );
break;
- case PROT_LEAF: aOut += "Prev/NextLeaf";
+ case PROT_LEAF: aOut += "Prev/NextLeaf";
lcl_Start( aOut, aLayer, nAct );
aOut += ' ';
if( pParam )
@@ -650,8 +650,8 @@ void SwImplProtocol::_Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, vo
break;
case PROT_SECTION: SectFunc( aOut, pFrm, nAct, pParam );
break;
- case PROT_CUT: bTmp = TRUE; // NoBreak
- case PROT_PASTE: aOut += bTmp ? "Cut from " : "Paste to ";
+ case PROT_CUT: bTmp = TRUE; // NoBreak
+ case PROT_PASTE: aOut += bTmp ? "Cut from " : "Paste to ";
aOut += ByteString::CreateFromInt64( lcl_GetFrameId( (SwFrm*)pParam ) );
break;
case PROT_TESTFORMAT: aOut += "Test";
@@ -695,8 +695,8 @@ void SwImplProtocol::_Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, vo
break;
}
}
- *pStream << aOut.GetBuffer() << endl; // Ausgabe
- pStream->Flush(); // Gleich auf die Platte, damit man mitlesen kann
+ *pStream << aOut.GetBuffer() << endl; // Ausgabe
+ pStream->Flush(); // Gleich auf die Platte, damit man mitlesen kann
if( ++nLineCount >= nMaxLines ) // Maximale Ausgabe erreicht?
SwProtocol::SetRecord( 0 ); // => Ende der Aufzeichnung
}
@@ -711,7 +711,7 @@ void SwImplProtocol::SectFunc( ByteString &rOut, const SwFrm* , ULONG nAct, void
BOOL bTmp = FALSE;
switch( nAct )
{
- case ACT_MERGE: rOut += "Merge Section ";
+ case ACT_MERGE: rOut += "Merge Section ";
rOut += ByteString::CreateFromInt64( lcl_GetFrameId( (SwFrm*)pParam ) );
break;
case ACT_CREATE_MASTER: bTmp = TRUE; // NoBreak
@@ -719,8 +719,8 @@ void SwImplProtocol::SectFunc( ByteString &rOut, const SwFrm* , ULONG nAct, void
rOut += bTmp ? "Master to " : "Follow from ";
rOut += ByteString::CreateFromInt64( lcl_GetFrameId( (SwFrm*)pParam ) );
break;
- case ACT_DEL_MASTER: bTmp = TRUE; // NoBreak
- case ACT_DEL_FOLLOW: rOut += "Delete Section ";
+ case ACT_DEL_MASTER: bTmp = TRUE; // NoBreak
+ case ACT_DEL_FOLLOW: rOut += "Delete Section ";
rOut += bTmp ? "Master to " : "Follow from ";
rOut += ByteString::CreateFromInt64( lcl_GetFrameId( (SwFrm*)pParam ) );
break;
diff --git a/sw/source/core/layout/findfrm.cxx b/sw/source/core/layout/findfrm.cxx
index 9944ccce1a4b..34a715952cbe 100644
--- a/sw/source/core/layout/findfrm.cxx
+++ b/sw/source/core/layout/findfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -53,12 +53,12 @@
/*************************************************************************
|*
-|* FindBodyCont, FindLastBodyCntnt()
+|* FindBodyCont, FindLastBodyCntnt()
|*
-|* Beschreibung Sucht den ersten/letzten CntntFrm im BodyText unterhalb
-|* der Seite.
-|* Ersterstellung MA 15. Feb. 93
-|* Letzte Aenderung MA 18. Apr. 94
+|* Beschreibung Sucht den ersten/letzten CntntFrm im BodyText unterhalb
+|* der Seite.
+|* Ersterstellung MA 15. Feb. 93
+|* Letzte Aenderung MA 18. Apr. 94
|*
|*************************************************************************/
SwLayoutFrm *SwFtnBossFrm::FindBodyCont()
@@ -74,7 +74,7 @@ SwCntntFrm *SwPageFrm::FindLastBodyCntnt()
SwCntntFrm *pRet = FindFirstBodyCntnt();
SwCntntFrm *pNxt = pRet;
while ( pNxt && pNxt->IsInDocBody() && IsAnLower( pNxt ) )
- { pRet = pNxt;
+ { pRet = pNxt;
pNxt = pNxt->FindNextCnt();
}
return pRet;
@@ -82,14 +82,14 @@ SwCntntFrm *SwPageFrm::FindLastBodyCntnt()
/*************************************************************************
|*
-|* SwLayoutFrm::ContainsCntnt
+|* SwLayoutFrm::ContainsCntnt
|*
-|* Beschreibung Prueft, ob der Frame irgendwo in seiner
-|* untergeordneten Struktur einen oder mehrere CntntFrm's enthaelt;
-|* Falls ja wird der erste gefundene CntntFrm zurueckgegeben.
+|* Beschreibung Prueft, ob der Frame irgendwo in seiner
+|* untergeordneten Struktur einen oder mehrere CntntFrm's enthaelt;
+|* Falls ja wird der erste gefundene CntntFrm zurueckgegeben.
|*
-|* Ersterstellung MA 13. May. 92
-|* Letzte Aenderung MA 20. Apr. 94
+|* Ersterstellung MA 13. May. 92
+|* Letzte Aenderung MA 20. Apr. 94
|*
|*************************************************************************/
@@ -137,14 +137,14 @@ const SwCntntFrm *SwLayoutFrm::ContainsCntnt() const
/*************************************************************************
|*
-|* SwLayoutFrm::FirstCell
+|* SwLayoutFrm::FirstCell
|*
-|* Beschreibung ruft zunaechst ContainsAny auf, um in die innerste Zelle
-|* hineinzukommen. Dort hangelt es sich wieder hoch zum
-|* ersten SwCellFrm, seit es SectionFrms gibt, reicht kein
-|* ContainsCntnt()->GetUpper() mehr...
-|* Ersterstellung AMA 17. Mar. 99
-|* Letzte Aenderung AMA 17. Mar. 99
+|* Beschreibung ruft zunaechst ContainsAny auf, um in die innerste Zelle
+|* hineinzukommen. Dort hangelt es sich wieder hoch zum
+|* ersten SwCellFrm, seit es SectionFrms gibt, reicht kein
+|* ContainsCntnt()->GetUpper() mehr...
+|* Ersterstellung AMA 17. Mar. 99
+|* Letzte Aenderung AMA 17. Mar. 99
|*
|*************************************************************************/
@@ -158,12 +158,12 @@ const SwCellFrm *SwLayoutFrm::FirstCell() const
/*************************************************************************
|*
-|* SwLayoutFrm::ContainsAny
+|* SwLayoutFrm::ContainsAny
|*
-|* Beschreibung wie ContainsCntnt, nur dass nicht nur CntntFrms, sondern auch
-|* Bereiche und Tabellen zurueckgegeben werden.
-|* Ersterstellung AMA 10. Mar. 99
-|* Letzte Aenderung AMA 10. Mar. 99
+|* Beschreibung wie ContainsCntnt, nur dass nicht nur CntntFrms, sondern auch
+|* Bereiche und Tabellen zurueckgegeben werden.
+|* Ersterstellung AMA 10. Mar. 99
+|* Letzte Aenderung AMA 10. Mar. 99
|*
|*************************************************************************/
@@ -215,10 +215,10 @@ const SwFrm *SwLayoutFrm::ContainsAny( const bool _bInvestigateFtnForSections )
/*************************************************************************
|*
-|* SwFrm::GetLower()
+|* SwFrm::GetLower()
|*
-|* Ersterstellung MA 27. Jul. 92
-|* Letzte Aenderung MA 09. Oct. 97
+|* Ersterstellung MA 27. Jul. 92
+|* Letzte Aenderung MA 09. Oct. 97
|*
|*************************************************************************/
const SwFrm* SwFrm::GetLower() const
@@ -233,10 +233,10 @@ SwFrm* SwFrm::GetLower()
/*************************************************************************
|*
-|* SwLayoutFrm::IsAnLower()
+|* SwLayoutFrm::IsAnLower()
|*
-|* Ersterstellung MA 18. Mar. 93
-|* Letzte Aenderung MA 18. Mar. 93
+|* Ersterstellung MA 18. Mar. 93
+|* Letzte Aenderung MA 18. Mar. 93
|*
|*************************************************************************/
BOOL SwLayoutFrm::IsAnLower( const SwFrm *pAssumed ) const
@@ -462,11 +462,11 @@ const SwCntntFrm* SwCntntFrm::ImplGetNextCntntFrm( bool bFwd ) const
/*************************************************************************
|*
-|* SwFrm::FindRootFrm(), FindTabFrm(), FindFtnFrm(), FindFlyFrm(),
-|* FindPageFrm(), FindColFrm()
+|* SwFrm::FindRootFrm(), FindTabFrm(), FindFtnFrm(), FindFlyFrm(),
+|* FindPageFrm(), FindColFrm()
|*
-|* Ersterstellung ??
-|* Letzte Aenderung MA 05. Sep. 93
+|* Ersterstellung ??
+|* Letzte Aenderung MA 05. Sep. 93
|*
|*************************************************************************/
SwRootFrm* SwFrm::FindRootFrm()
@@ -592,7 +592,7 @@ SwFrm *SwFrm::FindColFrm()
{
SwFrm *pFrm = this;
do
- { pFrm = pFrm->GetUpper();
+ { pFrm = pFrm->GetUpper();
} while ( pFrm && !pFrm->IsColumnFrm() );
return pFrm;
}
@@ -601,7 +601,7 @@ SwRowFrm *SwFrm::FindRowFrm()
{
SwFrm *pFrm = this;
do
- { pFrm = pFrm->GetUpper();
+ { pFrm = pFrm->GetUpper();
} while ( pFrm && !pFrm->IsRowFrm() );
return dynamic_cast< SwRowFrm* >( pFrm );
}
@@ -610,7 +610,7 @@ SwFrm* SwFrm::FindFooterOrHeader()
{
SwFrm* pRet = this;
do
- { if ( pRet->GetType() & 0x0018 ) //Header und Footer
+ { if ( pRet->GetType() & 0x0018 ) //Header und Footer
return pRet;
else if ( pRet->GetUpper() )
pRet = pRet->GetUpper();
@@ -674,10 +674,10 @@ const SwPageFrm* SwRootFrm::GetPageAtPos( const Point& rPt, const Size* pSize, b
/*************************************************************************
|*
-|* SwFrmFrm::GetAttrSet()
+|* SwFrmFrm::GetAttrSet()
|*
-|* Ersterstellung MA 02. Aug. 93
-|* Letzte Aenderung MA 02. Aug. 93
+|* Ersterstellung MA 02. Aug. 93
+|* Letzte Aenderung MA 02. Aug. 93
|*
|*************************************************************************/
const SwAttrSet* SwFrm::GetAttrSet() const
@@ -690,24 +690,24 @@ const SwAttrSet* SwFrm::GetAttrSet() const
/*************************************************************************
|*
-|* SwFrm::_FindNext(), _FindPrev(), InvalidateNextPos()
-|* _FindNextCnt() geht in Tabellen und Bereiche hineinund liefert
+|* SwFrm::_FindNext(), _FindPrev(), InvalidateNextPos()
+|* _FindNextCnt() geht in Tabellen und Bereiche hineinund liefert
|* nur SwCntntFrms.
|*
-|* Beschreibung Invalidiert die Position des Naechsten Frames.
-|* Dies ist der direkte Nachfolger, oder bei CntntFrm's der naechste
-|* CntntFrm der im gleichen Fluss liegt wie ich:
-|* - Body,
-|* - Fussnoten,
-|* - Bei Kopf-/Fussbereichen ist die Benachrichtigung nur innerhalb des
-|* Bereiches weiterzuleiten.
-|* - dito fuer Flys.
-|* - Cntnts in Tabs halten sich ausschliesslich innerhalb ihrer Zelle
-|* auf.
-|* - Tabellen verhalten sich prinzipiell analog zu den Cntnts
-|* - Bereiche ebenfalls
-|* Ersterstellung AK 14-Feb-1991
-|* Letzte Aenderung AMA 10. Mar. 99
+|* Beschreibung Invalidiert die Position des Naechsten Frames.
+|* Dies ist der direkte Nachfolger, oder bei CntntFrm's der naechste
+|* CntntFrm der im gleichen Fluss liegt wie ich:
+|* - Body,
+|* - Fussnoten,
+|* - Bei Kopf-/Fussbereichen ist die Benachrichtigung nur innerhalb des
+|* Bereiches weiterzuleiten.
+|* - dito fuer Flys.
+|* - Cntnts in Tabs halten sich ausschliesslich innerhalb ihrer Zelle
+|* auf.
+|* - Tabellen verhalten sich prinzipiell analog zu den Cntnts
+|* - Bereiche ebenfalls
+|* Ersterstellung AK 14-Feb-1991
+|* Letzte Aenderung AMA 10. Mar. 99
|*
|*************************************************************************/
@@ -843,7 +843,7 @@ SwFrm *SwFrm::_FindNext()
pRet = pNxtCnt->IsInTab() ? pNxtCnt->FindTabFrm()
: (SwFrm*)pNxtCnt;
}
- else //Fuss-/oder Kopfbereich
+ else //Fuss-/oder Kopfbereich
{
const SwFrm *pUp = pThis->GetUpper();
const SwFrm *pCntUp = pNxtCnt->GetUpper();
@@ -920,7 +920,7 @@ SwCntntFrm *SwFrm::_FindNextCnt( const bool _bInSameFtn )
while ( pNxtCnt )
{
if ( (bBody && pNxtCnt->IsInDocBody()) ||
- (bFtn && pNxtCnt->IsInFtn()) )
+ (bFtn && pNxtCnt->IsInFtn()) )
return pNxtCnt;
pNxtCnt = pNxtCnt->GetNextCntntFrm();
}
@@ -1171,7 +1171,7 @@ SwFrm *SwFrm::_FindPrev()
while ( pPrvCnt )
{
if ( (bBody && pPrvCnt->IsInDocBody()) ||
- (bFtn && pPrvCnt->IsInFtn()) )
+ (bFtn && pPrvCnt->IsInFtn()) )
{
pRet = pPrvCnt->IsInTab() ? pPrvCnt->FindTabFrm()
: (SwFrm*)pPrvCnt;
@@ -1186,7 +1186,7 @@ SwFrm *SwFrm::_FindPrev()
: (SwFrm*)pPrvCnt;
return pRet;
}
- else //Fuss-/oder Kopfbereich oder Fly
+ else //Fuss-/oder Kopfbereich oder Fly
{
const SwFrm *pUp = pThis->GetUpper();
const SwFrm *pCntUp = pPrvCnt->GetUpper();
@@ -1304,9 +1304,9 @@ void SwFrm::InvalidateNextPrtArea()
/*************************************************************************
|*
-|* lcl_IsInColSect()
-|* liefert nur TRUE, wenn der Frame _direkt_ in einem spaltigen Bereich steht,
-|* nicht etwa, wenn er in einer Tabelle steht, die in einem spaltigen Bereich ist.
+|* lcl_IsInColSect()
+|* liefert nur TRUE, wenn der Frame _direkt_ in einem spaltigen Bereich steht,
+|* nicht etwa, wenn er in einer Tabelle steht, die in einem spaltigen Bereich ist.
|*
|*************************************************************************/
@@ -1328,10 +1328,10 @@ BOOL lcl_IsInColSct( const SwFrm *pUp )
/*************************************************************************
|*
-|* SwFrm::IsMoveable();
+|* SwFrm::IsMoveable();
|*
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 05. May. 95
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 05. May. 95
|*
|*************************************************************************/
/** determine, if frame is moveable in given environment
@@ -1409,16 +1409,16 @@ bool SwFrm::IsMoveable( const SwLayoutFrm* _pLayoutFrm ) const
/*************************************************************************
|*
-|* SwFrm::SetInfFlags();
+|* SwFrm::SetInfFlags();
|*
-|* Ersterstellung MA 05. Apr. 94
-|* Letzte Aenderung MA 05. Apr. 94
+|* Ersterstellung MA 05. Apr. 94
+|* Letzte Aenderung MA 05. Apr. 94
|*
|*************************************************************************/
void SwFrm::SetInfFlags()
{
if ( !IsFlyFrm() && !GetUpper() ) //noch nicht gepastet, keine Informationen
- return; //lieferbar
+ return; //lieferbar
bInfInvalid = bInfBody = bInfTab = bInfFly = bInfFtn = bInfSct = FALSE;
@@ -1689,7 +1689,7 @@ const SwCellFrm& SwCellFrm::FindStartEndOfRowSpanCell( bool bStart, bool bCurren
if ( bStart )
{
// do not enter a repeated headline:
- if ( bDoNotEnterHeadline && pTableFrm->IsFollow() &&
+ if ( bDoNotEnterHeadline && pTableFrm->IsFollow() &&
pTableFrm->IsInHeadline( *pCurrentRow->GetPrev() ) )
break;
diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx
index 89c7a26d7e5f..aefff7ebe3f6 100644
--- a/sw/source/core/layout/flowfrm.cxx
+++ b/sw/source/core/layout/flowfrm.cxx
@@ -77,10 +77,10 @@ BOOL SwFlowFrm::bMoveBwdJump = FALSE;
/*************************************************************************
|*
-|* SwFlowFrm::SwFlowFrm()
+|* SwFlowFrm::SwFlowFrm()
|*
-|* Ersterstellung MA 26. Apr. 95
-|* Letzte Aenderung MA 26. Apr. 95
+|* Ersterstellung MA 26. Apr. 95
+|* Letzte Aenderung MA 26. Apr. 95
|*
|*************************************************************************/
@@ -115,10 +115,10 @@ sal_Bool SwFlowFrm::HasLockedFollow() const
/*************************************************************************
|*
-|* SwFlowFrm::IsKeepFwdMoveAllowed()
+|* SwFlowFrm::IsKeepFwdMoveAllowed()
|*
-|* Ersterstellung MA 20. Jul. 94
-|* Letzte Aenderung MA 16. May. 95
+|* Ersterstellung MA 20. Jul. 94
+|* Letzte Aenderung MA 16. May. 95
|*
|*************************************************************************/
@@ -131,7 +131,7 @@ BOOL SwFlowFrm::IsKeepFwdMoveAllowed()
SwFrm *pFrm = &rThis;
if ( !pFrm->IsInFtn() )
do
- { if ( pFrm->GetAttrSet()->GetKeep().GetValue() )
+ { if ( pFrm->GetAttrSet()->GetKeep().GetValue() )
pFrm = pFrm->GetIndPrev();
else
return TRUE;
@@ -146,11 +146,11 @@ BOOL SwFlowFrm::IsKeepFwdMoveAllowed()
/*************************************************************************
|*
-|* SwFlowFrm::CheckKeep()
+|* SwFlowFrm::CheckKeep()
|*
-|* Beschreibung
-|* Ersterstellung MA 20. Jun. 95
-|* Letzte Aenderung MA 09. Apr. 97
+|* Beschreibung
+|* Ersterstellung MA 20. Jun. 95
+|* Letzte Aenderung MA 09. Apr. 97
|*
|*************************************************************************/
@@ -189,10 +189,10 @@ void SwFlowFrm::CheckKeep()
/*************************************************************************
|*
-|* SwFlowFrm::IsKeep()
+|* SwFlowFrm::IsKeep()
|*
-|* Ersterstellung MA 09. Apr. 97
-|* Letzte Aenderung MA 09. Apr. 97
+|* Ersterstellung MA 09. Apr. 97
+|* Letzte Aenderung MA 09. Apr. 97
|*
|*************************************************************************/
@@ -289,10 +289,10 @@ BOOL SwFlowFrm::IsKeep( const SwAttrSet& rAttrs, bool bCheckIfLastRowShouldKeep
/*************************************************************************
|*
-|* SwFlowFrm::BwdMoveNecessary()
+|* SwFlowFrm::BwdMoveNecessary()
|*
-|* Ersterstellung MA 20. Jul. 94
-|* Letzte Aenderung MA 02. May. 96
+|* Ersterstellung MA 20. Jul. 94
+|* Letzte Aenderung MA 02. May. 96
|*
|*************************************************************************/
@@ -405,13 +405,13 @@ BYTE SwFlowFrm::BwdMoveNecessary( const SwPageFrm *pPage, const SwRect &rRect )
/*************************************************************************
|*
-|* SwFlowFrm::CutTree(), PasteTree(), MoveSubTree()
+|* SwFlowFrm::CutTree(), PasteTree(), MoveSubTree()
|*
-|* Beschreibung Eine Spezialisierte Form des Cut() und Paste(), die
-|* eine ganze Kette umhaengt (naehmlich this und folgende). Dabei werden
-|* nur minimale Operationen und Benachrichtigungen ausgefuehrt.
-|* Ersterstellung MA 18. Mar. 93
-|* Letzte Aenderung MA 18. May. 95
+|* Beschreibung Eine Spezialisierte Form des Cut() und Paste(), die
+|* eine ganze Kette umhaengt (naehmlich this und folgende). Dabei werden
+|* nur minimale Operationen und Benachrichtigungen ausgefuehrt.
+|* Ersterstellung MA 18. Mar. 93
+|* Letzte Aenderung MA 18. May. 95
|*
|*************************************************************************/
@@ -549,7 +549,7 @@ BOOL SwFlowFrm::PasteTree( SwFrm *pStart, SwLayoutFrm *pParent, SwFrm *pSibling,
SWRECTFN( pParent )
SwTwips nGrowVal = 0;
do
- { pFloat->pUpper = pParent;
+ { pFloat->pUpper = pParent;
pFloat->_InvalidateAll();
pFloat->CheckDirChange();
@@ -558,7 +558,7 @@ BOOL SwFlowFrm::PasteTree( SwFrm *pStart, SwLayoutFrm *pParent, SwFrm *pSibling,
if ( pFloat->IsTxtFrm() )
{
if ( ((SwTxtFrm*)pFloat)->GetCacheIdx() != USHRT_MAX )
- ((SwTxtFrm*)pFloat)->Init(); //Ich bin sein Freund.
+ ((SwTxtFrm*)pFloat)->Init(); //Ich bin sein Freund.
}
else
bRet = TRUE;
@@ -625,7 +625,7 @@ void SwFlowFrm::MoveSubTree( SwLayoutFrm* pParent, SwFrm* pSibling )
pPre->InvalidatePage();
}
else
- { rThis.GetUpper()->SetCompletePaint();
+ { rThis.GetUpper()->SetCompletePaint();
rThis.GetUpper()->InvalidatePage();
}
}
@@ -685,10 +685,10 @@ void SwFlowFrm::MoveSubTree( SwLayoutFrm* pParent, SwFrm* pSibling )
/*************************************************************************
|*
-|* SwFlowFrm::IsAnFollow()
+|* SwFlowFrm::IsAnFollow()
|*
-|* Ersterstellung MA 26. Apr. 95
-|* Letzte Aenderung MA 26. Apr. 95
+|* Ersterstellung MA 26. Apr. 95
+|* Letzte Aenderung MA 26. Apr. 95
|*
|*************************************************************************/
@@ -697,7 +697,7 @@ BOOL SwFlowFrm::IsAnFollow( const SwFlowFrm *pAssumed ) const
{
const SwFlowFrm *pFoll = this;
do
- { if ( pAssumed == pFoll )
+ { if ( pAssumed == pFoll )
return TRUE;
pFoll = pFoll->GetFollow();
} while ( pFoll );
@@ -707,10 +707,10 @@ BOOL SwFlowFrm::IsAnFollow( const SwFlowFrm *pAssumed ) const
/*************************************************************************
|*
-|* SwFlowFrm::FindMaster()
+|* SwFlowFrm::FindMaster()
|*
-|* Ersterstellung MA 26. Apr. 95
-|* Letzte Aenderung MA 26. Apr. 95
+|* Ersterstellung MA 26. Apr. 95
+|* Letzte Aenderung MA 26. Apr. 95
|*
|*************************************************************************/
@@ -806,14 +806,14 @@ SwTabFrm* SwTabFrm::FindMaster( bool bFirstMaster ) const
/*************************************************************************
|*
-|* SwFrm::GetLeaf()
+|* SwFrm::GetLeaf()
|*
-|* Beschreibung Liefert das naechste/vorhergehende LayoutBlatt,
-|* das _nicht_ unterhalb von this liegt (oder gar this selbst ist).
-|* Ausserdem muss dieses LayoutBlatt im gleichen Textfluss wie
-|* pAnch Ausgangsfrm liegen (Body, Ftn)
-|* Ersterstellung MA 25. Nov. 92
-|* Letzte Aenderung MA 25. Apr. 95
+|* Beschreibung Liefert das naechste/vorhergehende LayoutBlatt,
+|* das _nicht_ unterhalb von this liegt (oder gar this selbst ist).
+|* Ausserdem muss dieses LayoutBlatt im gleichen Textfluss wie
+|* pAnch Ausgangsfrm liegen (Body, Ftn)
+|* Ersterstellung MA 25. Nov. 92
+|* Letzte Aenderung MA 25. Apr. 95
|*
|*************************************************************************/
@@ -829,13 +829,13 @@ const SwLayoutFrm *SwFrm::GetLeaf( MakePageType eMakePage, BOOL bFwd,
BOOL bFound = FALSE;
do
- { pLeaf = ((SwFrm*)pLeaf)->GetLeaf( eMakePage, bFwd );
+ { pLeaf = ((SwFrm*)pLeaf)->GetLeaf( eMakePage, bFwd );
if ( pLeaf &&
(!IsLayoutFrm() || !((SwLayoutFrm*)this)->IsAnLower( pLeaf )))
{
if ( pAnch->IsInDocBody() == pLeaf->IsInDocBody() &&
- pAnch->IsInFtn() == pLeaf->IsInFtn() )
+ pAnch->IsInFtn() == pLeaf->IsInFtn() )
{
bFound = TRUE;
}
@@ -847,12 +847,12 @@ const SwLayoutFrm *SwFrm::GetLeaf( MakePageType eMakePage, BOOL bFwd,
/*************************************************************************
|*
-|* SwFrm::GetLeaf()
+|* SwFrm::GetLeaf()
|*
-|* Beschreibung Ruft Get[Next|Prev]Leaf
+|* Beschreibung Ruft Get[Next|Prev]Leaf
|*
-|* Ersterstellung MA 20. Mar. 93
-|* Letzte Aenderung MA 25. Apr. 95
+|* Ersterstellung MA 20. Mar. 93
+|* Letzte Aenderung MA 25. Apr. 95
|*
|*************************************************************************/
@@ -971,13 +971,13 @@ BOOL SwFrm::WrongPageDesc( SwPageFrm* pNew )
/*************************************************************************
|*
-|* SwFrm::GetNextLeaf()
+|* SwFrm::GetNextLeaf()
|*
-|* Beschreibung Liefert das naechste LayoutBlatt in den das
-|* Frame gemoved werden kann.
+|* Beschreibung Liefert das naechste LayoutBlatt in den das
+|* Frame gemoved werden kann.
|*
-|* Ersterstellung MA 16. Nov. 92
-|* Letzte Aenderung MA 05. Dec. 96
+|* Ersterstellung MA 16. Nov. 92
+|* Letzte Aenderung MA 05. Dec. 96
|*
|*************************************************************************/
@@ -986,7 +986,7 @@ SwLayoutFrm *SwFrm::GetNextLeaf( MakePageType eMakePage )
OSL_ENSURE( !IsInFtn(), "GetNextLeaf(), don't call me for Ftn." );
OSL_ENSURE( !IsInSct(), "GetNextLeaf(), don't call me for Sections." );
- const BOOL bBody = IsInDocBody(); //Wenn ich aus dem DocBody komme
+ const BOOL bBody = IsInDocBody(); //Wenn ich aus dem DocBody komme
//Will ich auch im Body landen.
// Bei Flys macht es keinen Sinn, Seiten einzufuegen, wir wollen lediglich
@@ -1007,10 +1007,10 @@ SwLayoutFrm *SwFrm::GetNextLeaf( MakePageType eMakePage )
if ( !pLayLeaf )
pLayLeaf = GetNextLayoutLeaf();
- SwLayoutFrm *pOldLayLeaf = 0; //Damit bei neu erzeugten Seiten
+ SwLayoutFrm *pOldLayLeaf = 0; //Damit bei neu erzeugten Seiten
//nicht wieder vom Anfang gesucht
//wird.
- BOOL bNewPg = FALSE; //nur einmal eine neue Seite einfuegen.
+ BOOL bNewPg = FALSE; //nur einmal eine neue Seite einfuegen.
while ( TRUE )
{
@@ -1021,7 +1021,7 @@ SwLayoutFrm *SwFrm::GetNextLeaf( MakePageType eMakePage )
//Dazu braucht er nur von der gleichen Art wie mein Ausgangspunkt
//sein (DocBody bzw. Footnote.)
if ( pLayLeaf->FindPageFrm()->IsFtnPage() )
- { //Wenn ich bei den Endnotenseiten angelangt bin hat sichs.
+ { //Wenn ich bei den Endnotenseiten angelangt bin hat sichs.
pLayLeaf = 0;
continue;
}
@@ -1115,12 +1115,12 @@ SwLayoutFrm *SwFrm::GetNextLeaf( MakePageType eMakePage )
/*************************************************************************
|*
-|* SwFrm::GetPrevLeaf()
+|* SwFrm::GetPrevLeaf()
|*
-|* Beschreibung Liefert das vorhergehende LayoutBlatt in das der
-|* Frame gemoved werden kann.
-|* Ersterstellung MA 16. Nov. 92
-|* Letzte Aenderung MA 25. Apr. 95
+|* Beschreibung Liefert das vorhergehende LayoutBlatt in das der
+|* Frame gemoved werden kann.
+|* Ersterstellung MA 16. Nov. 92
+|* Letzte Aenderung MA 25. Apr. 95
|*
|*************************************************************************/
@@ -1129,7 +1129,7 @@ SwLayoutFrm *SwFrm::GetPrevLeaf( MakePageType )
{
OSL_ENSURE( !IsInFtn(), "GetPrevLeaf(), don't call me for Ftn." );
- const BOOL bBody = IsInDocBody(); //Wenn ich aus dem DocBody komme
+ const BOOL bBody = IsInDocBody(); //Wenn ich aus dem DocBody komme
//will ich auch im Body landen.
const BOOL bFly = IsInFly();
@@ -1138,8 +1138,8 @@ SwLayoutFrm *SwFrm::GetPrevLeaf( MakePageType )
while ( pLayLeaf )
{
- if ( pLayLeaf->IsInTab() || //In Tabellen geht's niemals hinein.
- pLayLeaf->IsInSct() ) //In Bereiche natuerlich auch nicht!
+ if ( pLayLeaf->IsInTab() || //In Tabellen geht's niemals hinein.
+ pLayLeaf->IsInSct() ) //In Bereiche natuerlich auch nicht!
pLayLeaf = pLayLeaf->GetPrevLayoutLeaf();
else if ( bBody && pLayLeaf->IsInDocBody() )
{
@@ -1151,7 +1151,7 @@ SwLayoutFrm *SwFrm::GetPrevLeaf( MakePageType )
SwFlowFrm::SetMoveBwdJump( TRUE );
}
else if ( bFly )
- break; //Cntnts in Flys sollte jedes Layout-Blatt recht sein.
+ break; //Cntnts in Flys sollte jedes Layout-Blatt recht sein.
else
pLayLeaf = pLayLeaf->GetPrevLayoutLeaf();
}
@@ -1160,10 +1160,10 @@ SwLayoutFrm *SwFrm::GetPrevLeaf( MakePageType )
/*************************************************************************
|*
-|* SwFlowFrm::IsPrevObjMove()
+|* SwFlowFrm::IsPrevObjMove()
|*
-|* Ersterstellung MA 20. Feb. 96
-|* Letzte Aenderung MA 22. Feb. 96
+|* Ersterstellung MA 20. Feb. 96
+|* Letzte Aenderung MA 22. Feb. 96
|*
|*************************************************************************/
@@ -1181,8 +1181,8 @@ BOOL SwFlowFrm::IsPrevObjMove() const
if ( pPre && pPre->GetDrawObjs() )
{
- OSL_ENSURE( SwFlowFrm::CastFlowFrm( pPre ), "new flowfrm?" );
- if( SwFlowFrm::CastFlowFrm( pPre )->IsAnFollow( this ) )
+ OSL_ENSURE( SwFlowFrm::CastFlowFrm( pPre ), "new flowfrm?" );
+ if( SwFlowFrm::CastFlowFrm( pPre )->IsAnFollow( this ) )
return FALSE;
SwLayoutFrm* pPreUp = pPre->GetUpper();
// Wenn der Upper ein SectionFrm oder die Spalte eines SectionFrms ist,
@@ -1228,24 +1228,24 @@ BOOL SwFlowFrm::IsPrevObjMove() const
/*************************************************************************
|*
-|* BOOL SwFlowFrm::IsPageBreak()
+|* BOOL SwFlowFrm::IsPageBreak()
|*
-|* Beschreibung Wenn vor dem Frm ein harter Seitenumbruch steht UND
-|* es einen Vorgaenger auf der gleichen Seite gibt, wird TRUE
-|* zurueckgeliefert (es muss ein PageBreak erzeugt werden) FALSE sonst.
-|* Wenn in bAct TRUE uebergeben wird, gibt die Funktion dann TRUE
-|* zurueck, wenn ein PageBreak besteht.
-|* Fuer Follows wird der harte Seitenumbruch natuerlich nicht
-|* ausgewertet.
-|* Der Seitenumbruch steht im eigenen FrmFmt (BEFORE) oder im FrmFmt
-|* des Vorgaengers (AFTER). Wenn es keinen Vorgaenger auf der Seite
-|* gibt ist jede weitere Ueberlegung ueberfluessig.
-|* Ein Seitenumbruch (oder der Bedarf) liegt auch dann vor, wenn
-|* im FrmFmt ein PageDesc angegeben wird.
-|* Die Implementierung arbeitet zuaechst nur auf CntntFrms!
-|* -->Fuer LayoutFrms ist die Definition des Vorgaengers unklar.
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 21. Mar. 95
+|* Beschreibung Wenn vor dem Frm ein harter Seitenumbruch steht UND
+|* es einen Vorgaenger auf der gleichen Seite gibt, wird TRUE
+|* zurueckgeliefert (es muss ein PageBreak erzeugt werden) FALSE sonst.
+|* Wenn in bAct TRUE uebergeben wird, gibt die Funktion dann TRUE
+|* zurueck, wenn ein PageBreak besteht.
+|* Fuer Follows wird der harte Seitenumbruch natuerlich nicht
+|* ausgewertet.
+|* Der Seitenumbruch steht im eigenen FrmFmt (BEFORE) oder im FrmFmt
+|* des Vorgaengers (AFTER). Wenn es keinen Vorgaenger auf der Seite
+|* gibt ist jede weitere Ueberlegung ueberfluessig.
+|* Ein Seitenumbruch (oder der Bedarf) liegt auch dann vor, wenn
+|* im FrmFmt ein PageDesc angegeben wird.
+|* Die Implementierung arbeitet zuaechst nur auf CntntFrms!
+|* -->Fuer LayoutFrms ist die Definition des Vorgaengers unklar.
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 21. Mar. 95
|*
|*************************************************************************/
@@ -1268,11 +1268,11 @@ BOOL SwFlowFrm::IsPageBreak( BOOL bAct ) const
{
OSL_ENSURE( pPrev->IsInDocBody(), "IsPageBreak: Not in DocBody?" );
if ( bAct )
- { if ( rThis.FindPageFrm() == pPrev->FindPageFrm() )
+ { if ( rThis.FindPageFrm() == pPrev->FindPageFrm() )
return FALSE;
}
else
- { if ( rThis.FindPageFrm() != pPrev->FindPageFrm() )
+ { if ( rThis.FindPageFrm() != pPrev->FindPageFrm() )
return FALSE;
}
@@ -1294,22 +1294,22 @@ BOOL SwFlowFrm::IsPageBreak( BOOL bAct ) const
/*************************************************************************
|*
-|* BOOL SwFlowFrm::IsColBreak()
+|* BOOL SwFlowFrm::IsColBreak()
|*
-|* Beschreibung Wenn vor dem Frm ein harter Spaltenumbruch steht UND
-|* es einen Vorgaenger in der gleichen Spalte gibt, wird TRUE
-|* zurueckgeliefert (es muss ein PageBreak erzeugt werden) FALSE sonst.
-|* Wenn in bAct TRUE uebergeben wird, gibt die Funktion dann TRUE
-|* zurueck, wenn ein ColBreak besteht.
-|* Fuer Follows wird der harte Spaltenumbruch natuerlich nicht
-|* ausgewertet.
-|* Der Spaltenumbruch steht im eigenen FrmFmt (BEFORE) oder im FrmFmt
-|* des Vorgaengers (AFTER). Wenn es keinen Vorgaenger in der Spalte
-|* gibt ist jede weitere Ueberlegung ueberfluessig.
-|* Die Implementierung arbeitet zuaechst nur auf CntntFrms!
-|* -->Fuer LayoutFrms ist die Definition des Vorgaengers unklar.
-|* Ersterstellung MA 11. Jun. 93
-|* Letzte Aenderung MA 21. Mar. 95
+|* Beschreibung Wenn vor dem Frm ein harter Spaltenumbruch steht UND
+|* es einen Vorgaenger in der gleichen Spalte gibt, wird TRUE
+|* zurueckgeliefert (es muss ein PageBreak erzeugt werden) FALSE sonst.
+|* Wenn in bAct TRUE uebergeben wird, gibt die Funktion dann TRUE
+|* zurueck, wenn ein ColBreak besteht.
+|* Fuer Follows wird der harte Spaltenumbruch natuerlich nicht
+|* ausgewertet.
+|* Der Spaltenumbruch steht im eigenen FrmFmt (BEFORE) oder im FrmFmt
+|* des Vorgaengers (AFTER). Wenn es keinen Vorgaenger in der Spalte
+|* gibt ist jede weitere Ueberlegung ueberfluessig.
+|* Die Implementierung arbeitet zuaechst nur auf CntntFrms!
+|* -->Fuer LayoutFrms ist die Definition des Vorgaengers unklar.
+|* Ersterstellung MA 11. Jun. 93
+|* Letzte Aenderung MA 21. Mar. 95
|*
|*************************************************************************/
@@ -1329,11 +1329,11 @@ BOOL SwFlowFrm::IsColBreak( BOOL bAct ) const
if ( pPrev )
{
if ( bAct )
- { if ( pCol == pPrev->FindColFrm() )
+ { if ( pCol == pPrev->FindColFrm() )
return FALSE;
}
else
- { if ( pCol != pPrev->FindColFrm() )
+ { if ( pCol != pPrev->FindColFrm() )
return FALSE;
}
@@ -1843,12 +1843,12 @@ SwTwips SwFlowFrm::CalcAddLowerSpaceAsLastInTableCell(
/*************************************************************************
|*
-|* BOOL SwFlowFrm::CheckMoveFwd()
+|* BOOL SwFlowFrm::CheckMoveFwd()
|*
-|* Beschreibung Moved den Frm vorwaerts wenn es durch die aktuellen
-|* Bedingungen und Attribute notwendig erscheint.
-|* Ersterstellung MA 05. Dec. 96
-|* Letzte Aenderung MA 09. Mar. 98
+|* Beschreibung Moved den Frm vorwaerts wenn es durch die aktuellen
+|* Bedingungen und Attribute notwendig erscheint.
+|* Ersterstellung MA 05. Dec. 96
+|* Letzte Aenderung MA 09. Mar. 98
|*
|*************************************************************************/
@@ -1919,7 +1919,7 @@ BOOL SwFlowFrm::CheckMoveFwd( BOOL &rbMakePage, BOOL bKeep, BOOL )
const SwPageFrm *pPage = rThis.FindPageFrm();
SwFrm *pCol = rThis.FindColFrm();
do
- { MoveFwd( rbMakePage, FALSE );
+ { MoveFwd( rbMakePage, FALSE );
SwFrm *pTmp = rThis.FindColFrm();
if( pTmp != pCol )
{
@@ -1939,11 +1939,11 @@ BOOL SwFlowFrm::CheckMoveFwd( BOOL &rbMakePage, BOOL bKeep, BOOL )
/*************************************************************************
|*
-|* BOOL SwFlowFrm::MoveFwd()
+|* BOOL SwFlowFrm::MoveFwd()
|*
-|* Beschreibung Returnwert sagt, ob der Frm die Seite gewechselt hat.
-|* Ersterstellung MA 05. Dec. 96
-|* Letzte Aenderung MA 05. Dec. 96
+|* Beschreibung Returnwert sagt, ob der Frm die Seite gewechselt hat.
+|* Ersterstellung MA 05. Dec. 96
+|* Letzte Aenderung MA 05. Dec. 96
|*
|*************************************************************************/
@@ -2145,13 +2145,13 @@ BOOL SwFlowFrm::MoveFwd( BOOL bMakePage, BOOL bPageBreak, BOOL bMoveAlways )
/*************************************************************************
|*
-|* BOOL SwFlowFrm::MoveBwd()
+|* BOOL SwFlowFrm::MoveBwd()
|*
-|* Beschreibung Returnwert sagt, ob der Frm die Seite wechseln soll.
-|* Sollte von abgeleiteten Klassen gerufen werden.
-|* Das moven selbst muessen die abgeleiteten uebernehmen.
-|* Ersterstellung MA 05. Dec. 96
-|* Letzte Aenderung MA 05. Dec. 96
+|* Beschreibung Returnwert sagt, ob der Frm die Seite wechseln soll.
+|* Sollte von abgeleiteten Klassen gerufen werden.
+|* Das moven selbst muessen die abgeleiteten uebernehmen.
+|* Ersterstellung MA 05. Dec. 96
+|* Letzte Aenderung MA 05. Dec. 96
|*
|*************************************************************************/
@@ -2221,7 +2221,7 @@ BOOL SwFlowFrm::MoveBwd( BOOL &rbReformat )
)
pNewUpper = rThis.GetLeaf( MAKEPAGE_FTN, FALSE );
}
- else if ( IsPageBreak( TRUE ) ) //PageBreak zu beachten?
+ else if ( IsPageBreak( TRUE ) ) //PageBreak zu beachten?
{
//Wenn auf der vorhergehenden Seite kein Frm im Body steht,
//so ist das Zurueckfliessen trotz Pagebreak sinnvoll
@@ -2707,10 +2707,10 @@ BOOL SwFlowFrm::MoveBwd( BOOL &rbReformat )
/*************************************************************************
|*
-|* SwFlowFrm::CastFlowFrm
+|* SwFlowFrm::CastFlowFrm
|*
-|* Ersterstellung MA 03. May. 95
-|* Letzte Aenderung AMA 02. Dec. 97
+|* Ersterstellung MA 03. May. 95
+|* Letzte Aenderung AMA 02. Dec. 97
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx
index 03607d8a3ad0..7543804483ff 100644
--- a/sw/source/core/layout/fly.cxx
+++ b/sw/source/core/layout/fly.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -98,7 +98,7 @@
#include "ndindex.hxx" // GetGrfArea
#include "sectfrm.hxx"
#include <vcl/svapp.hxx>
-#include <vcl/salbtype.hxx> // FRound
+#include <vcl/salbtype.hxx> // FRound
using namespace ::com::sun::star;
@@ -108,10 +108,10 @@ TYPEINIT2(SwFlyFrm,SwLayoutFrm,SwAnchoredObject);
/*************************************************************************
|*
-|* SwFlyFrm::SwFlyFrm()
+|* SwFlyFrm::SwFlyFrm()
|*
-|* Ersterstellung MA 28. Sep. 92
-|* Letzte Aenderung MA 09. Apr. 99
+|* Ersterstellung MA 28. Sep. 92
+|* Letzte Aenderung MA 09. Apr. 99
|*
|*************************************************************************/
@@ -277,10 +277,10 @@ void SwFlyFrm::InsertCnt()
/*************************************************************************
|*
-|* SwFlyFrm::~SwFlyFrm()
+|* SwFlyFrm::~SwFlyFrm()
|*
-|* Ersterstellung MA 28. Sep. 92
-|* Letzte Aenderung MA 07. Jul. 95
+|* Ersterstellung MA 28. Sep. 92
+|* Letzte Aenderung MA 07. Jul. 95
|*
|*************************************************************************/
@@ -377,10 +377,10 @@ void SwFlyFrm::DeleteCnt()
/*************************************************************************
|*
-|* SwFlyFrm::InitDrawObj()
+|* SwFlyFrm::InitDrawObj()
|*
-|* Ersterstellung MA 02. Dec. 94
-|* Letzte Aenderung MA 30. Nov. 95
+|* Ersterstellung MA 02. Dec. 94
+|* Letzte Aenderung MA 30. Nov. 95
|*
|*************************************************************************/
void SwFlyFrm::InitDrawObj( BOOL bNotify )
@@ -417,10 +417,10 @@ void SwFlyFrm::InitDrawObj( BOOL bNotify )
/*************************************************************************
|*
-|* SwFlyFrm::FinitDrawObj()
+|* SwFlyFrm::FinitDrawObj()
|*
-|* Ersterstellung MA 12. Dec. 94
-|* Letzte Aenderung MA 15. May. 95
+|* Ersterstellung MA 12. Dec. 94
+|* Letzte Aenderung MA 15. May. 95
|*
|*************************************************************************/
@@ -437,7 +437,7 @@ void SwFlyFrm::FinitDrawObj()
{
ViewShell *pSh = p1St;
do
- { //z.Zt. kann das Drawing nur ein Unmark auf alles, weil das
+ { //z.Zt. kann das Drawing nur ein Unmark auf alles, weil das
//Objekt bereits Removed wurde.
if( pSh->HasDrawView() )
pSh->Imp()->GetDrawView()->UnmarkAll();
@@ -475,17 +475,17 @@ void SwFlyFrm::FinitDrawObj()
pMyContact->GetMaster()->SetUserCall( 0 );
}
GetVirtDrawObj()->SetUserCall( 0 ); //Ruft sonst Delete des ContactObj
- delete GetVirtDrawObj(); //Meldet sich selbst beim Master ab.
+ delete GetVirtDrawObj(); //Meldet sich selbst beim Master ab.
if ( pMyContact )
- delete pMyContact; //zerstoert den Master selbst.
+ delete pMyContact; //zerstoert den Master selbst.
}
/*************************************************************************
|*
-|* SwFlyFrm::ChainFrames()
+|* SwFlyFrm::ChainFrames()
|*
-|* Ersterstellung MA 29. Oct. 97
-|* Letzte Aenderung MA 20. Jan. 98
+|* Ersterstellung MA 29. Oct. 97
+|* Letzte Aenderung MA 20. Jan. 98
|*
|*************************************************************************/
@@ -578,10 +578,10 @@ void SwFlyFrm::UnchainFrames( SwFlyFrm *pMaster, SwFlyFrm *pFollow )
/*************************************************************************
|*
-|* SwFlyFrm::FindChainNeighbour()
+|* SwFlyFrm::FindChainNeighbour()
|*
-|* Ersterstellung MA 11. Nov. 97
-|* Letzte Aenderung MA 09. Apr. 99
+|* Ersterstellung MA 11. Nov. 97
+|* Letzte Aenderung MA 09. Apr. 99
|*
|*************************************************************************/
@@ -590,7 +590,7 @@ SwFlyFrm *SwFlyFrm::FindChainNeighbour( SwFrmFmt &rChain, SwFrm *pAnch )
//Wir suchen denjenigen Fly, der in dem selben Bereich steht.
//Bereiche koennen zunaechst nur Kopf-/Fusszeilen oder Flys sein.
- if ( !pAnch ) //Wenn ein Anchor uebergeben Wurde zaehlt dieser: Ctor!
+ if ( !pAnch ) //Wenn ein Anchor uebergeben Wurde zaehlt dieser: Ctor!
pAnch = AnchorFrm();
SwLayoutFrm *pLay;
@@ -634,10 +634,10 @@ SwFlyFrm *SwFlyFrm::FindChainNeighbour( SwFrmFmt &rChain, SwFrm *pAnch )
/*************************************************************************
|*
-|* SwFlyFrm::FindLastLower()
+|* SwFlyFrm::FindLastLower()
|*
-|* Ersterstellung MA 29. Oct. 97
-|* Letzte Aenderung MA 29. Oct. 97
+|* Ersterstellung MA 29. Oct. 97
+|* Letzte Aenderung MA 29. Oct. 97
|*
|*************************************************************************/
@@ -648,7 +648,7 @@ SwFrm *SwFlyFrm::FindLastLower()
pRet = pRet->FindTabFrm();
SwFrm *pNxt = pRet;
while ( pNxt && IsAnLower( pNxt ) )
- { pRet = pNxt;
+ { pRet = pNxt;
pNxt = pNxt->FindNext();
}
return pRet;
@@ -657,10 +657,10 @@ SwFrm *SwFlyFrm::FindLastLower()
/*************************************************************************
|*
-|* SwFlyFrm::FrmSizeChg()
+|* SwFlyFrm::FrmSizeChg()
|*
-|* Ersterstellung MA 17. Dec. 92
-|* Letzte Aenderung MA 24. Jul. 96
+|* Ersterstellung MA 17. Dec. 92
+|* Letzte Aenderung MA 24. Jul. 96
|*
|*************************************************************************/
@@ -692,7 +692,7 @@ BOOL SwFlyFrm::FrmSizeChg( const SwFmtFrmSize &rFrmSize )
if ( Lower()->IsColumnFrm() )
{
const SwRect aOld( GetObjRectWithSpaces() );
- const Size aOldSz( Prt().SSize() );
+ const Size aOldSz( Prt().SSize() );
const SwTwips nDiffWidth = Frm().Width() - rFrmSize.GetWidth();
aFrm.Height( aFrm.Height() - nDiffHeight );
aFrm.Width ( aFrm.Width() - nDiffWidth );
@@ -717,10 +717,10 @@ BOOL SwFlyFrm::FrmSizeChg( const SwFmtFrmSize &rFrmSize )
/*************************************************************************
|*
-|* SwFlyFrm::Modify()
+|* SwFlyFrm::Modify()
|*
-|* Ersterstellung MA 17. Dec. 92
-|* Letzte Aenderung MA 17. Jan. 97
+|* Ersterstellung MA 17. Dec. 92
+|* Letzte Aenderung MA 17. Jan. 97
|*
|*************************************************************************/
@@ -895,7 +895,7 @@ void SwFlyFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
USHORT nCol = 0;
SwFrm *pTmp = Lower();
do
- { ++nCol;
+ { ++nCol;
pTmp = pTmp->GetNext();
} while ( pTmp );
aCol.Init( nCol, 0, 1000 );
@@ -1096,11 +1096,11 @@ void SwFlyFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
/*************************************************************************
|*
-|* SwFlyFrm::GetInfo()
+|* SwFlyFrm::GetInfo()
|*
-|* Beschreibung erfragt Informationen
-|* Ersterstellung JP 31.03.94
-|* Letzte Aenderung JP 31.03.94
+|* Beschreibung erfragt Informationen
+|* Ersterstellung JP 31.03.94
+|* Letzte Aenderung JP 31.03.94
|*
*************************************************************************/
@@ -1108,16 +1108,16 @@ void SwFlyFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
BOOL SwFlyFrm::GetInfo( SfxPoolItem & rInfo ) const
{
if( RES_AUTOFMT_DOCNODE == rInfo.Which() )
- return FALSE; // es gibt einen FlyFrm also wird er benutzt
- return TRUE; // weiter suchen
+ return FALSE; // es gibt einen FlyFrm also wird er benutzt
+ return TRUE; // weiter suchen
}
/*************************************************************************
|*
-|* SwFlyFrm::_Invalidate()
+|* SwFlyFrm::_Invalidate()
|*
-|* Ersterstellung MA 15. Oct. 92
-|* Letzte Aenderung MA 26. Jun. 96
+|* Ersterstellung MA 15. Oct. 92
+|* Letzte Aenderung MA 26. Jun. 96
|*
|*************************************************************************/
@@ -1154,12 +1154,12 @@ void SwFlyFrm::_Invalidate( SwPageFrm *pPage )
/*************************************************************************
|*
-|* SwFlyFrm::ChgRelPos()
+|* SwFlyFrm::ChgRelPos()
|*
-|* Beschreibung Aenderung der relativen Position, die Position wird
-|* damit automatisch Fix, das Attribut wird entprechend angepasst.
-|* Ersterstellung MA 25. Aug. 92
-|* Letzte Aenderung MA 09. Aug. 95
+|* Beschreibung Aenderung der relativen Position, die Position wird
+|* damit automatisch Fix, das Attribut wird entprechend angepasst.
+|* Ersterstellung MA 25. Aug. 92
+|* Letzte Aenderung MA 09. Aug. 95
|*
|*************************************************************************/
@@ -1279,12 +1279,12 @@ void SwFlyFrm::ChgRelPos( const Point &rNewPos )
}
/*************************************************************************
|*
-|* SwFlyFrm::Format()
+|* SwFlyFrm::Format()
|*
-|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea.
-|* Die Fixsize wird hier nicht eingestellt.
-|* Ersterstellung MA 14. Jun. 93
-|* Letzte Aenderung MA 13. Jun. 96
+|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea.
+|* Die Fixsize wird hier nicht eingestellt.
+|* Ersterstellung MA 14. Jun. 93
+|* Letzte Aenderung MA 13. Jun. 96
|*
|*************************************************************************/
@@ -1409,7 +1409,7 @@ void SwFlyFrm::Format( const SwBorderAttrs *pAttrs )
}
else
{
- bValidSize = TRUE; //Fixe Frms formatieren sich nicht.
+ bValidSize = TRUE; //Fixe Frms formatieren sich nicht.
//Flys stellen ihre Groesse anhand des Attr ein.
SwTwips nNewSize = bVert ? aRelSize.Width() : aRelSize.Height();
nNewSize -= nUL;
@@ -1790,10 +1790,10 @@ void CalcCntnt( SwLayoutFrm *pLay,
/*************************************************************************
|*
-|* SwFlyFrm::MakeFlyPos()
+|* SwFlyFrm::MakeFlyPos()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 14. Nov. 96
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 14. Nov. 96
|*
|*************************************************************************/
// OD 2004-03-23 #i26791#
@@ -1826,10 +1826,10 @@ void SwFlyFrm::MakeObjPos()
/*************************************************************************
|*
-|* SwFlyFrm::MakePrtArea()
+|* SwFlyFrm::MakePrtArea()
|*
-|* Ersterstellung MA 23. Jun. 93
-|* Letzte Aenderung MA 23. Jun. 93
+|* Ersterstellung MA 23. Jun. 93
+|* Letzte Aenderung MA 23. Jun. 93
|*
|*************************************************************************/
void SwFlyFrm::MakePrtArea( const SwBorderAttrs &rAttrs )
@@ -1850,10 +1850,10 @@ void SwFlyFrm::MakePrtArea( const SwBorderAttrs &rAttrs )
/*************************************************************************
|*
-|* SwFlyFrm::_Grow(), _Shrink()
+|* SwFlyFrm::_Grow(), _Shrink()
|*
-|* Ersterstellung MA 05. Oct. 92
-|* Letzte Aenderung MA 05. Sep. 96
+|* Ersterstellung MA 05. Oct. 92
+|* Letzte Aenderung MA 05. Sep. 96
|*
|*************************************************************************/
@@ -1870,7 +1870,7 @@ SwTwips SwFlyFrm::_Grow( SwTwips nDist, BOOL bTst )
return 0L;
if ( Lower()->IsColumnFrm() )
- { //Bei Spaltigkeit ubernimmt das Format die Kontrolle ueber
+ { //Bei Spaltigkeit ubernimmt das Format die Kontrolle ueber
//das Wachstum (wg. des Ausgleichs).
if ( !bTst )
{
@@ -1957,7 +1957,7 @@ SwTwips SwFlyFrm::_Shrink( SwTwips nDist, BOOL bTst )
return 0L;
if ( Lower()->IsColumnFrm() )
- { //Bei Spaltigkeit ubernimmt das Format die Kontrolle ueber
+ { //Bei Spaltigkeit ubernimmt das Format die Kontrolle ueber
//das Wachstum (wg. des Ausgleichs).
if ( !bTst )
{
@@ -2041,10 +2041,10 @@ SwTwips SwFlyFrm::_Shrink( SwTwips nDist, BOOL bTst )
/*************************************************************************
|*
-|* SwFlyFrm::ChgSize()
+|* SwFlyFrm::ChgSize()
|*
-|* Ersterstellung MA 05. Oct. 92
-|* Letzte Aenderung MA 04. Sep. 96
+|* Ersterstellung MA 05. Oct. 92
+|* Letzte Aenderung MA 04. Sep. 96
|*
|*************************************************************************/
@@ -2094,10 +2094,10 @@ Size SwFlyFrm::ChgSize( const Size& aNewSize )
/*************************************************************************
|*
-|* SwFlyFrm::IsLowerOf()
+|* SwFlyFrm::IsLowerOf()
|*
-|* Ersterstellung MA 27. Dec. 93
-|* Letzte Aenderung MA 27. Dec. 93
+|* Ersterstellung MA 27. Dec. 93
+|* Letzte Aenderung MA 27. Dec. 93
|*
|*************************************************************************/
@@ -2118,10 +2118,10 @@ BOOL SwFlyFrm::IsLowerOf( const SwLayoutFrm* pUpperFrm ) const
/*************************************************************************
|*
-|* SwFlyFrm::Cut()
+|* SwFlyFrm::Cut()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 23. Feb. 94
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 23. Feb. 94
|*
|*************************************************************************/
@@ -2131,10 +2131,10 @@ void SwFlyFrm::Cut()
/*************************************************************************
|*
-|* SwFrm::AppendFly(), RemoveFly()
+|* SwFrm::AppendFly(), RemoveFly()
|*
-|* Ersterstellung MA 25. Aug. 92
-|* Letzte Aenderung MA 09. Jun. 95
+|* Ersterstellung MA 25. Aug. 92
+|* Letzte Aenderung MA 09. Jun. 95
|*
|*************************************************************************/
@@ -2223,7 +2223,7 @@ void SwFrm::RemoveFly( SwFlyFrm *pToRemove )
/*************************************************************************
|*
-|* SwFrm::AppendDrawObj(), RemoveDrawObj()
+|* SwFrm::AppendDrawObj(), RemoveDrawObj()
|*
|* --> OD 2004-07-06 #i28701# - new methods
|*
@@ -2271,7 +2271,7 @@ void SwFrm::AppendDrawObj( SwAnchoredObject& _rNewObj )
_rNewObj.DrawObj()->SetLayer(aInvisibleControlLayerID);
}
else
- {
+ {
_rNewObj.DrawObj()->SetLayer(aControlLayerID);
}
}
@@ -2321,8 +2321,8 @@ void SwFrm::RemoveDrawObj( SwAnchoredObject& _rToRemoveObj )
|*
|* SwFrm::InvalidateObjs()
|*
-|* Ersterstellung MA 29. Nov. 96
-|* Letzte Aenderung MA 29. Nov. 96
+|* Ersterstellung MA 29. Nov. 96
+|* Letzte Aenderung MA 29. Nov. 96
|*
|*************************************************************************/
// --> OD 2004-07-01 #i28701# - change purpose of method and adjust its name
@@ -2486,10 +2486,10 @@ void SwLayoutFrm::NotifyLowerObjs( const bool _bUnlockPosOfObjs )
/*************************************************************************
|*
-|* SwFlyFrm::NotifyDrawObj()
+|* SwFlyFrm::NotifyDrawObj()
|*
-|* Ersterstellung OK 22. Nov. 94
-|* Letzte Aenderung MA 10. Jan. 97
+|* Ersterstellung OK 22. Nov. 94
+|* Letzte Aenderung MA 10. Jan. 97
|*
|*************************************************************************/
@@ -2508,8 +2508,8 @@ void SwFlyFrm::NotifyDrawObj()
|*
|* SwFlyFrm::CalcRel()
|*
-|* Ersterstellung MA 13. Jun. 96
-|* Letzte Aenderung MA 10. Oct. 96
+|* Ersterstellung MA 13. Jun. 96
+|* Letzte Aenderung MA 10. Oct. 96
|*
|*************************************************************************/
@@ -2631,10 +2631,10 @@ SwTwips SwFlyFrm::CalcAutoWidth() const
/*************************************************************************
|*
-|* SwFlyFrm::AddSpacesToFrm
+|* SwFlyFrm::AddSpacesToFrm
|*
-|* Ersterstellung MA 11. Nov. 96
-|* Letzte Aenderung MA 10. Mar. 97
+|* Ersterstellung MA 11. Nov. 96
+|* Letzte Aenderung MA 10. Mar. 97
|*
|*************************************************************************/
@@ -2652,10 +2652,10 @@ SwTwips SwFlyFrm::CalcAutoWidth() const
/*************************************************************************
|*
-|* SwFlyFrm::GetContour()
+|* SwFlyFrm::GetContour()
|*
-|* Ersterstellung MA 09. Jan. 97
-|* Letzte Aenderung MA 10. Jan. 97
+|* Ersterstellung MA 09. Jan. 97
+|* Letzte Aenderung MA 10. Jan. 97
|*
|*************************************************************************/
/// OD 16.04.2003 #i13147# - If called for paint and the <SwNoTxtFrm> contains
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx
index 02e917dc42ad..5d0b90152306 100644
--- a/sw/source/core/layout/flycnt.cxx
+++ b/sw/source/core/layout/flycnt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -77,10 +77,10 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* SwFlyAtCntFrm::SwFlyAtCntFrm()
+|* SwFlyAtCntFrm::SwFlyAtCntFrm()
|*
-|* Ersterstellung MA 11. Nov. 92
-|* Letzte Aenderung MA 09. Apr. 99
+|* Ersterstellung MA 11. Nov. 92
+|* Letzte Aenderung MA 09. Apr. 99
|*
|*************************************************************************/
@@ -96,10 +96,10 @@ TYPEINIT1(SwFlyAtCntFrm,SwFlyFreeFrm);
// <--
/*************************************************************************
|*
-|* SwFlyAtCntFrm::Modify()
+|* SwFlyAtCntFrm::Modify()
|*
-|* Ersterstellung MA 08. Feb. 93
-|* Letzte Aenderung MA 23. Nov. 94
+|* Ersterstellung MA 08. Feb. 93
+|* Letzte Aenderung MA 23. Nov. 94
|*
|*************************************************************************/
@@ -111,7 +111,7 @@ void SwFlyAtCntFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
if( RES_ATTRSET_CHG == nWhich && SFX_ITEM_SET ==
((SwAttrSetChg*)pNew)->GetChgSet()->GetItemState( RES_ANCHOR, FALSE,
(const SfxPoolItem**)&pAnch ))
- ; // Beim GetItemState wird der AnkerPointer gesetzt !
+ ; // Beim GetItemState wird der AnkerPointer gesetzt !
else if( RES_ANCHOR == nWhich )
{
@@ -224,29 +224,29 @@ void SwFlyAtCntFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
/*************************************************************************
|*
-|* SwFlyAtCntFrm::MakeAll()
+|* SwFlyAtCntFrm::MakeAll()
|*
-|* Beschreibung Bei einem Absatzgebunden Fly kann es durchaus sein,
-|* das der Anker auf die Veraenderung des Flys reagiert. Auf diese
-|* Reaktion hat der Fly natuerlich auch wieder zu reagieren.
-|* Leider kann dies zu Oszillationen fuehren z.b. Der Fly will nach
-|* unten, dadurch kann der Inhalt nach oben, der TxtFrm wird kleiner,
-|* der Fly muss wieder hoeher woduch der Text wieder nach unten
-|* verdraengt wird...
-|* Um derartige Oszillationen zu vermeiden, wird ein kleiner Positions-
-|* stack aufgebaut. Wenn der Fly ein Position erreicht, die er bereits
-|* einmal einnahm, so brechen wir den Vorgang ab. Um keine Risiken
-|* einzugehen, wird der Positionsstack so aufgebaut, dass er fuenf
-|* Positionen zurueckblickt.
-|* Wenn der Stack ueberlaeuft, wird ebenfalls abgebrochen.
-|* Der Abbruch fuer dazu, dass der Fly am Ende eine unguenste Position
-|* einnimmt. Damit es nicht durch einen wiederholten Aufruf von
-|* Aussen zu einer 'grossen Oszillation' kommen kann wird im Abbruch-
-|* fall das Attribut des Rahmens auf automatische Ausrichtung oben
-|* eingestellt.
+|* Beschreibung Bei einem Absatzgebunden Fly kann es durchaus sein,
+|* das der Anker auf die Veraenderung des Flys reagiert. Auf diese
+|* Reaktion hat der Fly natuerlich auch wieder zu reagieren.
+|* Leider kann dies zu Oszillationen fuehren z.b. Der Fly will nach
+|* unten, dadurch kann der Inhalt nach oben, der TxtFrm wird kleiner,
+|* der Fly muss wieder hoeher woduch der Text wieder nach unten
+|* verdraengt wird...
+|* Um derartige Oszillationen zu vermeiden, wird ein kleiner Positions-
+|* stack aufgebaut. Wenn der Fly ein Position erreicht, die er bereits
+|* einmal einnahm, so brechen wir den Vorgang ab. Um keine Risiken
+|* einzugehen, wird der Positionsstack so aufgebaut, dass er fuenf
+|* Positionen zurueckblickt.
+|* Wenn der Stack ueberlaeuft, wird ebenfalls abgebrochen.
+|* Der Abbruch fuer dazu, dass der Fly am Ende eine unguenste Position
+|* einnimmt. Damit es nicht durch einen wiederholten Aufruf von
+|* Aussen zu einer 'grossen Oszillation' kommen kann wird im Abbruch-
+|* fall das Attribut des Rahmens auf automatische Ausrichtung oben
+|* eingestellt.
|*
-|* Ersterstellung MA 12. Nov. 92
-|* Letzte Aenderung MA 20. Sep. 96
+|* Ersterstellung MA 12. Nov. 92
+|* Letzte Aenderung MA 20. Sep. 96
|*
|*************************************************************************/
//Wir brauchen ein Paar Hilfsklassen zur Kontrolle der Ozillation und ein paar
@@ -615,14 +615,14 @@ bool SwFlyAtCntFrm::IsFormatPossible() const
/*************************************************************************
|*
-|* FindAnchor() und Hilfsfunktionen.
+|* FindAnchor() und Hilfsfunktionen.
|*
-|* Beschreibung: Sucht ausgehend von pOldAnch einen Anker fuer
-|* Absatzgebundene Objekte.
-|* Wird beim Draggen von Absatzgebundenen Objekten zur Ankeranzeige sowie
-|* fuer Ankerwechsel benoetigt.
-|* Ersterstellung MA 22. Jun. 93
-|* Letzte Aenderung MA 30. Jan. 95
+|* Beschreibung: Sucht ausgehend von pOldAnch einen Anker fuer
+|* Absatzgebundene Objekte.
+|* Wird beim Draggen von Absatzgebundenen Objekten zur Ankeranzeige sowie
+|* fuer Ankerwechsel benoetigt.
+|* Ersterstellung MA 22. Jun. 93
+|* Letzte Aenderung MA 30. Jan. 95
|*
|*************************************************************************/
@@ -899,7 +899,7 @@ ULONG MA_FASTCALL lcl_FindCntDiff( const Point &rPt, const SwLayoutFrm *pLay,
rpCnt = 0;
ULONG nDistance = ULONG_MAX;
- ULONG nNearest = ULONG_MAX;
+ ULONG nNearest = ULONG_MAX;
const SwCntntFrm *pCnt = pLay->ContainsCntnt();
while ( pCnt && (bBody != pCnt->IsInDocBody() || bFtn != pCnt->IsInFtn()))
@@ -925,7 +925,7 @@ ULONG MA_FASTCALL lcl_FindCntDiff( const Point &rPt, const SwLayoutFrm *pLay,
if ( pCnt->Frm().Top() <= rPt.Y() )
{
if ( nDiff < nDistance )
- { //Der ist dichter dran
+ { //Der ist dichter dran
nDistance = nNearest = nDiff;
rpCnt = pNearest = pCnt;
}
@@ -943,7 +943,7 @@ ULONG MA_FASTCALL lcl_FindCntDiff( const Point &rPt, const SwLayoutFrm *pLay,
} while ( pCnt && pLay->IsAnLower( pCnt ) );
}
if ( nDistance == ULONG_MAX )
- { rpCnt = pNearest;
+ { rpCnt = pNearest;
return nNearest;
}
return nDistance;
@@ -970,7 +970,7 @@ const SwCntntFrm * MA_FASTCALL lcl_FindCnt( const Point &rPt, const SwCntntFrm *
if ( pNew )
pRet = pNew;
else
- { pRet = pCnt;
+ { pRet = pCnt;
nDist = ULONG_MAX;
}
const SwCntntFrm *pNearest = pRet;
@@ -1142,7 +1142,7 @@ const SwCntntFrm *FindAnchor( const SwFrm *pOldAnch, const Point &rNew,
bNegAllowed = FALSE;
if ( nUpLst.nMain < 0 ) //nicht den falschen erwischen, wenn der Wert
//gerade von negativ auf positiv gekippt ist.
- { pUpLst = pUpFrm;
+ { pUpLst = pUpFrm;
nUpLst = nUp;
}
}
@@ -1206,10 +1206,10 @@ const SwCntntFrm *FindAnchor( const SwFrm *pOldAnch, const Point &rNew,
/*************************************************************************
|*
-|* SwFlyAtCntFrm::SetAbsPos()
+|* SwFlyAtCntFrm::SetAbsPos()
|*
-|* Ersterstellung MA 22. Jun. 93
-|* Letzte Aenderung MA 11. Sep. 98
+|* Ersterstellung MA 22. Jun. 93
+|* Letzte Aenderung MA 11. Sep. 98
|*
|*************************************************************************/
@@ -1293,13 +1293,13 @@ void SwFlyAtCntFrm::SetAbsPos( const Point &rNew )
while ( pCnt->IsFollow() )
{
do
- { pCnt = pCnt->GetPrevCntntFrm();
+ { pCnt = pCnt->GetPrevCntntFrm();
} while ( pCnt->GetFollow() != pFollow );
pFollow = pCnt;
}
SwTwips nDiff = 0;
do
- { const SwFrm *pUp = pFollow->GetUpper();
+ { const SwFrm *pUp = pFollow->GetUpper();
if( pUp->IsVertical() )
nDiff += pFollow->Frm().Left() + pFollow->Frm().Width()
- pUp->Frm().Left() - pUp->Prt().Left();
diff --git a/sw/source/core/layout/flyincnt.cxx b/sw/source/core/layout/flyincnt.cxx
index 51f1d3a0929c..fba14fdef241 100644
--- a/sw/source/core/layout/flyincnt.cxx
+++ b/sw/source/core/layout/flyincnt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -37,7 +37,7 @@
#include "hints.hxx"
#include <fmtornt.hxx>
#include <fmtfsize.hxx>
-#include "txtfrm.hxx" //fuer IsLocked()
+#include "txtfrm.hxx" //fuer IsLocked()
#include "flyfrms.hxx"
// OD 2004-01-19 #110582#
#include <dflyobj.hxx>
@@ -47,10 +47,10 @@ void DeepCalc( const SwFrm *pFrm );
/*************************************************************************
|*
-|* SwFlyInCntFrm::SwFlyInCntFrm(), ~SwFlyInCntFrm()
+|* SwFlyInCntFrm::SwFlyInCntFrm(), ~SwFlyInCntFrm()
|*
-|* Ersterstellung MA 01. Dec. 92
-|* Letzte Aenderung MA 09. Apr. 99
+|* Ersterstellung MA 01. Dec. 92
+|* Letzte Aenderung MA 09. Apr. 99
|*
|*************************************************************************/
SwFlyInCntFrm::SwFlyInCntFrm( SwFlyFrmFmt *pFmt, SwFrm *pAnch ) :
@@ -82,10 +82,10 @@ TYPEINIT1(SwFlyInCntFrm,SwFlyFrm);
// <--
/*************************************************************************
|*
-|* SwFlyInCntFrm::SetRefPoint(),
+|* SwFlyInCntFrm::SetRefPoint(),
|*
-|* Ersterstellung MA 01. Dec. 92
-|* Letzte Aenderung MA 06. Aug. 95
+|* Ersterstellung MA 01. Dec. 92
+|* Letzte Aenderung MA 06. Aug. 95
|*
|*************************************************************************/
void SwFlyInCntFrm::SetRefPoint( const Point& rPoint,
@@ -118,10 +118,10 @@ void SwFlyInCntFrm::SetRefPoint( const Point& rPoint,
/*************************************************************************
|*
-|* SwFlyInCntFrm::Modify()
+|* SwFlyInCntFrm::Modify()
|*
-|* Ersterstellung MA 16. Dec. 92
-|* Letzte Aenderung MA 02. Sep. 93
+|* Ersterstellung MA 16. Dec. 92
+|* Letzte Aenderung MA 02. Sep. 93
|*
|*************************************************************************/
void SwFlyInCntFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
@@ -165,21 +165,21 @@ void SwFlyInCntFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
}
/*************************************************************************
|*
-|* SwFlyInCntFrm::Format()
+|* SwFlyInCntFrm::Format()
|*
-|* Beschreibung: Hier wird der Inhalt initial mit Formatiert.
-|* Ersterstellung MA 16. Dec. 92
-|* Letzte Aenderung MA 19. May. 93
+|* Beschreibung: Hier wird der Inhalt initial mit Formatiert.
+|* Ersterstellung MA 16. Dec. 92
+|* Letzte Aenderung MA 19. May. 93
|*
|*************************************************************************/
void SwFlyInCntFrm::Format( const SwBorderAttrs *pAttrs )
{
if ( !Frm().Height() )
{
- Lock(); //nicht hintenherum den Anker formatieren.
+ Lock(); //nicht hintenherum den Anker formatieren.
SwCntntFrm *pCntnt = ContainsCntnt();
while ( pCntnt )
- { pCntnt->Calc();
+ { pCntnt->Calc();
pCntnt = pCntnt->GetNextCntntFrm();
}
Unlock();
@@ -188,13 +188,13 @@ void SwFlyInCntFrm::Format( const SwBorderAttrs *pAttrs )
}
/*************************************************************************
|*
-|* SwFlyInCntFrm::MakeFlyPos()
+|* SwFlyInCntFrm::MakeFlyPos()
|*
-|* Beschreibung Im Unterschied zu anderen Frms wird hier nur die
-|* die RelPos berechnet. Die absolute Position wird ausschliesslich
-|* per SetAbsPos errechnet.
-|* Ersterstellung MA 03. Dec. 92
-|* Letzte Aenderung MA 12. Apr. 96
+|* Beschreibung Im Unterschied zu anderen Frms wird hier nur die
+|* die RelPos berechnet. Die absolute Position wird ausschliesslich
+|* per SetAbsPos errechnet.
+|* Ersterstellung MA 03. Dec. 92
+|* Letzte Aenderung MA 12. Apr. 96
|*
|*************************************************************************/
// OD 2004-03-23 #i26791#
@@ -234,10 +234,10 @@ void SwFlyInCntFrm::_ActionOnInvalidation( const InvalidationType _nInvalid )
// <--
/*************************************************************************
|*
-|* SwFlyInCntFrm::NotifyBackground()
+|* SwFlyInCntFrm::NotifyBackground()
|*
-|* Ersterstellung MA 03. Dec. 92
-|* Letzte Aenderung MA 26. Aug. 93
+|* Ersterstellung MA 03. Dec. 92
+|* Letzte Aenderung MA 26. Aug. 93
|*
|*************************************************************************/
void SwFlyInCntFrm::NotifyBackground( SwPageFrm *, const SwRect& rRect,
@@ -251,10 +251,10 @@ void SwFlyInCntFrm::NotifyBackground( SwPageFrm *, const SwRect& rRect,
/*************************************************************************
|*
-|* SwFlyInCntFrm::GetRelPos()
+|* SwFlyInCntFrm::GetRelPos()
|*
-|* Ersterstellung MA 04. Dec. 92
-|* Letzte Aenderung MA 04. Dec. 92
+|* Ersterstellung MA 04. Dec. 92
+|* Letzte Aenderung MA 04. Dec. 92
|*
|*************************************************************************/
const Point SwFlyInCntFrm::GetRelPos() const
@@ -265,10 +265,10 @@ const Point SwFlyInCntFrm::GetRelPos() const
/*************************************************************************
|*
-|* SwFlyInCntFrm::RegistFlys()
+|* SwFlyInCntFrm::RegistFlys()
|*
-|* Ersterstellung MA 26. Nov. 93
-|* Letzte Aenderung MA 26. Nov. 93
+|* Ersterstellung MA 26. Nov. 93
+|* Letzte Aenderung MA 26. Nov. 93
|*
|*************************************************************************/
void SwFlyInCntFrm::RegistFlys()
@@ -281,10 +281,10 @@ void SwFlyInCntFrm::RegistFlys()
/*************************************************************************
|*
-|* SwFlyInCntFrm::MakeAll()
+|* SwFlyInCntFrm::MakeAll()
|*
-|* Ersterstellung MA 18. Feb. 94
-|* Letzte Aenderung MA 13. Jun. 96
+|* Ersterstellung MA 18. Feb. 94
+|* Letzte Aenderung MA 13. Jun. 96
|*
|*************************************************************************/
void SwFlyInCntFrm::MakeAll()
@@ -298,7 +298,7 @@ void SwFlyInCntFrm::MakeAll()
if ( !GetAnchorFrm() || IsLocked() || IsColLocked() || !FindPageFrm() )
return;
- Lock(); //Der Vorhang faellt
+ Lock(); //Der Vorhang faellt
//uebernimmt im DTor die Benachrichtigung
const SwFlyNotify aNotify( this );
diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx
index 52d1bf24e24e..1c5f19d2fc93 100644
--- a/sw/source/core/layout/flylay.cxx
+++ b/sw/source/core/layout/flylay.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -68,10 +68,10 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* SwFlyFreeFrm::SwFlyFreeFrm(), ~SwFlyFreeFrm()
+|* SwFlyFreeFrm::SwFlyFreeFrm(), ~SwFlyFreeFrm()
|*
-|* Ersterstellung MA 03. Dec. 92
-|* Letzte Aenderung MA 09. Apr. 99
+|* Ersterstellung MA 03. Dec. 92
+|* Letzte Aenderung MA 09. Apr. 99
|*
|*************************************************************************/
@@ -119,16 +119,16 @@ TYPEINIT1(SwFlyFreeFrm,SwFlyFrm);
// <--
/*************************************************************************
|*
-|* SwFlyFreeFrm::NotifyBackground()
+|* SwFlyFreeFrm::NotifyBackground()
|*
-|* Beschreibung Benachrichtigt den Hintergrund (alle CntntFrms die
-|* gerade ueberlappt werden. Ausserdem wird das Window in einigen
-|* Faellen direkt invalidiert (vor allem dort, wo keine CntntFrms
-|* ueberlappt werden.
-|* Es werden auch die CntntFrms innerhalb von anderen Flys
-|* beruecksichtigt.
-|* Ersterstellung MA 03. Dec. 92
-|* Letzte Aenderung MA 26. Aug. 93
+|* Beschreibung Benachrichtigt den Hintergrund (alle CntntFrms die
+|* gerade ueberlappt werden. Ausserdem wird das Window in einigen
+|* Faellen direkt invalidiert (vor allem dort, wo keine CntntFrms
+|* ueberlappt werden.
+|* Es werden auch die CntntFrms innerhalb von anderen Flys
+|* beruecksichtigt.
+|* Ersterstellung MA 03. Dec. 92
+|* Letzte Aenderung MA 26. Aug. 93
|*
|*************************************************************************/
@@ -140,10 +140,10 @@ void SwFlyFreeFrm::NotifyBackground( SwPageFrm *pPageFrm,
/*************************************************************************
|*
-|* SwFlyFreeFrm::MakeAll()
+|* SwFlyFreeFrm::MakeAll()
|*
-|* Ersterstellung MA 18. Feb. 94
-|* Letzte Aenderung MA 03. Mar. 97
+|* Ersterstellung MA 18. Feb. 94
+|* Letzte Aenderung MA 03. Mar. 97
|*
|*************************************************************************/
@@ -168,7 +168,7 @@ void SwFlyFreeFrm::MakeAll()
if( !GetPageFrm() )
return;
- Lock(); //Der Vorhang faellt
+ Lock(); //Der Vorhang faellt
//uebernimmt im DTor die Benachrichtigung
const SwFlyNotify aNotify( this );
@@ -200,7 +200,7 @@ void SwFlyFreeFrm::MakeAll()
{
SWRECTFN( this )
const SwFmtFrmSize *pSz;
- { //Zusaetzlicher Scope, damit aAccess vor dem Check zerstoert wird!
+ { //Zusaetzlicher Scope, damit aAccess vor dem Check zerstoert wird!
SwBorderAttrAccess aAccess( SwFrm::GetCache(), this );
const SwBorderAttrs &rAttrs = *aAccess.Get();
@@ -324,10 +324,10 @@ bool SwFlyFreeFrm::HasEnvironmentAutoSize() const
/*************************************************************************
|*
-|* SwFlyFreeFrm::CheckClip()
+|* SwFlyFreeFrm::CheckClip()
|*
-|* Ersterstellung MA 21. Feb. 94
-|* Letzte Aenderung MA 03. Mar. 97
+|* Ersterstellung MA 21. Feb. 94
+|* Letzte Aenderung MA 03. Mar. 97
|*
|*************************************************************************/
@@ -444,7 +444,7 @@ void SwFlyFreeFrm::CheckClip( const SwFmtFrmSize &rSz )
aFrmRect.Height()!= aOldSize.Height() )
{
if ( (aOldSize.Width() - aFrmRect.Width()) >
- (aOldSize.Height()- aFrmRect.Height()) )
+ (aOldSize.Height()- aFrmRect.Height()) )
aFrmRect.Height( aOldSize.Height() );
else
aFrmRect.Width( aOldSize.Width() );
@@ -496,14 +496,14 @@ void SwFlyFreeFrm::CheckClip( const SwFmtFrmSize &rSz )
Frm().Width ( Max( long(MINLAY), aFrmRect.Width() ) );
if ( Lower() && Lower()->IsColumnFrm() )
{
- ColLock(); //Grow/Shrink locken.
+ ColLock(); //Grow/Shrink locken.
const Size aTmpOldSize( Prt().SSize() );
Prt().Height( Frm().Height() - nPrtHeightDiff );
Prt().Width ( Frm().Width() - nPrtWidthDiff );
ChgLowersProp( aTmpOldSize );
SwFrm *pLow = Lower();
do
- { pLow->Calc();
+ { pLow->Calc();
// auch den (Column)BodyFrm mitkalkulieren
((SwLayoutFrm*)pLow)->Lower()->Calc();
pLow = pLow->GetNext();
@@ -542,10 +542,10 @@ bool SwFlyFreeFrm::IsFormatPossible() const
/*************************************************************************
|*
-|* SwFlyLayFrm::SwFlyLayFrm()
+|* SwFlyLayFrm::SwFlyLayFrm()
|*
-|* Ersterstellung MA 25. Aug. 92
-|* Letzte Aenderung MA 09. Apr. 99
+|* Ersterstellung MA 25. Aug. 92
+|* Letzte Aenderung MA 09. Apr. 99
|*
|*************************************************************************/
@@ -560,10 +560,10 @@ TYPEINIT1(SwFlyLayFrm,SwFlyFreeFrm);
// <--
/*************************************************************************
|*
-|* SwFlyLayFrm::Modify()
+|* SwFlyLayFrm::Modify()
|*
-|* Ersterstellung MA 08. Feb. 93
-|* Letzte Aenderung MA 28. Aug. 93
+|* Ersterstellung MA 08. Feb. 93
+|* Letzte Aenderung MA 28. Aug. 93
|*
|*************************************************************************/
@@ -575,7 +575,7 @@ void SwFlyLayFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
if( RES_ATTRSET_CHG == nWhich && SFX_ITEM_SET ==
((SwAttrSetChg*)pNew)->GetChgSet()->GetItemState( RES_ANCHOR, FALSE,
(const SfxPoolItem**)&pAnch ))
- ; // Beim GetItemState wird der AnkerPointer gesetzt !
+ ; // Beim GetItemState wird der AnkerPointer gesetzt !
else if( RES_ANCHOR == nWhich )
{
@@ -644,10 +644,10 @@ void SwFlyLayFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
/*************************************************************************
|*
-|* SwPageFrm::AppendFly()
+|* SwPageFrm::AppendFly()
|*
-|* Ersterstellung MA 10. Oct. 92
-|* Letzte Aenderung MA 08. Jun. 96
+|* Ersterstellung MA 10. Oct. 92
+|* Letzte Aenderung MA 08. Jun. 96
|*
|*************************************************************************/
@@ -756,10 +756,10 @@ void SwPageFrm::AppendFlyToPage( SwFlyFrm *pNew )
/*************************************************************************
|*
-|* SwPageFrm::RemoveFly()
+|* SwPageFrm::RemoveFly()
|*
-|* Ersterstellung MA 10. Oct. 92
-|* Letzte Aenderung MA 26. Aug. 96
+|* Ersterstellung MA 10. Oct. 92
+|* Letzte Aenderung MA 26. Aug. 96
|*
|*************************************************************************/
@@ -800,7 +800,7 @@ void SwPageFrm::RemoveFlyFromPage( SwFlyFrm *pToRemove )
{
pSortedObjs->Remove( *pToRemove );
if ( !pSortedObjs->Count() )
- { DELETEZ( pSortedObjs );
+ { DELETEZ( pSortedObjs );
}
}
// --> OD 2004-06-30 #i28701# - use new method <SetPageFrm(..)>
@@ -809,10 +809,10 @@ void SwPageFrm::RemoveFlyFromPage( SwFlyFrm *pToRemove )
/*************************************************************************
|*
-|* SwPageFrm::MoveFly
+|* SwPageFrm::MoveFly
|*
-|* Ersterstellung MA 25. Jan. 97
-|* Letzte Aenderung MA 25. Jan. 97
+|* Ersterstellung MA 25. Jan. 97
+|* Letzte Aenderung MA 25. Jan. 97
|*
|*************************************************************************/
@@ -854,7 +854,7 @@ void SwPageFrm::MoveFly( SwFlyFrm *pToMove, SwPageFrm *pDest )
{
pSortedObjs->Remove( *pToMove );
if ( !pSortedObjs->Count() )
- { DELETEZ( pSortedObjs );
+ { DELETEZ( pSortedObjs );
}
}
@@ -1011,10 +1011,10 @@ void SwPageFrm::RemoveDrawObjFromPage( SwAnchoredObject& _rToRemoveObj )
/*************************************************************************
|*
-|* SwPageFrm::PlaceFly
+|* SwPageFrm::PlaceFly
|*
-|* Ersterstellung MA 08. Feb. 93
-|* Letzte Aenderung MA 27. Feb. 93
+|* Ersterstellung MA 08. Feb. 93
+|* Letzte Aenderung MA 27. Feb. 93
|*
|*************************************************************************/
@@ -1047,10 +1047,10 @@ void SwPageFrm::PlaceFly( SwFlyFrm* pFly, SwFlyFrmFmt* pFmt )
/*************************************************************************
|*
-|* ::CalcClipRect
+|* ::CalcClipRect
|*
-|* Ersterstellung AMA 24. Sep. 96
-|* Letzte Aenderung MA 18. Dec. 96
+|* Ersterstellung AMA 24. Sep. 96
+|* Letzte Aenderung MA 18. Dec. 96
|*
|*************************************************************************/
// OD 22.09.2003 #i18732# - adjustments for following text flow or not
diff --git a/sw/source/core/layout/flypos.cxx b/sw/source/core/layout/flypos.cxx
index 8cb2d5a7fccd..77898e233a7c 100644
--- a/sw/source/core/layout/flypos.cxx
+++ b/sw/source/core/layout/flypos.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -96,7 +96,7 @@ SwPosFlyFrm::~SwPosFlyFrm()
BOOL SwPosFlyFrm::operator==( const SwPosFlyFrm& )
{
- return FALSE; // FlyFrames koennen auf der gleichen Position stehen
+ return FALSE; // FlyFrames koennen auf der gleichen Position stehen
}
BOOL SwPosFlyFrm::operator<( const SwPosFlyFrm& rPosFly )
diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx
index 992e09afce22..94ca3ac8e1ba 100644
--- a/sw/source/core/layout/frmtool.cxx
+++ b/sw/source/core/layout/frmtool.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -109,10 +109,10 @@ BOOL StackHack::bLocked = FALSE;
/*************************************************************************
|*
-|* SwFrmNotify::SwFrmNotify()
+|* SwFrmNotify::SwFrmNotify()
|*
-|* Ersterstellung MA 27. Nov. 92
-|* Letzte Aenderung MA 09. Apr. 97
+|* Ersterstellung MA 27. Nov. 92
+|* Letzte Aenderung MA 09. Apr. 97
|*
|*************************************************************************/
@@ -144,10 +144,10 @@ SwFrmNotify::SwFrmNotify( SwFrm *pF ) :
/*************************************************************************
|*
-|* SwFrmNotify::~SwFrmNotify()
+|* SwFrmNotify::~SwFrmNotify()
|*
-|* Ersterstellung MA 27. Nov. 92
-|* Letzte Aenderung MA 09. Apr. 97
+|* Ersterstellung MA 27. Nov. 92
+|* Letzte Aenderung MA 09. Apr. 97
|*
|*************************************************************************/
@@ -459,10 +459,10 @@ SwFrmNotify::~SwFrmNotify()
/*************************************************************************
|*
-|* SwLayNotify::SwLayNotify()
+|* SwLayNotify::SwLayNotify()
|*
-|* Ersterstellung MA 17. Nov. 92
-|* Letzte Aenderung MA 03. Jun. 93
+|* Ersterstellung MA 17. Nov. 92
+|* Letzte Aenderung MA 03. Jun. 93
|*
|*************************************************************************/
@@ -475,10 +475,10 @@ SwLayNotify::SwLayNotify( SwLayoutFrm *pLayFrm ) :
/*************************************************************************
|*
-|* SwLayNotify::~SwLayNotify()
+|* SwLayNotify::~SwLayNotify()
|*
-|* Ersterstellung MA 17. Nov. 92
-|* Letzte Aenderung MA 13. Jun. 96
+|* Ersterstellung MA 17. Nov. 92
+|* Letzte Aenderung MA 13. Jun. 96
|*
|*************************************************************************/
@@ -545,7 +545,7 @@ SwLayNotify::~SwLayNotify()
//1. Wenn der Formatierte kein Fly ist
//2. Wenn er keine Spalten enthaelt
//3. Wenn der Fly eine feste Hoehe hat und die Spalten in der
- // Hoehe danebenliegen.
+ // Hoehe danebenliegen.
//4. niemals bei SectionFrms.
BOOL bLow;
if( pLay->IsFlyFrm() )
@@ -691,10 +691,10 @@ SwLayNotify::~SwLayNotify()
/*************************************************************************
|*
-|* SwFlyNotify::SwFlyNotify()
+|* SwFlyNotify::SwFlyNotify()
|*
-|* Ersterstellung MA 17. Nov. 92
-|* Letzte Aenderung MA 26. Aug. 93
+|* Ersterstellung MA 17. Nov. 92
+|* Letzte Aenderung MA 26. Aug. 93
|*
|*************************************************************************/
@@ -710,10 +710,10 @@ SwFlyNotify::SwFlyNotify( SwFlyFrm *pFlyFrm ) :
/*************************************************************************
|*
-|* SwFlyNotify::~SwFlyNotify()
+|* SwFlyNotify::~SwFlyNotify()
|*
-|* Ersterstellung MA 17. Nov. 92
-|* Letzte Aenderung MA 09. Nov. 95
+|* Ersterstellung MA 17. Nov. 92
+|* Letzte Aenderung MA 09. Nov. 95
|*
|*************************************************************************/
@@ -826,10 +826,10 @@ SwFlyNotify::~SwFlyNotify()
/*************************************************************************
|*
-|* SwCntntNotify::SwCntntNotify()
+|* SwCntntNotify::SwCntntNotify()
|*
-|* Ersterstellung MA 24. Nov. 92
-|* Letzte Aenderung MA 16. May. 95
+|* Ersterstellung MA 24. Nov. 92
+|* Letzte Aenderung MA 16. May. 95
|*
|*************************************************************************/
@@ -861,10 +861,10 @@ SwCntntNotify::SwCntntNotify( SwCntntFrm *pCntntFrm ) :
/*************************************************************************
|*
-|* SwCntntNotify::~SwCntntNotify()
+|* SwCntntNotify::~SwCntntNotify()
|*
-|* Ersterstellung MA 24. Nov. 92
-|* Letzte Aenderung MA 09. Apr. 97
+|* Ersterstellung MA 24. Nov. 92
+|* Letzte Aenderung MA 09. Apr. 97
|*
|*************************************************************************/
@@ -890,7 +890,7 @@ SwCntntNotify::~SwCntntNotify()
pCell = pCell->GetUpper();
OSL_ENSURE( pCell->IsCellFrm(), "Where's my cell?" );
if ( text::VertOrientation::NONE != pCell->GetFmt()->GetVertOrient().GetVertOrient() )
- pCell->InvalidatePrt(); //fuer vertikale Ausrichtung.
+ pCell->InvalidatePrt(); //fuer vertikale Ausrichtung.
}
// OD 2004-02-26 #i25029#
@@ -960,7 +960,7 @@ SwCntntNotify::~SwCntntNotify()
SwFEShell *pFESh = 0;
ViewShell *pTmp = pSh;
do
- { if ( pTmp->ISA( SwCrsrShell ) )
+ { if ( pTmp->ISA( SwCrsrShell ) )
{
pFESh = (SwFEShell*)pTmp;
// #108369#: Here used to be the condition if (!bFirst).
@@ -1004,7 +1004,7 @@ SwCntntNotify::~SwCntntNotify()
if ( bFirst )
{
- pCnt->SetRetouche(); //fix(13870)
+ pCnt->SetRetouche(); //fix(13870)
SwDoc *pDoc = pCnt->GetNode()->GetDoc();
if ( pDoc->GetSpzFrmFmts()->Count() &&
@@ -1034,7 +1034,7 @@ SwCntntNotify::~SwCntntNotify()
if ((FLY_AT_PAGE != rAnch.GetAnchorId()) &&
(FLY_AT_PARA != rAnch.GetAnchorId()))
{
- continue; //#60878# nicht etwa zeichengebundene.
+ continue; //#60878# nicht etwa zeichengebundene.
}
BOOL bCheckPos = FALSE;
@@ -1109,13 +1109,13 @@ SwCntntNotify::~SwCntntNotify()
/*************************************************************************
|*
-|* InsertCnt
+|* InsertCnt
|*
-|* Beschreibung Hilfsfunktionen, die friend von irgendwem sind, damit
-|* nicht immer gleich 'ne ganze Klasse befreundet werden
-|* muss.
-|* Ersterstellung MA 13. Apr. 93
-|* Letzte Aenderung MA 11. May. 95
+|* Beschreibung Hilfsfunktionen, die friend von irgendwem sind, damit
+|* nicht immer gleich 'ne ganze Klasse befreundet werden
+|* muss.
+|* Ersterstellung MA 13. Apr. 93
+|* Letzte Aenderung MA 11. May. 95
|*
|*************************************************************************/
@@ -1332,8 +1332,8 @@ void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc,
SwPageFrm *pPage = pLay->FindPageFrm();
const SwSpzFrmFmts *pTbl = pDoc->GetSpzFrmFmts();
- SwFrm *pFrm = 0;
- BOOL bBreakAfter = FALSE;
+ SwFrm *pFrm = 0;
+ BOOL bBreakAfter = FALSE;
SwActualSection *pActualSection = 0;
SwLayHelper *pPageMaker;
@@ -1433,7 +1433,7 @@ void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc,
AppendObjs( pTbl, nIndex, pFrm, pPage );
}
else if ( pNd->IsTableNode() )
- { //Sollten wir auf eine Tabelle gestossen sein?
+ { //Sollten wir auf eine Tabelle gestossen sein?
SwTableNode *pTblNode = (SwTableNode*)pNd;
// #108116# loading may produce table structures that GCLines
@@ -1647,7 +1647,7 @@ void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc,
}
}
else if( pNd->IsStartNode() &&
- SwFlyStartNode == ((SwStartNode*)pNd)->GetStartNodeType() )
+ SwFlyStartNode == ((SwStartNode*)pNd)->GetStartNodeType() )
{
if ( pTbl->Count() && bObjsDirect && !bDontCreateObjects )
{
@@ -1680,7 +1680,7 @@ void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc,
delete pActualSection;
}
- if ( bPages ) //Jetzt noch die Flys verbinden lassen.
+ if ( bPages ) //Jetzt noch die Flys verbinden lassen.
{
if ( !bDontCreateObjects )
AppendAllObjs( pTbl );
@@ -1926,10 +1926,10 @@ void MakeFrms( SwDoc *pDoc, const SwNodeIndex &rSttIdx,
/*************************************************************************
|*
-|* SwBorderAttrs::Ctor, DTor
+|* SwBorderAttrs::Ctor, DTor
|*
-|* Ersterstellung MA 19. May. 93
-|* Letzte Aenderung MA 25. Jan. 97
+|* Ersterstellung MA 19. May. 93
+|* Letzte Aenderung MA 25. Jan. 97
|*
|*************************************************************************/
@@ -1938,13 +1938,13 @@ SwBorderAttrs::SwBorderAttrs( const SwModify *pMod, const SwFrm *pConstructor )
rAttrSet( pConstructor->IsCntntFrm()
? ((SwCntntFrm*)pConstructor)->GetNode()->GetSwAttrSet()
: ((SwLayoutFrm*)pConstructor)->GetFmt()->GetAttrSet() ),
- rUL ( rAttrSet.GetULSpace() ),
+ rUL ( rAttrSet.GetULSpace() ),
// --> OD 2008-12-04 #i96772#
// LRSpaceItem is copied due to the possibility that it is adjusted - see below
rLR ( rAttrSet.GetLRSpace() ),
// <--
- rBox ( rAttrSet.GetBox() ),
- rShadow ( rAttrSet.GetShadow() ),
+ rBox ( rAttrSet.GetBox() ),
+ rShadow ( rAttrSet.GetShadow() ),
aFrmSize( rAttrSet.GetFrmSize().GetSize() )
{
// --> OD 2008-12-02 #i96772#
@@ -1977,15 +1977,15 @@ SwBorderAttrs::~SwBorderAttrs()
/*************************************************************************
|*
-|* SwBorderAttrs::CalcTop(), CalcBottom(), CalcLeft(), CalcRight()
+|* SwBorderAttrs::CalcTop(), CalcBottom(), CalcLeft(), CalcRight()
|*
-|* Beschreibung Die Calc-Methoden errechnen zusaetzlich zu den
-|* von den Attributen vorgegebenen Groessen einen Sicherheitsabstand.
-|* der Sicherheitsabstand wird nur einkalkuliert, wenn Umrandung und/oder
-|* Schatten im Spiel sind; er soll vermeiden, dass aufgrund der
-|* groben physikalischen Gegebenheiten Raender usw. uebermalt werden.
-|* Ersterstellung MA 19. May. 93
-|* Letzte Aenderung MA 08. Jul. 93
+|* Beschreibung Die Calc-Methoden errechnen zusaetzlich zu den
+|* von den Attributen vorgegebenen Groessen einen Sicherheitsabstand.
+|* der Sicherheitsabstand wird nur einkalkuliert, wenn Umrandung und/oder
+|* Schatten im Spiel sind; er soll vermeiden, dass aufgrund der
+|* groben physikalischen Gegebenheiten Raender usw. uebermalt werden.
+|* Ersterstellung MA 19. May. 93
+|* Letzte Aenderung MA 08. Jul. 93
|*
|*************************************************************************/
@@ -2065,15 +2065,15 @@ long SwBorderAttrs::CalcLeft( const SwFrm *pCaller ) const
/*************************************************************************
|*
-|* SwBorderAttrs::CalcTopLine(), CalcBottomLine(),
-|* CalcLeftLine(), CalcRightLine()
+|* SwBorderAttrs::CalcTopLine(), CalcBottomLine(),
+|* CalcLeftLine(), CalcRightLine()
|*
-|* Beschreibung Berechnung der Groessen fuer Umrandung und Schatten.
-|* Es kann auch ohne Linien ein Abstand erwuenscht sein,
-|* dieser wird dann nicht vom Attribut sondern hier
-|* beruecksichtigt (bBorderDist, z.B. fuer Zellen).
-|* Ersterstellung MA 21. May. 93
-|* Letzte Aenderung MA 07. Jun. 99
+|* Beschreibung Berechnung der Groessen fuer Umrandung und Schatten.
+|* Es kann auch ohne Linien ein Abstand erwuenscht sein,
+|* dieser wird dann nicht vom Attribut sondern hier
+|* beruecksichtigt (bBorderDist, z.B. fuer Zellen).
+|* Ersterstellung MA 21. May. 93
+|* Letzte Aenderung MA 07. Jun. 99
|*
|*************************************************************************/
@@ -2115,10 +2115,10 @@ void SwBorderAttrs::_CalcRightLine()
/*************************************************************************
|*
-|* SwBorderAttrs::_IsLine()
+|* SwBorderAttrs::_IsLine()
|*
-|* Ersterstellung MA 29. Sep. 94
-|* Letzte Aenderung MA 29. Sep. 94
+|* Ersterstellung MA 29. Sep. 94
+|* Letzte Aenderung MA 29. Sep. 94
|*
|*************************************************************************/
@@ -2131,24 +2131,24 @@ void SwBorderAttrs::_IsLine()
/*************************************************************************
|*
-|* SwBorderAttrs::CmpLeftRightLine(), IsTopLine(), IsBottomLine()
+|* SwBorderAttrs::CmpLeftRightLine(), IsTopLine(), IsBottomLine()
|*
-|* Die Umrandungen benachbarter Absaetze werden nach folgendem
-|* Algorithmus zusammengefasst:
+|* Die Umrandungen benachbarter Absaetze werden nach folgendem
+|* Algorithmus zusammengefasst:
|*
-|* 1. Die Umrandung oben faellt weg, wenn der Vorgaenger dieselbe
-|* Umrandung oben aufweist und 3. Zutrifft.
-|* Zusaetzlich muss der Absatz mindestens rechts oder links oder
-|* unten eine Umrandung haben.
-|* 2. Die Umrandung unten faellt weg, wenn der Nachfolger dieselbe
-|* Umrandung untern aufweist und 3. Zustrifft.
-|* Zusaetzlich muss der Absatz mindestens rechts oder links oder
-|* oben eine Umrandung haben.
-|* 3. Die Umrandungen links und rechts vor Vorgaenger bzw. Nachfolger
-|* sind identisch.
+|* 1. Die Umrandung oben faellt weg, wenn der Vorgaenger dieselbe
+|* Umrandung oben aufweist und 3. Zutrifft.
+|* Zusaetzlich muss der Absatz mindestens rechts oder links oder
+|* unten eine Umrandung haben.
+|* 2. Die Umrandung unten faellt weg, wenn der Nachfolger dieselbe
+|* Umrandung untern aufweist und 3. Zustrifft.
+|* Zusaetzlich muss der Absatz mindestens rechts oder links oder
+|* oben eine Umrandung haben.
+|* 3. Die Umrandungen links und rechts vor Vorgaenger bzw. Nachfolger
+|* sind identisch.
|*
-|* Ersterstellung MA 22. Mar. 95
-|* Letzte Aenderung MA 22. May. 95
+|* Ersterstellung MA 22. Mar. 95
+|* Letzte Aenderung MA 22. May. 95
|*
|*************************************************************************/
inline int CmpLines( const SvxBorderLine *pL1, const SvxBorderLine *pL2 )
@@ -2317,10 +2317,10 @@ void SwBorderAttrs::_GetBottomLine( const SwFrm& _rFrm )
/*************************************************************************
|*
-|* SwBorderAttrAccess::CTor
+|* SwBorderAttrAccess::CTor
|*
-|* Ersterstellung MA 20. Mar. 95
-|* Letzte Aenderung MA 29. Nov. 95
+|* Ersterstellung MA 20. Mar. 95
+|* Letzte Aenderung MA 29. Nov. 95
|*
|*************************************************************************/
@@ -2337,10 +2337,10 @@ SwBorderAttrAccess::SwBorderAttrAccess( SwCache &rCach, const SwFrm *pFrm ) :
/*************************************************************************
|*
-|* SwBorderAttrAccess::NewObj, Get
+|* SwBorderAttrAccess::NewObj, Get
|*
-|* Ersterstellung MA 20. Mar. 95
-|* Letzte Aenderung MA 20. Mar. 95
+|* Ersterstellung MA 20. Mar. 95
+|* Letzte Aenderung MA 20. Mar. 95
|*
|*************************************************************************/
@@ -2357,10 +2357,10 @@ SwBorderAttrs *SwBorderAttrAccess::Get()
/*************************************************************************
|*
-|* SwOrderIter::Ctor
+|* SwOrderIter::Ctor
|*
-|* Ersterstellung MA 06. Jan. 95
-|* Letzte Aenderung MA 22. Nov. 95
+|* Ersterstellung MA 06. Jan. 95
+|* Letzte Aenderung MA 22. Nov. 95
|*
|*************************************************************************/
@@ -2373,10 +2373,10 @@ SwOrderIter::SwOrderIter( const SwPageFrm *pPg, BOOL bFlys ) :
/*************************************************************************
|*
-|* SwOrderIter::Top()
+|* SwOrderIter::Top()
|*
-|* Ersterstellung MA 06. Jan. 95
-|* Letzte Aenderung MA 22. Nov. 95
+|* Ersterstellung MA 06. Jan. 95
+|* Letzte Aenderung MA 22. Nov. 95
|*
|*************************************************************************/
@@ -2409,10 +2409,10 @@ const SdrObject *SwOrderIter::Top()
/*************************************************************************
|*
-|* SwOrderIter::Bottom()
+|* SwOrderIter::Bottom()
|*
-|* Ersterstellung MA 06. Jan. 95
-|* Letzte Aenderung MA 22. Nov. 95
+|* Ersterstellung MA 06. Jan. 95
+|* Letzte Aenderung MA 22. Nov. 95
|*
|*************************************************************************/
@@ -2445,10 +2445,10 @@ const SdrObject *SwOrderIter::Bottom()
/*************************************************************************
|*
-|* SwOrderIter::Next()
+|* SwOrderIter::Next()
|*
-|* Ersterstellung MA 06. Jan. 95
-|* Letzte Aenderung MA 22. Nov. 95
+|* Ersterstellung MA 06. Jan. 95
+|* Letzte Aenderung MA 22. Nov. 95
|*
|*************************************************************************/
@@ -2482,10 +2482,10 @@ const SdrObject *SwOrderIter::Next()
/*************************************************************************
|*
-|* SwOrderIter::Prev()
+|* SwOrderIter::Prev()
|*
-|* Ersterstellung MA 06. Jan. 95
-|* Letzte Aenderung MA 22. Nov. 95
+|* Ersterstellung MA 06. Jan. 95
+|* Letzte Aenderung MA 22. Nov. 95
|*
|*************************************************************************/
@@ -2519,10 +2519,10 @@ const SdrObject *SwOrderIter::Prev()
/*************************************************************************
|*
-|* SaveCntnt(), RestoreCntnt()
+|* SaveCntnt(), RestoreCntnt()
|*
-|* Ersterstellung MA 10. Jun. 93
-|* Letzte Aenderung MA 07. Mar. 95
+|* Ersterstellung MA 10. Jun. 93
+|* Letzte Aenderung MA 07. Mar. 95
|*
|*************************************************************************/
@@ -2638,7 +2638,7 @@ SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart )
do
{
if( bGo )
- pFloat->GetUpper()->pLower = 0; //Die Teilkette ausklinken.
+ pFloat->GetUpper()->pLower = 0; //Die Teilkette ausklinken.
//Das Ende der Teilkette suchen, unterwegs die Flys abmelden.
do
@@ -2656,7 +2656,7 @@ SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart )
if( pCnt )
{
do
- { if ( pCnt->GetDrawObjs() )
+ { if ( pCnt->GetDrawObjs() )
::lcl_RemoveObjsFromPage( pCnt );
pCnt = pCnt->GetNextCntntFrm();
} while ( pCnt && ((SwLayoutFrm*)pFloat)->IsAnLower( pCnt ) );
@@ -2666,7 +2666,7 @@ SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart )
OSL_ENSURE( !pFloat, "Neuer Float-Frame?" );
}
}
- if ( pFloat->GetNext() )
+ if ( pFloat->GetNext() )
{
if( bGo )
pFloat->pUpper = NULL;
@@ -2697,7 +2697,7 @@ SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart )
if ( pTmp && bGo )
{
- pFloat->pNext = pTmp; //Die beiden Ketten verbinden.
+ pFloat->pNext = pTmp; //Die beiden Ketten verbinden.
pFloat->pNext->pPrev = pFloat;
}
pFloat = pTmp;
@@ -2793,9 +2793,9 @@ void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGro
pSibling->Prepare( PREP_CLEAR, 0, sal_False );
}
else
- { pNxt = pParent->pLower;
+ { pNxt = pParent->pLower;
pParent->pLower = pSav;
- pSav->pUpper = pParent; //Schon mal setzen, sonst ist fuer das
+ pSav->pUpper = pParent; //Schon mal setzen, sonst ist fuer das
//invalidate der Parent (z.B. ein Fly) nicht klar.
//Invaliden Cntnt anmelden.
if ( pSav->IsCntntFrm() )
@@ -2812,7 +2812,7 @@ void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGro
SwTwips nGrowVal = 0;
SwFrm* pLast;
do
- { pSav->pUpper = pParent;
+ { pSav->pUpper = pParent;
nGrowVal += (pSav->Frm().*fnRect->fnGetHeight)();
pSav->_InvalidateAll();
@@ -2821,21 +2821,21 @@ void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGro
{
if ( pSav->IsTxtFrm() &&
((SwTxtFrm*)pSav)->GetCacheIdx() != USHRT_MAX )
- ((SwTxtFrm*)pSav)->Init(); //Ich bin sein Freund.
+ ((SwTxtFrm*)pSav)->Init(); //Ich bin sein Freund.
if ( pPage && pSav->GetDrawObjs() )
::lcl_AddObjsToPage( (SwCntntFrm*)pSav, pPage );
}
else
- { SwCntntFrm *pBlub = ((SwLayoutFrm*)pSav)->ContainsCntnt();
+ { SwCntntFrm *pBlub = ((SwLayoutFrm*)pSav)->ContainsCntnt();
if( pBlub )
{
do
- { if ( pPage && pBlub->GetDrawObjs() )
+ { if ( pPage && pBlub->GetDrawObjs() )
::lcl_AddObjsToPage( pBlub, pPage );
if( pBlub->IsTxtFrm() && ((SwTxtFrm*)pBlub)->HasFtn() &&
((SwTxtFrm*)pBlub)->GetCacheIdx() != USHRT_MAX )
- ((SwTxtFrm*)pBlub)->Init(); //Ich bin sein Freund.
+ ((SwTxtFrm*)pBlub)->Init(); //Ich bin sein Freund.
pBlub = pBlub->GetNextCntntFrm();
} while ( pBlub && ((SwLayoutFrm*)pSav)->IsAnLower( pBlub ));
}
@@ -2857,11 +2857,11 @@ void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGro
/*************************************************************************
|*
-|* SqRt() Berechnung der Quadratwurzel, damit die math.lib
-|* nicht auch noch dazugelinkt werden muss.
+|* SqRt() Berechnung der Quadratwurzel, damit die math.lib
+|* nicht auch noch dazugelinkt werden muss.
|*
-|* Ersterstellung OK ??
-|* Letzte Aenderung MA 09. Jan. 97
+|* Ersterstellung OK ??
+|* Letzte Aenderung MA 09. Jan. 97
|*
|*************************************************************************/
@@ -2883,10 +2883,10 @@ ULONG MA_FASTCALL SqRt( BigInt nX )
/*************************************************************************
|*
-|* InsertNewPage() Einsetzen einer neuen Seite.
+|* InsertNewPage() Einsetzen einer neuen Seite.
|*
-|* Ersterstellung MA 01. Jul. 93
-|* Letzte Aenderung MA 31. Jul. 95
+|* Ersterstellung MA 01. Jul. 93
+|* Letzte Aenderung MA 31. Jul. 95
|*
|*************************************************************************/
@@ -2924,12 +2924,12 @@ SwPageFrm * MA_FASTCALL InsertNewPage( SwPageDesc &rDesc, SwFrm *pUpper,
/*************************************************************************
|*
-|* RegistFlys(), Regist() Die beiden folgenden Methoden durchsuchen rekursiv
-|* eine Layoutstruktur und melden alle FlyFrms, die einen beliebigen Frm
-|* innerhalb der Struktur als Anker haben bei der Seite an.
+|* RegistFlys(), Regist() Die beiden folgenden Methoden durchsuchen rekursiv
+|* eine Layoutstruktur und melden alle FlyFrms, die einen beliebigen Frm
+|* innerhalb der Struktur als Anker haben bei der Seite an.
|*
-|* Ersterstellung MA 08. Jul. 93
-|* Letzte Aenderung MA 07. Jul. 95
+|* Ersterstellung MA 08. Jul. 93
+|* Letzte Aenderung MA 07. Jul. 95
|*
|*************************************************************************/
@@ -2997,12 +2997,12 @@ void RegistFlys( SwPageFrm *pPage, const SwLayoutFrm *pLay )
/*************************************************************************
|*
-|* void Notify()
+|* void Notify()
|*
-|* Beschreibung Benachrichtigt den Hintergrund je nach der
-|* Veraenderung zwischen altem und neuem Rechteckt.
-|* Ersterstellung MA 18. Jun. 93
-|* Letzte Aenderung MA 06. Jun. 96
+|* Beschreibung Benachrichtigt den Hintergrund je nach der
+|* Veraenderung zwischen altem und neuem Rechteckt.
+|* Ersterstellung MA 18. Jun. 93
+|* Letzte Aenderung MA 06. Jun. 96
|*
|*************************************************************************/
@@ -3011,7 +3011,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
{
const SwRect aFrm( pFly->GetObjRectWithSpaces() );
if ( rOld.Pos() != aFrm.Pos() )
- { //Positionsaenderung, alten und neuen Bereich invalidieren
+ { //Positionsaenderung, alten und neuen Bereich invalidieren
if ( rOld.HasArea() &&
rOld.Left()+pFly->GetFmt()->GetLRSpace().GetLeft() < WEIT_WECH )
{
@@ -3020,7 +3020,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
pFly->NotifyBackground( pFly->FindPageFrm(), aFrm, PREP_FLY_ARRIVE );
}
else if ( rOld.SSize() != aFrm.SSize() )
- { //Groessenaenderung, den Bereich der Verlassen wurde bzw. jetzt
+ { //Groessenaenderung, den Bereich der Verlassen wurde bzw. jetzt
//ueberdeckt wird invalidieren.
//Der Einfachheit halber wird hier bewusst jeweils ein Twip
//unnoetig invalidiert.
@@ -3042,7 +3042,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
{
SwRect aTmp( rOld );
aTmp.Union( aFrm );
- aTmp.Left( Min(aFrm.Left(), rOld.Left()) );
+ aTmp.Left( Min(aFrm.Left(), rOld.Left()) );
aTmp.Right( Max(aFrm.Left(), rOld.Left()) );
pFly->NotifyBackground( pOld, aTmp, PREP_FLY_CHGD );
}
@@ -3052,7 +3052,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
{
SwRect aTmp( rOld );
aTmp.Union( aFrm );
- aTmp.Left( Min(nNew, nOld) );
+ aTmp.Left( Min(nNew, nOld) );
aTmp.Right( Max(nNew, nOld) );
pFly->NotifyBackground( pOld, aTmp, PREP_FLY_CHGD );
}
@@ -3060,7 +3060,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
{
SwRect aTmp( rOld );
aTmp.Union( aFrm );
- aTmp.Top( Min(aFrm.Top(), rOld.Top()) );
+ aTmp.Top( Min(aFrm.Top(), rOld.Top()) );
aTmp.Bottom( Max(aFrm.Top(), rOld.Top()) );
pFly->NotifyBackground( pOld, aTmp, PREP_FLY_CHGD );
}
@@ -3070,7 +3070,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
{
SwRect aTmp( rOld );
aTmp.Union( aFrm );
- aTmp.Top( Min(nNew, nOld) );
+ aTmp.Top( Min(nNew, nOld) );
aTmp.Bottom( Max(nNew, nOld) );
pFly->NotifyBackground( pOld, aTmp, PREP_FLY_CHGD );
}
@@ -3085,7 +3085,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
/*************************************************************************
|*
-|* NotifyBackground()
+|* NotifyBackground()
|*
|*************************************************************************/
@@ -3332,9 +3332,9 @@ void Notify_Background( const SdrObject* pObj,
/*************************************************************************
|*
-|* GetVirtualUpper() liefert bei absatzgebundenen Objekten den Upper
+|* GetVirtualUpper() liefert bei absatzgebundenen Objekten den Upper
|* des Ankers. Falls es sich dabei um verkettete Rahmen oder
-|* Fussnoten handelt, wird ggf. der "virtuelle" Upper ermittelt.
+|* Fussnoten handelt, wird ggf. der "virtuelle" Upper ermittelt.
|*
|*************************************************************************/
@@ -3372,7 +3372,7 @@ const SwFrm* GetVirtualUpper( const SwFrm* pFrm, const Point& rPos )
/*************************************************************************
|*
-|* IsLowerOf()
+|* IsLowerOf()
|*
|*************************************************************************/
@@ -3394,7 +3394,7 @@ BOOL Is_Lower_Of( const SwFrm *pCurrFrm, const SdrObject* pObj )
OSL_ENSURE( pFrm, "8-( Fly is lost in Space." );
pFrm = GetVirtualUpper( pFrm, aPos );
do
- { if ( pFrm == pCurrFrm )
+ { if ( pFrm == pCurrFrm )
return TRUE;
if( pFrm->IsFlyFrm() )
{
@@ -3413,10 +3413,10 @@ const SwFrm *FindKontext( const SwFrm *pFrm, USHORT nAdditionalKontextTyp )
//Umgebung hineinragen kann.
const USHORT nTyp = FRM_ROOT | FRM_HEADER | FRM_FOOTER | FRM_FTNCONT |
FRM_FTN | FRM_FLY |
- FRM_TAB | FRM_ROW | FRM_CELL |
+ FRM_TAB | FRM_ROW | FRM_CELL |
nAdditionalKontextTyp;
do
- { if ( pFrm->GetType() & nTyp )
+ { if ( pFrm->GetType() & nTyp )
break;
pFrm = pFrm->GetUpper();
} while( pFrm );
@@ -3429,9 +3429,9 @@ BOOL IsFrmInSameKontext( const SwFrm *pInnerFrm, const SwFrm *pFrm )
const USHORT nTyp = FRM_ROOT | FRM_HEADER | FRM_FOOTER | FRM_FTNCONT |
FRM_FTN | FRM_FLY |
- FRM_TAB | FRM_ROW | FRM_CELL;
+ FRM_TAB | FRM_ROW | FRM_CELL;
do
- { if ( pFrm->GetType() & nTyp )
+ { if ( pFrm->GetType() & nTyp )
{
if( pFrm == pKontext )
return TRUE;
@@ -3488,7 +3488,7 @@ SwTwips MA_FASTCALL lcl_CalcCellRstHeight( SwLayoutFrm *pCell )
long nRstHeight = 0;
SwFrm *pLow = pCell->Lower();
do
- { nRstHeight += ::CalcRowRstHeight( (SwLayoutFrm*)pLow );
+ { nRstHeight += ::CalcRowRstHeight( (SwLayoutFrm*)pLow );
pLow = pLow->GetNext();
} while ( pLow );
diff --git a/sw/source/core/layout/ftnfrm.cxx b/sw/source/core/layout/ftnfrm.cxx
index 4683db4e5ac5..bb7675091f93 100644
--- a/sw/source/core/layout/ftnfrm.cxx
+++ b/sw/source/core/layout/ftnfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -55,12 +55,12 @@
/*************************************************************************
|*
-|* lcl_FindFtnPos() Sucht die Position des Attributes im FtnArray am
-|* Dokument, dort stehen die Fussnoten gluecklicherweise nach ihrem
-|* Index sortiert.
+|* lcl_FindFtnPos() Sucht die Position des Attributes im FtnArray am
+|* Dokument, dort stehen die Fussnoten gluecklicherweise nach ihrem
+|* Index sortiert.
|*
-|* Ersterstellung MA 29. Jun. 93
-|* Letzte Aenderung MA 13. Dec. 93
+|* Ersterstellung MA 29. Jun. 93
+|* Letzte Aenderung MA 13. Dec. 93
|*
|*************************************************************************/
@@ -115,13 +115,13 @@ BOOL SwFtnFrm::operator<( const SwTxtFtn* pTxtFtn ) const
/*************************************************************************
|*
-|* BOOL lcl_NextFtnBoss( SwFtnBossFrm* pBoss, SwPageFrm* pPage)
+|* BOOL lcl_NextFtnBoss( SwFtnBossFrm* pBoss, SwPageFrm* pPage)
|* setzt pBoss auf den naechsten SwFtnBossFrm, das kann entweder eine Spalte
|* oder eine Seite (ohne Spalten) sein. Wenn die Seite dabei gewechselt wird
|* enthaelt pPage die neue Seite und die Funktion liefert TRUE.
|*
-|* Ersterstellung AMA 06. Nov. 98
-|* Letzte Aenderung AMA 06. Nov. 98
+|* Ersterstellung AMA 06. Nov. 98
+|* Letzte Aenderung AMA 06. Nov. 98
|*
|*************************************************************************/
@@ -168,12 +168,12 @@ BOOL lcl_NextFtnBoss( SwFtnBossFrm* &rpBoss, SwPageFrm* &rpPage,
/*************************************************************************
|*
-|* USHORT lcl_ColumnNum( SwFrm* pBoss )
+|* USHORT lcl_ColumnNum( SwFrm* pBoss )
|* liefert die Spaltennummer, wenn pBoss eine Spalte ist,
|* sonst eine Null (bei Seiten).
|*
-|* Ersterstellung AMA 06. Nov. 98
-|* Letzte Aenderung AMA 06. Nov. 98
+|* Ersterstellung AMA 06. Nov. 98
+|* Letzte Aenderung AMA 06. Nov. 98
|*
|*************************************************************************/
@@ -199,7 +199,7 @@ USHORT lcl_ColumnNum( const SwFrm* pBoss )
pCol = pBoss;
while( pCol )
{
- nRet += 256; // Page columns
+ nRet += 256; // Page columns
pCol = pCol->GetPrev();
}
return nRet;
@@ -207,10 +207,10 @@ USHORT lcl_ColumnNum( const SwFrm* pBoss )
/*************************************************************************
|*
-|* SwFtnContFrm::SwFtnContFrm()
+|* SwFtnContFrm::SwFtnContFrm()
|*
-|* Ersterstellung MA 24. Feb. 93
-|* Letzte Aenderung MA 02. Mar. 93
+|* Ersterstellung MA 24. Feb. 93
+|* Letzte Aenderung MA 02. Mar. 93
|*
|*************************************************************************/
@@ -254,12 +254,12 @@ long lcl_Undersize( const SwFrm* pFrm )
/*************************************************************************
|*
-|* SwFtnContFrm::Format()
+|* SwFtnContFrm::Format()
|*
-|* Beschreibung: "Formatiert" den Frame;
-|* Die Fixsize wird hier nicht eingestellt.
-|* Ersterstellung MA 01. Mar. 93
-|* Letzte Aenderung MA 17. Nov. 98
+|* Beschreibung: "Formatiert" den Frame;
+|* Die Fixsize wird hier nicht eingestellt.
+|* Ersterstellung MA 01. Mar. 93
+|* Letzte Aenderung MA 17. Nov. 98
|*
|*************************************************************************/
@@ -339,10 +339,10 @@ void SwFtnContFrm::Format( const SwBorderAttrs * )
}
/*************************************************************************
|*
-|* SwFtnContFrm::GrowFrm(), ShrinkFrm()
+|* SwFtnContFrm::GrowFrm(), ShrinkFrm()
|*
-|* Ersterstellung MA 24. Feb. 93
-|* Letzte Aenderung AMA 05. Nov. 98
+|* Ersterstellung MA 24. Feb. 93
+|* Letzte Aenderung AMA 05. Nov. 98
|*
|*************************************************************************/
@@ -504,10 +504,10 @@ SwTwips SwFtnContFrm::ShrinkFrm( SwTwips nDiff, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwFtnFrm::SwFtnFrm()
+|* SwFtnFrm::SwFtnFrm()
|*
-|* Ersterstellung MA 24. Feb. 93
-|* Letzte Aenderung MA 11. Oct. 93
+|* Ersterstellung MA 24. Feb. 93
+|* Letzte Aenderung MA 11. Oct. 93
|*
|*************************************************************************/
@@ -528,10 +528,10 @@ SwFtnFrm::SwFtnFrm( SwFrmFmt *pFmt, SwCntntFrm *pCnt, SwTxtFtn *pAt ):
/*************************************************************************
|*
-|* SwFtnFrm::InvalidateNxtFtnCnts()
+|* SwFtnFrm::InvalidateNxtFtnCnts()
|*
-|* Ersterstellung MA 29. Jun. 93
-|* Letzte Aenderung MA 29. Jun. 93
+|* Ersterstellung MA 29. Jun. 93
+|* Letzte Aenderung MA 29. Jun. 93
|*
|*************************************************************************/
@@ -546,7 +546,7 @@ void SwFtnFrm::InvalidateNxtFtnCnts( SwPageFrm *pPage )
pCnt->InvalidatePage( pPage );
pCnt->_InvalidatePrt();
do
- { pCnt->_InvalidatePos();
+ { pCnt->_InvalidatePos();
if( pCnt->IsSctFrm() )
{
SwFrm* pTmp = ((SwSectionFrm*)pCnt)->ContainsAny();
@@ -598,10 +598,10 @@ SwTwips SwFtnFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwFtnFrm::Cut()
+|* SwFtnFrm::Cut()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 24. Jul. 95
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 24. Jul. 95
|*
|*************************************************************************/
@@ -649,7 +649,7 @@ void SwFtnFrm::Cut()
pSect->_InvalidateSize();
}
else
- { if ( Frm().Height() )
+ { if ( Frm().Height() )
pUp->Shrink( Frm().Height() );
pUp->SetCompletePaint();
pUp->InvalidatePage();
@@ -659,10 +659,10 @@ void SwFtnFrm::Cut()
/*************************************************************************
|*
-|* SwFtnFrm::Paste()
+|* SwFtnFrm::Paste()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 23. Feb. 94
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 23. Feb. 94
|*
|*************************************************************************/
@@ -728,13 +728,13 @@ void SwFtnFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
/*************************************************************************
|*
-|* SwFrm::GetNextFtnLeaf()
+|* SwFrm::GetNextFtnLeaf()
|*
-|* Beschreibung Liefert das naechste LayoutBlatt in den das
-|* Frame gemoved werden kann.
-|* Neue Seiten werden nur dann erzeugt, wenn der Parameter TRUE ist.
-|* Ersterstellung MA 16. Nov. 92
-|* Letzte Aenderung AMA 09. Nov. 98
+|* Beschreibung Liefert das naechste LayoutBlatt in den das
+|* Frame gemoved werden kann.
+|* Neue Seiten werden nur dann erzeugt, wenn der Parameter TRUE ist.
+|* Ersterstellung MA 16. Nov. 92
+|* Letzte Aenderung AMA 09. Nov. 98
|*
|*************************************************************************/
@@ -768,7 +768,7 @@ SwLayoutFrm *SwFrm::GetNextFtnLeaf( MakePageType eMakePage )
pPage = (SwPageFrm*)pOldPage->GetNext();
// Leerseiten ueberspringen
if( pPage && pPage->IsEmptyPage() )
- pPage = (SwPageFrm*)pPage->GetNext();
+ pPage = (SwPageFrm*)pPage->GetNext();
pBoss = pPage;
}
}
@@ -808,7 +808,7 @@ SwLayoutFrm *SwFrm::GetNextFtnLeaf( MakePageType eMakePage )
return 0;
}
if( pBoss->IsPageFrm() )
- { // Wenn wir auf einer spaltigen Seite gelandet sind,
+ { // Wenn wir auf einer spaltigen Seite gelandet sind,
// gehen wir in die erste Spalte
SwLayoutFrm* pLay = pBoss->FindBodyCont();
if( pLay && pLay->Lower() && pLay->Lower()->IsColumnFrm() )
@@ -824,12 +824,12 @@ SwLayoutFrm *SwFrm::GetNextFtnLeaf( MakePageType eMakePage )
/*************************************************************************
|*
-|* SwFrm::GetPrevFtnLeaf()
+|* SwFrm::GetPrevFtnLeaf()
|*
-|* Beschreibung Liefert das vorhergehende LayoutBlatt in das der
-|* Frame gemoved werden kann.
-|* Ersterstellung MA 16. Nov. 92
-|* Letzte Aenderung AMA 06. Nov. 98
+|* Beschreibung Liefert das vorhergehende LayoutBlatt in das der
+|* Frame gemoved werden kann.
+|* Ersterstellung MA 16. Nov. 92
+|* Letzte Aenderung AMA 06. Nov. 98
|*
|*************************************************************************/
@@ -876,8 +876,8 @@ SwLayoutFrm *SwFrm::GetPrevFtnLeaf( MakePageType eMakeFtn )
do
{
if( pNxtBoss->IsColumnFrm() && pNxtBoss->GetPrev() )
- pNxtBoss = (SwFtnBossFrm*)pNxtBoss->GetPrev(); // eine Spalte zurueck
- else // oder eine Seite zurueck
+ pNxtBoss = (SwFtnBossFrm*)pNxtBoss->GetPrev(); // eine Spalte zurueck
+ else // oder eine Seite zurueck
{
SwLayoutFrm* pBody = 0;
if( pSect )
@@ -925,7 +925,7 @@ SwLayoutFrm *SwFrm::GetPrevFtnLeaf( MakePageType eMakeFtn )
break;
}
if ( pStop == pNxtBoss )
- { //Die Seite/Spalte auf der sich auch die Referenz tummelt, ist erreicht.
+ { //Die Seite/Spalte auf der sich auch die Referenz tummelt, ist erreicht.
//Wir koennen jetzt probehalber mal einen Container erzeugen und
//uns hineinpasten.
if ( eMakeFtn == MAKEPAGE_FTN && pNxtBoss->GetMaxFtnHeight() )
@@ -939,12 +939,12 @@ SwLayoutFrm *SwFrm::GetPrevFtnLeaf( MakePageType eMakeFtn )
const SwFtnBossFrm* pNewBoss = pRet->FindFtnBossFrm();
BOOL bJump = FALSE;
if( pOldBoss->IsColumnFrm() && pOldBoss->GetPrev() ) // es gibt eine vorherige Spalte
- bJump = pOldBoss->GetPrev() != (SwFrm*)pNewBoss; // sind wir darin gelandet?
+ bJump = pOldBoss->GetPrev() != (SwFrm*)pNewBoss; // sind wir darin gelandet?
else if( pNewBoss->IsColumnFrm() && pNewBoss->GetNext() )
bJump = TRUE; // es gibt hinter dem neuen Boss noch eine Spalte, die aber nicht
// der alte Boss sein kann, das haben wir ja bereits geprueft.
else // hier landen wir nur, wenn neuer und alter Boss entweder Seiten oder letzte (neu)
- { // bzw. erste (alt) Spalten einer Seite sind. In diesem Fall muss noch geprueft
+ { // bzw. erste (alt) Spalten einer Seite sind. In diesem Fall muss noch geprueft
// werden, ob Seiten ueberspringen wurden.
USHORT nDiff = pOldPage->GetPhyPageNum() - pRet->FindPageFrm()->GetPhyPageNum();
if ( nDiff > 2 ||
@@ -959,10 +959,10 @@ SwLayoutFrm *SwFrm::GetPrevFtnLeaf( MakePageType eMakeFtn )
/*************************************************************************
|*
-|* SwFrm::IsFtnAllowed()
+|* SwFrm::IsFtnAllowed()
|*
-|* Ersterstellung MA 22. Mar. 94
-|* Letzte Aenderung MA 01. Dec. 94
+|* Ersterstellung MA 22. Mar. 94
+|* Letzte Aenderung MA 01. Dec. 94
|*
|*************************************************************************/
@@ -984,10 +984,10 @@ BOOL SwFrm::IsFtnAllowed() const
/*************************************************************************
|*
-|* SwRootFrm::UpdateFtnNums()
+|* SwRootFrm::UpdateFtnNums()
|*
-|* Ersterstellung MA 02. Mar. 93
-|* Letzte Aenderung MA 09. Dec. 97
+|* Ersterstellung MA 02. Mar. 93
+|* Letzte Aenderung MA 09. Dec. 97
|*
|*************************************************************************/
@@ -1008,11 +1008,11 @@ void SwRootFrm::UpdateFtnNums()
/*************************************************************************
|*
-|* RemoveFtns() Entfernen aller Fussnoten (nicht etwa die Referenzen)
-|* und Entfernen aller Fussnotenseiten.
+|* RemoveFtns() Entfernen aller Fussnoten (nicht etwa die Referenzen)
+|* und Entfernen aller Fussnotenseiten.
|*
-|* Ersterstellung MA 05. Dec. 97
-|* Letzte Aenderung AMA 06. Nov. 98
+|* Ersterstellung MA 05. Dec. 97
+|* Letzte Aenderung AMA 06. Nov. 98
|*
|*************************************************************************/
@@ -1055,7 +1055,7 @@ void lcl_RemoveFtns( SwFtnBossFrm* pBoss, BOOL bPageOnly, BOOL bEndNotes )
SwFrm* pLow = pBody->Lower();
while( pLow->GetNext() )
{
- if( pLow->IsSctFrm() && ( !pLow->GetNext() ||
+ if( pLow->IsSctFrm() && ( !pLow->GetNext() ||
((SwSectionFrm*)pLow)->IsAnyNoteAtEnd() ) &&
((SwSectionFrm*)pLow)->Lower() &&
((SwSectionFrm*)pLow)->Lower()->IsColumnFrm() )
@@ -1076,7 +1076,7 @@ void SwRootFrm::RemoveFtns( SwPageFrm *pPage, BOOL bPageOnly, BOOL bEndNotes )
pPage = (SwPageFrm*)Lower();
do
- { // Bei spaltigen Seiten muessen wir in allen Spalten aufraeumen
+ { // Bei spaltigen Seiten muessen wir in allen Spalten aufraeumen
SwFtnBossFrm* pBoss;
SwLayoutFrm* pBody = pPage->FindBodyCont();
if( pBody && pBody->Lower() && pBody->Lower()->IsColumnFrm() )
@@ -1105,10 +1105,10 @@ void SwRootFrm::RemoveFtns( SwPageFrm *pPage, BOOL bPageOnly, BOOL bEndNotes )
/*************************************************************************
|*
-|* SetFtnPageDescs() Seitenvorlagen der Fussnotenseiten aendern
+|* SetFtnPageDescs() Seitenvorlagen der Fussnotenseiten aendern
|*
-|* Ersterstellung MA 11. Dec. 97
-|* Letzte Aenderung MA 11. Dec. 97
+|* Ersterstellung MA 11. Dec. 97
+|* Letzte Aenderung MA 11. Dec. 97
|*
|*************************************************************************/
@@ -1126,10 +1126,10 @@ void SwRootFrm::CheckFtnPageDescs( BOOL bEndNote )
/*************************************************************************
|*
-|* SwFtnBossFrm::MakeFtnCont()
+|* SwFtnBossFrm::MakeFtnCont()
|*
-|* Ersterstellung MA 25. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 25. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1155,10 +1155,10 @@ SwFtnContFrm *SwFtnBossFrm::MakeFtnCont()
/*************************************************************************
|*
-|* SwFtnBossFrm::FindFtnCont()
+|* SwFtnBossFrm::FindFtnCont()
|*
-|* Ersterstellung MA 25. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 25. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1187,10 +1187,10 @@ SwFtnContFrm *SwFtnBossFrm::FindFtnCont()
/*************************************************************************
|*
-|* SwFtnBossFrm::FindNearestFtnCont() Sucht den naechst greifbaren Fussnotencontainer.
+|* SwFtnBossFrm::FindNearestFtnCont() Sucht den naechst greifbaren Fussnotencontainer.
|*
-|* Ersterstellung MA 02. Aug. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 02. Aug. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1221,11 +1221,11 @@ SwFtnContFrm *SwFtnBossFrm::FindNearestFtnCont( BOOL bDontLeave )
/*************************************************************************
|*
-|* SwFtnBossFrm::FindFirstFtn()
+|* SwFtnBossFrm::FindFirstFtn()
|*
-|* Beschreibung Erste Fussnote des Fussnotenbosses suchen.
-|* Ersterstellung MA 26. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 99
+|* Beschreibung Erste Fussnote des Fussnotenbosses suchen.
+|* Ersterstellung MA 26. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 99
|*
|*************************************************************************/
@@ -1263,7 +1263,7 @@ SwFtnFrm *SwFtnBossFrm::FindFirstFtn()
return NULL; //mind. eine Spalte zu weit.
}
else if ( nPgNum > nRefNum )
- return NULL; //mind. eine Seite zu weit.
+ return NULL; //mind. eine Seite zu weit.
}
else
return NULL;
@@ -1300,21 +1300,21 @@ SwFtnFrm *SwFtnBossFrm::FindFirstFtn()
pRet = 0; //mind. eine Spalte zu weit.
}
else if ( nPgNum > nRefNum )
- pRet = 0; //mind. eine Seite zu weit.
+ pRet = 0; //mind. eine Seite zu weit.
}
else
- pRet = 0; //Gibt eben keinen.
+ pRet = 0; //Gibt eben keinen.
} while( pRet );
return pRet;
}
/*************************************************************************
|*
-|* SwFtnBossFrm::FindFirstFtn()
+|* SwFtnBossFrm::FindFirstFtn()
|*
-|* Beschreibunt Erste Fussnote zum Cnt suchen.
-|* Ersterstellung MA 04. Mar. 93
-|* Letzte Aenderung AMA 28. Oct. 98
+|* Beschreibunt Erste Fussnote zum Cnt suchen.
+|* Ersterstellung MA 04. Mar. 93
+|* Letzte Aenderung AMA 28. Oct. 98
|*
|*************************************************************************/
@@ -1334,7 +1334,7 @@ const SwFtnFrm *SwFtnBossFrm::FindFirstFtn( SwCntntFrm *pCnt ) const
if ( pRet->GetNext() )
pRet = (const SwFtnFrm*)pRet->GetNext();
else
- { SwFtnBossFrm *pBoss = (SwFtnBossFrm*)pRet->FindFtnBossFrm();
+ { SwFtnBossFrm *pBoss = (SwFtnBossFrm*)pRet->FindFtnBossFrm();
SwPageFrm *pPage = pBoss->FindPageFrm();
lcl_NextFtnBoss( pBoss, pPage, FALSE ); // naechster FtnBoss
SwFtnContFrm *pCont = pBoss ? pBoss->FindNearestFtnCont() : 0;
@@ -1354,10 +1354,10 @@ const SwFtnFrm *SwFtnBossFrm::FindFirstFtn( SwCntntFrm *pCnt ) const
/*************************************************************************
|*
-|* SwFtnBossFrm::ResetFtn()
+|* SwFtnBossFrm::ResetFtn()
|*
-|* Ersterstellung MA 11. May. 95
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 11. May. 95
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1404,10 +1404,10 @@ void SwFtnBossFrm::ResetFtn( const SwFtnFrm *pCheck )
/*************************************************************************
|*
-|* SwFtnBossFrm::InsertFtn()
+|* SwFtnBossFrm::InsertFtn()
|*
-|* Ersterstellung MA 26. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 26. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1485,7 +1485,7 @@ void SwFtnBossFrm::InsertFtn( SwFtnFrm* pNew )
}
if ( !pSibling )
- { pParent = FindFtnCont();
+ { pParent = FindFtnCont();
if ( !pParent )
{
//Es gibt noch keinen FussnotenContainer, also machen wir einen.
@@ -1524,8 +1524,8 @@ void SwFtnBossFrm::InsertFtn( SwFtnFrm* pNew )
}
nCmpPos = ::lcl_FindFtnPos( pDoc, pSibling->GetAttr() );
- SwFtnBossFrm *pNxtB = this; //Immer den letzten merken, damit wir nicht
- SwFtnFrm *pLastSib = 0; //ueber das Ziel hinausschiessen.
+ SwFtnBossFrm *pNxtB = this; //Immer den letzten merken, damit wir nicht
+ SwFtnFrm *pLastSib = 0; //ueber das Ziel hinausschiessen.
while ( pSibling && nCmpPos <= nStPos )
{
@@ -1566,12 +1566,12 @@ void SwFtnBossFrm::InsertFtn( SwFtnFrm* pNew )
// pLastSib ist jetzt die letzte Fussnote vor uns,
// pSibling leer oder die erste nach uns.
if ( pSibling && pLastSib && (pSibling != pLastSib) )
- { //Sind wir vielleicht bereits ueber das Ziel hinausgeschossen?
+ { //Sind wir vielleicht bereits ueber das Ziel hinausgeschossen?
if ( nCmpPos > nStPos )
pSibling = pLastSib;
}
else if ( !pSibling )
- { //Eine Chance haben wir noch: wir nehmen einfach die letzte
+ { //Eine Chance haben wir noch: wir nehmen einfach die letzte
//Fussnote im Parent. Ein Sonderfall, der z.B. beim
//zurueckfliessen von Absaetzen mit mehreren Fussnoten
//vorkommt.
@@ -1585,13 +1585,13 @@ void SwFtnBossFrm::InsertFtn( SwFtnFrm* pNew )
}
}
else
- { //Die erste Fussnote der Spalte/Seite haben wir an der Hand, jetzt ausgehend
+ { //Die erste Fussnote der Spalte/Seite haben wir an der Hand, jetzt ausgehend
//von dieser die erste zur selben Spalte/Seite suchen deren Index hinter
//den uebergebenen zeigt, die letzte, die wir an der Hand hatten, ist
//dann der Vorgaenger.
SwFtnBossFrm* pBoss = pNew->GetRef()->FindFtnBossFrm(
!pNew->GetAttr()->GetFtn().IsEndNote() );
- USHORT nRefNum = pBoss->GetPhyPageNum(); // Die Seiten- und
+ USHORT nRefNum = pBoss->GetPhyPageNum(); // Die Seiten- und
USHORT nRefCol = lcl_ColumnNum( pBoss ); // Spaltennummer der neuen Fussnote
BOOL bEnd = FALSE;
SwFtnFrm *pLastSib = 0;
@@ -1634,7 +1634,7 @@ void SwFtnBossFrm::InsertFtn( SwFtnFrm* pNew )
if ( !bEnd && pSibling )
nCmpPos = ::lcl_FindFtnPos( pDoc, pSibling->GetAttr() );
if ( pSibling && pLastSib && (pSibling != pLastSib) )
- { //Sind wir vielleicht bereits ueber das Ziel hinausgeschossen?
+ { //Sind wir vielleicht bereits ueber das Ziel hinausgeschossen?
if ( (nLastPos < nCmpPos) && (nCmpPos > nStPos) )
{
pSibling = pLastSib;
@@ -1674,10 +1674,10 @@ void SwFtnBossFrm::InsertFtn( SwFtnFrm* pNew )
/*************************************************************************
|*
-|* SwFtnBossFrm::AppendFtn()
+|* SwFtnBossFrm::AppendFtn()
|*
-|* Ersterstellung MA 25. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 25. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1840,7 +1840,7 @@ void SwFtnBossFrm::AppendFtn( SwCntntFrm *pRef, SwTxtFtn *pAttr )
pBoss = pPage; // bei nichtspaltigen Seiten auf die Seite selbst
}
pBoss->InsertFtn( pNew );
- if ( pNew->GetUpper() ) //Eingesetzt oder nicht?
+ if ( pNew->GetUpper() ) //Eingesetzt oder nicht?
{
::RegistFlys( pNew->FindPageFrm(), pNew );
SwSectionFrm* pSect = FindSctFrm();
@@ -1862,7 +1862,7 @@ void SwFtnBossFrm::AppendFtn( SwCntntFrm *pRef, SwTxtFtn *pAttr )
// SwLayNotify* pFtnFrmNotitfy = new SwLayNotify( pNew );
// <--
SwCntntFrm *pCnt = pNew->ContainsCntnt();
- while ( pCnt && pCnt->FindFtnFrm()->GetAttr() == pAttr )
+ while ( pCnt && pCnt->FindFtnFrm()->GetAttr() == pAttr )
{
pCnt->Calc();
// --> OD 2005-05-17 #i49383# - format anchored objects
@@ -1909,10 +1909,10 @@ void SwFtnBossFrm::AppendFtn( SwCntntFrm *pRef, SwTxtFtn *pAttr )
}
/*************************************************************************
|*
-|* SwFtnBossFrm::FindFtn()
+|* SwFtnBossFrm::FindFtn()
|*
-|* Ersterstellung MA 25. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 25. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1960,10 +1960,10 @@ SwFtnFrm *SwFtnBossFrm::FindFtn( const SwCntntFrm *pRef, const SwTxtFtn *pAttr )
}
/*************************************************************************
|*
-|* SwFtnBossFrm::RemoveFtn()
+|* SwFtnBossFrm::RemoveFtn()
|*
-|* Ersterstellung MA 25. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 25. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1994,10 +1994,10 @@ void SwFtnBossFrm::RemoveFtn( const SwCntntFrm *pRef, const SwTxtFtn *pAttr,
/*************************************************************************
|*
-|* SwFtnBossFrm::ChangeFtnRef()
+|* SwFtnBossFrm::ChangeFtnRef()
|*
-|* Ersterstellung MA 25. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 25. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -2015,10 +2015,10 @@ void SwFtnBossFrm::ChangeFtnRef( const SwCntntFrm *pOld, const SwTxtFtn *pAttr,
/*************************************************************************
|*
-|* SwFtnBossFrm::CollectFtns()
+|* SwFtnBossFrm::CollectFtns()
|*
-|* Ersterstellung MA 24. Jul. 95
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 24. Jul. 95
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -2083,10 +2083,10 @@ void SwFtnBossFrm::CollectFtns( const SwCntntFrm* _pRef,
/*************************************************************************
|*
-|* SwFtnBossFrm::_CollectFtns()
+|* SwFtnBossFrm::_CollectFtns()
|*
-|* Ersterstellung MA 24. Jul. 95
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 24. Jul. 95
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
inline void FtnInArr( SvPtrarr& rFtnArr, SwFtnFrm* pFtn )
@@ -2118,7 +2118,7 @@ void SwFtnBossFrm::_CollectFtns( const SwCntntFrm* _pRef,
//(der Inhalt zu einem Attribut kann ueber mehrere Seiten verteilt sein)
//und ausschneiden.
- SvPtrarr aNotFtnArr( 20, 20 ); //Zur Robustheit werden hier die nicht
+ SvPtrarr aNotFtnArr( 20, 20 ); //Zur Robustheit werden hier die nicht
//dazugehoerigen Fussnoten eingetragen.
//Wenn eine Fussnote zweimal angefasst wird
//ists vorbei! So kommt die Funktion auch
@@ -2175,7 +2175,7 @@ void SwFtnBossFrm::_CollectFtns( const SwCntntFrm* _pRef,
}
if ( pNxtFtn == _pFtn )
{
- OSL_ENSURE( FALSE, "_CollectFtn: Devil's circle" );
+ OSL_ENSURE( FALSE, "_CollectFtn: Devil's circle" );
pNxtFtn = 0;
}
@@ -2209,9 +2209,9 @@ void SwFtnBossFrm::_CollectFtns( const SwCntntFrm* _pRef,
{
SwFrm *pCnt = pNxt->ContainsAny();
if ( pCnt )
- { //Unterwegs wird der Follow zerstoert weil er leer wird!
+ { //Unterwegs wird der Follow zerstoert weil er leer wird!
do
- { SwFrm *pNxtCnt = pCnt->GetNext();
+ { SwFrm *pNxtCnt = pCnt->GetNext();
pCnt->Cut();
pCnt->Paste( _pFtn );
pCnt = pNxtCnt;
@@ -2245,10 +2245,10 @@ void SwFtnBossFrm::_CollectFtns( const SwCntntFrm* _pRef,
/*************************************************************************
|*
-|* SwFtnBossFrm::_MoveFtns()
+|* SwFtnBossFrm::_MoveFtns()
|*
-|* Ersterstellung MA 26. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 26. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -2325,7 +2325,7 @@ void SwFtnBossFrm::_MoveFtns( SvPtrarr &rFtnArr, BOOL bCalc )
// SwLayNotify aFtnFrmNotitfy( pFtn );
// <--
- while ( pCnt && pCnt->FindFtnFrm()->GetAttr() == pAttr )
+ while ( pCnt && pCnt->FindFtnFrm()->GetAttr() == pAttr )
{
pCnt->_InvalidatePos();
pCnt->Calc();
@@ -2463,10 +2463,10 @@ void SwFtnBossFrm::_MoveFtns( SvPtrarr &rFtnArr, BOOL bCalc )
/*************************************************************************
|*
-|* SwFtnBossFrm::MoveFtns()
+|* SwFtnBossFrm::MoveFtns()
|*
-|* Ersterstellung BP 05. Aug. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung BP 05. Aug. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -2488,7 +2488,7 @@ void SwFtnBossFrm::MoveFtns( const SwCntntFrm *pSrc, SwCntntFrm *pDest,
ChangeFtnRef( pSrc, pAttr, pDest );
SwFtnBossFrm *pDestBoss = pDest->FindFtnBossFrm( TRUE );
OSL_ENSURE( pDestBoss, "+SwPageFrm::MoveFtns: no destination boss" );
- if( pDestBoss ) // robust
+ if( pDestBoss ) // robust
{
SvPtrarr aFtnArr( 5, 5 );
pDestBoss->_CollectFtns( pDest, pFtn, aFtnArr );
@@ -2511,10 +2511,10 @@ void SwFtnBossFrm::MoveFtns( const SwCntntFrm *pSrc, SwCntntFrm *pDest,
/*************************************************************************
|*
-|* SwFtnBossFrm::RearrangeFtns()
+|* SwFtnBossFrm::RearrangeFtns()
|*
-|* Ersterstellung MA 20. Jan. 94
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 20. Jan. 94
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -2755,10 +2755,10 @@ void SwFtnBossFrm::RearrangeFtns( const SwTwips nDeadLine, const BOOL bLock,
/*************************************************************************
|*
-|* SwPageFrm::UpdateFtnNum()
+|* SwPageFrm::UpdateFtnNum()
|*
-|* Ersterstellung MA 02. Mar. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 02. Mar. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -2820,10 +2820,10 @@ void SwPageFrm::UpdateFtnNum()
/*************************************************************************
|*
-|* SwFtnBossFrm::SetFtnDeadLine()
+|* SwFtnBossFrm::SetFtnDeadLine()
|*
-|* Ersterstellung MA 02. Aug. 93
-|* Letzte Aenderung MA 16. Nov. 98
+|* Ersterstellung MA 02. Aug. 93
+|* Letzte Aenderung MA 16. Nov. 98
|*
|*************************************************************************/
@@ -2856,10 +2856,10 @@ void SwFtnBossFrm::SetFtnDeadLine( const SwTwips nDeadLine )
/*************************************************************************
|*
-|* SwFtnBossFrm::GetVarSpace()
+|* SwFtnBossFrm::GetVarSpace()
|*
-|* Ersterstellung MA 03. Apr. 95
-|* Letzte Aenderung MA 16. Nov. 98
+|* Ersterstellung MA 03. Apr. 95
+|* Letzte Aenderung MA 16. Nov. 98
|*
|*************************************************************************/
SwTwips SwFtnBossFrm::GetVarSpace() const
@@ -2933,18 +2933,18 @@ SwTwips SwFtnBossFrm::GetVarSpace() const
/*************************************************************************
|*
-|* SwFtnBossFrm::NeighbourhoodAdjustment(SwFrm*)
+|* SwFtnBossFrm::NeighbourhoodAdjustment(SwFrm*)
|*
-|* gibt Auskunft, ob die Groessenveraenderung von pFrm von AdjustNeighbourhood(...)
-|* oder von Grow/Shrink(..) verarbeitet werden sollte.
-|* Bei einem PageFrm oder in Spalten direkt unterhalb der Seite muss AdjustNei..
+|* gibt Auskunft, ob die Groessenveraenderung von pFrm von AdjustNeighbourhood(...)
+|* oder von Grow/Shrink(..) verarbeitet werden sollte.
+|* Bei einem PageFrm oder in Spalten direkt unterhalb der Seite muss AdjustNei..
|* gerufen werden, in Rahmenspalten Grow/Shrink.
-|* Spannend sind die spaltigen Bereiche: Wenn es in der Spalte einen Fussnotencontainer
-|* gibt und die Fussnoten nicht vom Bereich eingesammelt werden, ist ein Adjust..,
-|* ansonsten ein Grow/Shrink notwendig.
+|* Spannend sind die spaltigen Bereiche: Wenn es in der Spalte einen Fussnotencontainer
+|* gibt und die Fussnoten nicht vom Bereich eingesammelt werden, ist ein Adjust..,
+|* ansonsten ein Grow/Shrink notwendig.
|*
-|* Ersterstellung AMA 09. Dec 98
-|* Letzte Aenderung AMA 09. Dec 98
+|* Ersterstellung AMA 09. Dec 98
+|* Letzte Aenderung AMA 09. Dec 98
|*
|*************************************************************************/
@@ -2979,10 +2979,10 @@ BYTE SwFtnBossFrm::_NeighbourhoodAdjustment( const SwFrm* ) const
/*************************************************************************
|*
-|* SwPageFrm::SetColMaxFtnHeight()
+|* SwPageFrm::SetColMaxFtnHeight()
|*
-|* Ersterstellung AMA 29. Oct 98
-|* Letzte Aenderung AMA 29. Oct 98
+|* Ersterstellung AMA 29. Oct 98
+|* Letzte Aenderung AMA 29. Oct 98
|*
|*************************************************************************/
void SwPageFrm::SetColMaxFtnHeight()
@@ -3001,10 +3001,10 @@ void SwPageFrm::SetColMaxFtnHeight()
/*************************************************************************
|*
-|* SwLayoutFrm::MoveLowerFtns
+|* SwLayoutFrm::MoveLowerFtns
|*
-|* Ersterstellung MA 01. Sep. 94
-|* Letzte Aenderung MA 05. Sep. 95
+|* Ersterstellung MA 01. Sep. 94
+|* Letzte Aenderung MA 05. Sep. 95
|*
|*************************************************************************/
@@ -3099,10 +3099,10 @@ BOOL SwLayoutFrm::MoveLowerFtns( SwCntntFrm *pStart, SwFtnBossFrm *pOldBoss,
/*************************************************************************
|*
-|* SwLayoutFrm::MoveFtnCntFwd()
+|* SwLayoutFrm::MoveFtnCntFwd()
|*
-|* Ersterstellung MA 24. Nov. 94
-|* Letzte Aenderung MA 15. Jun. 95
+|* Ersterstellung MA 24. Nov. 94
+|* Letzte Aenderung MA 15. Jun. 95
|*
|*************************************************************************/
@@ -3134,7 +3134,7 @@ BOOL SwCntntFrm::MoveFtnCntFwd( BOOL bMakePage, SwFtnBossFrm *pOldBoss )
if ( pNxt == pLst )
pNxt = 0;
else
- { pLst = pNxt;
+ { pLst = pNxt;
SwCntntFrm *pCnt = pNxt->ContainsCntnt();
if( pCnt )
pCnt->MoveFtnCntFwd( TRUE, pOldBoss );
@@ -3241,10 +3241,10 @@ BOOL SwCntntFrm::MoveFtnCntFwd( BOOL bMakePage, SwFtnBossFrm *pOldBoss )
/*************************************************************************
|*
-|* class SwSaveFtnHeight
+|* class SwSaveFtnHeight
|*
-|* Ersterstellung MA 19. Jan. 94
-|* Letzte Aenderung MA 19. Jan. 94
+|* Ersterstellung MA 19. Jan. 94
+|* Letzte Aenderung MA 19. Jan. 94
|*
|*************************************************************************/
@@ -3270,7 +3270,7 @@ SwSaveFtnHeight::~SwSaveFtnHeight()
#if OSL_DEBUG_LEVEL > 1
//JP 15.10.2001: in a non pro version test if the attribute has the same
-// meaning which his reference is
+// meaning which his reference is
// Normally, the pRef member and the GetRefFromAttr() result has to be
// identically. Sometimes footnote will be moved from a master to its follow,
diff --git a/sw/source/core/layout/hffrm.cxx b/sw/source/core/layout/hffrm.cxx
index 1af53c9ab927..f962c0ffddee 100644
--- a/sw/source/core/layout/hffrm.cxx
+++ b/sw/source/core/layout/hffrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -51,7 +51,7 @@
#include <objectformatter.hxx>
// <--
-extern BOOL bObjsDirect; //frmtool.cxx
+extern BOOL bObjsDirect; //frmtool.cxx
static SwTwips lcl_GetFrmMinHeight(const SwLayoutFrm & rFrm)
{
@@ -673,11 +673,11 @@ BOOL SwHeadFootFrm::GetEatSpacing() const
/*************************************************************************
|*
-|* SwPageFrm::PrepareHeader()
+|* SwPageFrm::PrepareHeader()
|*
-|* Beschreibung Erzeugt oder Entfernt Header
-|* Ersterstellung MA 04. Feb. 93
-|* Letzte Aenderung MA 12. May. 96
+|* Beschreibung Erzeugt oder Entfernt Header
+|* Ersterstellung MA 04. Feb. 93
+|* Letzte Aenderung MA 12. May. 96
|*
|*************************************************************************/
@@ -714,14 +714,14 @@ void SwPageFrm::PrepareHeader()
const BOOL bOn = !((SwFrmFmt*)pRegisteredIn)->getIDocumentSettingAccess()->get(IDocumentSettingAccess::BROWSE_MODE);
if ( bOn && rH.IsActive() )
- { //Header einsetzen, vorher entfernen falls vorhanden.
+ { //Header einsetzen, vorher entfernen falls vorhanden.
OSL_ENSURE( rH.GetHeaderFmt(), "FrmFmt fuer Header nicht gefunden." );
if ( pLay->GetFmt() == (SwFrmFmt*)rH.GetHeaderFmt() )
- return; //Der Footer ist bereits der richtige
+ return; //Der Footer ist bereits der richtige
if ( pLay->IsHeaderFrm() )
- { SwLayoutFrm *pDel = pLay;
+ { SwLayoutFrm *pDel = pLay;
pLay = (SwLayoutFrm*)pLay->GetNext();
::DelFlys( pDel, this );
pDel->Cut();
@@ -734,7 +734,7 @@ void SwPageFrm::PrepareHeader()
::RegistFlys( this, pH );
}
else if ( pLay && pLay->IsHeaderFrm() )
- { //Header entfernen falls vorhanden.
+ { //Header entfernen falls vorhanden.
::DelFlys( pLay, this );
pLay->Cut();
delete pLay;
@@ -742,11 +742,11 @@ void SwPageFrm::PrepareHeader()
}
/*************************************************************************
|*
-|* SwPageFrm::PrepareFooter()
+|* SwPageFrm::PrepareFooter()
|*
-|* Beschreibung Erzeugt oder Entfernt Footer
-|* Ersterstellung MA 04. Feb. 93
-|* Letzte Aenderung MA 12. May. 96
+|* Beschreibung Erzeugt oder Entfernt Footer
+|* Ersterstellung MA 04. Feb. 93
+|* Letzte Aenderung MA 12. May. 96
|*
|*************************************************************************/
@@ -764,14 +764,14 @@ void SwPageFrm::PrepareFooter()
const BOOL bOn = !((SwFrmFmt*)pRegisteredIn)->getIDocumentSettingAccess()->get(IDocumentSettingAccess::BROWSE_MODE);
if ( bOn && rF.IsActive() )
- { //Footer einsetzen, vorher entfernen falls vorhanden.
+ { //Footer einsetzen, vorher entfernen falls vorhanden.
OSL_ENSURE( rF.GetFooterFmt(), "FrmFmt fuer Footer nicht gefunden." );
if ( pLay->GetFmt() == (SwFrmFmt*)rF.GetFooterFmt() )
return; //Der Footer ist bereits der richtige.
if ( pLay->IsFooterFrm() )
- { ::DelFlys( pLay, this );
+ { ::DelFlys( pLay, this );
pLay->Cut();
delete pLay;
}
@@ -781,7 +781,7 @@ void SwPageFrm::PrepareFooter()
::RegistFlys( this, pF );
}
else if ( pLay && pLay->IsFooterFrm() )
- { //Footer entfernen falls vorhanden.
+ { //Footer entfernen falls vorhanden.
::DelFlys( pLay, this );
ViewShell *pSh;
if ( pLay->GetPrev() && 0 != (pSh = GetShell()) &&
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index ed0ffef89ea3..5099e9c239bb 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -51,7 +51,7 @@
#include "frmfmt.hxx"
#include "swregion.hxx"
#include "viewopt.hxx" // OnlineSpelling ueber Internal-TabPage testen.
-#include "pam.hxx" // OnlineSpelling wg. der aktuellen Cursorposition
+#include "pam.hxx" // OnlineSpelling wg. der aktuellen Cursorposition
#include "dbg_lay.hxx"
#include "layouter.hxx" // LoopControlling
#include "docstat.hxx"
@@ -100,10 +100,10 @@
/*************************************************************************
|*
-|* SwLayAction Statisches Geraffel
+|* SwLayAction Statisches Geraffel
|*
-|* Ersterstellung MA 22. Dec. 93
-|* Letzte Aenderung MA 22. Dec. 93
+|* Ersterstellung MA 22. Dec. 93
+|* Letzte Aenderung MA 22. Dec. 93
|*
|*************************************************************************/
@@ -120,15 +120,15 @@ static void BreakPoint()
}
#define CHECKPAGE \
- { if ( IsAgain() ) \
- { BreakPoint(); \
+ { if ( IsAgain() ) \
+ { BreakPoint(); \
return; \
} \
}
#define XCHECKPAGE \
- { if ( IsAgain() ) \
- { BreakPoint(); \
+ { if ( IsAgain() ) \
+ { BreakPoint(); \
if( bNoLoop ) \
pLayoutAccess->GetLayouter()->EndLoopControl(); \
return; \
@@ -136,12 +136,12 @@ static void BreakPoint()
}
#else
#define CHECKPAGE \
- { if ( IsAgain() ) \
+ { if ( IsAgain() ) \
return; \
}
#define XCHECKPAGE \
- { if ( IsAgain() ) \
+ { if ( IsAgain() ) \
{ \
if( bNoLoop ) \
pLayoutAccess->GetLayouter()->EndLoopControl(); \
@@ -176,10 +176,10 @@ void SwLayAction::CheckWaitCrsr()
/*************************************************************************
|*
-|* SwLayAction::CheckIdleEnd()
+|* SwLayAction::CheckIdleEnd()
|*
-|* Ersterstellung MA 12. Aug. 94
-|* Letzte Aenderung MA 24. Jun. 96
+|* Ersterstellung MA 12. Aug. 94
+|* Letzte Aenderung MA 24. Jun. 96
|*
|*************************************************************************/
//Ist es wirklich schon soweit...
@@ -191,10 +191,10 @@ inline void SwLayAction::CheckIdleEnd()
/*************************************************************************
|*
-|* SwLayAction::SetStatBar()
+|* SwLayAction::SetStatBar()
|*
-|* Ersterstellung MA 10. Aug. 94
-|* Letzte Aenderung MA 06. Aug. 95
+|* Ersterstellung MA 10. Aug. 94
+|* Letzte Aenderung MA 06. Aug. 95
|*
|*************************************************************************/
void SwLayAction::SetStatBar( BOOL bNew )
@@ -210,14 +210,14 @@ void SwLayAction::SetStatBar( BOOL bNew )
/*************************************************************************
|*
-|* SwLayAction::PaintCntnt()
+|* SwLayAction::PaintCntnt()
|*
-|* Beschreibung Je nach Typ wird der Cntnt entsprechend seinen
-|* Veraenderungen ausgegeben bzw. wird die auszugebende Flaeche in der
-|* Region eingetragen.
-|* PaintCntnt: fuellt die Region,
-|* Ersterstellung BP 19. Jan. 92
-|* Letzte Aenderung MA 10. Sep. 96
+|* Beschreibung Je nach Typ wird der Cntnt entsprechend seinen
+|* Veraenderungen ausgegeben bzw. wird die auszugebende Flaeche in der
+|* Region eingetragen.
+|* PaintCntnt: fuellt die Region,
+|* Ersterstellung BP 19. Jan. 92
+|* Letzte Aenderung MA 10. Sep. 96
|*
|*************************************************************************/
BOOL SwLayAction::PaintWithoutFlys( const SwRect &rRect, const SwCntntFrm *pCnt,
@@ -370,10 +370,10 @@ void SwLayAction::PaintCntnt( const SwCntntFrm *pCnt,
/*************************************************************************
|*
-|* SwLayAction::SwLayAction()
+|* SwLayAction::SwLayAction()
|*
-|* Ersterstellung MA 30. Oct. 92
-|* Letzte Aenderung MA 09. Jun. 95
+|* Ersterstellung MA 30. Oct. 92
+|* Letzte Aenderung MA 09. Jun. 95
|*
|*************************************************************************/
SwLayAction::SwLayAction( SwRootFrm *pRt, SwViewImp *pI ) :
@@ -401,15 +401,15 @@ SwLayAction::SwLayAction( SwRootFrm *pRt, SwViewImp *pI ) :
SwLayAction::~SwLayAction()
{
OSL_ENSURE( !pWait, "Wait object not destroyed" );
- pImp->pLayAct = 0; //Abmelden
+ pImp->pLayAct = 0; //Abmelden
}
/*************************************************************************
|*
-|* SwLayAction::Reset()
+|* SwLayAction::Reset()
|*
-|* Ersterstellung MA 11. Aug. 94
-|* Letzte Aenderung MA 09. Jun. 95
+|* Ersterstellung MA 11. Aug. 94
+|* Letzte Aenderung MA 09. Jun. 95
|*
|*************************************************************************/
void SwLayAction::Reset()
@@ -425,10 +425,10 @@ void SwLayAction::Reset()
/*************************************************************************
|*
-|* SwLayAction::RemoveEmptyBrowserPages()
+|* SwLayAction::RemoveEmptyBrowserPages()
|*
-|* Ersterstellung MA 10. Sep. 97
-|* Letzte Aenderung MA 10. Sep. 97
+|* Ersterstellung MA 10. Sep. 97
+|* Letzte Aenderung MA 10. Sep. 97
|*
|*************************************************************************/
@@ -461,10 +461,10 @@ BOOL SwLayAction::RemoveEmptyBrowserPages()
/*************************************************************************
|*
-|* SwLayAction::Action()
+|* SwLayAction::Action()
|*
-|* Ersterstellung MA 10. Aug. 94
-|* Letzte Aenderung MA 06. Aug. 95
+|* Ersterstellung MA 10. Aug. 94
+|* Letzte Aenderung MA 06. Aug. 95
|*
|*************************************************************************/
void SwLayAction::Action()
@@ -521,7 +521,7 @@ SwPageFrm* SwLayAction::CheckFirstVisPage( SwPageFrm *pPage )
while ( pCnt && pCnt->IsFollow() )
pCnt = static_cast<SwCntntFrm*>(pCnt)->FindMaster();
if ( pCnt && pChk != pCnt )
- { bPageChgd = TRUE;
+ { bPageChgd = TRUE;
pPage = pCnt->FindPageFrm();
}
@@ -976,10 +976,10 @@ void SwLayAction::InternalAction()
}
/*************************************************************************
|*
-|* SwLayAction::TurboAction(), _TurboAction()
+|* SwLayAction::TurboAction(), _TurboAction()
|*
-|* Ersterstellung MA 04. Dec. 92
-|* Letzte Aenderung MA 15. Aug. 93
+|* Ersterstellung MA 04. Dec. 92
+|* Letzte Aenderung MA 15. Aug. 93
|*
|*************************************************************************/
BOOL SwLayAction::_TurboAction( const SwCntntFrm *pCnt )
@@ -989,7 +989,7 @@ BOOL SwLayAction::_TurboAction( const SwCntntFrm *pCnt )
if ( !pCnt->IsValid() || pCnt->IsCompletePaint() || pCnt->IsRetouche() )
{
const SwRect aOldRect( pCnt->UnionFrm( TRUE ) );
- const long nOldBottom = pCnt->Frm().Top() + pCnt->Prt().Bottom();
+ const long nOldBottom = pCnt->Frm().Top() + pCnt->Prt().Bottom();
pCnt->Calc();
if ( pCnt->Frm().Bottom() < aOldRect.Bottom() )
pCnt->SetRetouche();
@@ -1058,19 +1058,19 @@ BOOL SwLayAction::TurboAction()
}
/*************************************************************************
|*
-|* SwLayAction::IsShortCut()
+|* SwLayAction::IsShortCut()
|*
-|* Beschreibung: Liefert ein True, wenn die Seite vollstaendig unter
-|* oder rechts neben dem sichbaren Bereich liegt.
-|* Es kann passieren, dass sich die Verhaeltnisse derart aendern, dass
-|* die Verarbeitung (des Aufrufers!) mit der Vorgaengerseite der
-|* uebergebenen Seite weitergefuehrt werden muss. Der Paramter wird also
-|* ggf. veraendert!
-|* Fuer den BrowseMode kann auch dann der ShortCut aktiviert werden,
-|* wenn der ungueltige Inhalt der Seite unterhalb des sichbaren
-|* bereiches liegt.
-|* Ersterstellung MA 30. Oct. 92
-|* Letzte Aenderung MA 18. Jul. 96
+|* Beschreibung: Liefert ein True, wenn die Seite vollstaendig unter
+|* oder rechts neben dem sichbaren Bereich liegt.
+|* Es kann passieren, dass sich die Verhaeltnisse derart aendern, dass
+|* die Verarbeitung (des Aufrufers!) mit der Vorgaengerseite der
+|* uebergebenen Seite weitergefuehrt werden muss. Der Paramter wird also
+|* ggf. veraendert!
+|* Fuer den BrowseMode kann auch dann der ShortCut aktiviert werden,
+|* wenn der ungueltige Inhalt der Seite unterhalb des sichbaren
+|* bereiches liegt.
+|* Ersterstellung MA 30. Oct. 92
+|* Letzte Aenderung MA 18. Jul. 96
|*
|*************************************************************************/
static bool lcl_IsInvaLay( const SwFrm *pFrm, long nBottom )
@@ -1409,10 +1409,10 @@ BOOL SwLayAction::IsShortCut( SwPageFrm *&prPage )
/*************************************************************************
|*
-|* SwLayAction::FormatLayout(), FormatLayoutFly, FormatLayoutTab()
+|* SwLayAction::FormatLayout(), FormatLayoutFly, FormatLayoutTab()
|*
-|* Ersterstellung MA 30. Oct. 92
-|* Letzte Aenderung MA 18. May. 98
+|* Ersterstellung MA 30. Oct. 92
+|* Letzte Aenderung MA 18. May. 98
|*
|*************************************************************************/
// OD 15.11.2002 #105155# - introduce support for vertical layout
@@ -1594,7 +1594,7 @@ BOOL SwLayAction::FormatLayout( SwLayoutFrm *pLay, BOOL bAddRect )
//Jetzt noch diejenigen Lowers versorgen die LayoutFrm's sind
- if ( pLay->IsFtnFrm() ) //Hat keine LayFrms als Lower.
+ if ( pLay->IsFtnFrm() ) //Hat keine LayFrms als Lower.
return bChanged;
SwFrm *pLow = pLay->Lower();
@@ -1831,10 +1831,10 @@ BOOL SwLayAction::FormatLayoutTab( SwTabFrm *pTab, BOOL bAddRect )
/*************************************************************************
|*
-|* SwLayAction::FormatCntnt()
+|* SwLayAction::FormatCntnt()
|*
-|* Ersterstellung MA 30. Oct. 92
-|* Letzte Aenderung MA 16. Nov. 95
+|* Ersterstellung MA 30. Oct. 92
+|* Letzte Aenderung MA 16. Nov. 95
|*
|*************************************************************************/
BOOL SwLayAction::FormatCntnt( const SwPageFrm *pPage )
@@ -2022,12 +2022,12 @@ BOOL SwLayAction::FormatCntnt( const SwPageFrm *pPage )
}
/*************************************************************************
|*
-|* SwLayAction::_FormatCntnt()
+|* SwLayAction::_FormatCntnt()
|*
-|* Beschreibung Returnt TRUE wenn der Absatz verarbeitet wurde,
-|* FALSE wenn es nichts zu verarbeiten gab.
-|* Ersterstellung MA 07. Dec. 92
-|* Letzte Aenderung MA 11. Mar. 98
+|* Beschreibung Returnt TRUE wenn der Absatz verarbeitet wurde,
+|* FALSE wenn es nichts zu verarbeiten gab.
+|* Ersterstellung MA 07. Dec. 92
+|* Letzte Aenderung MA 11. Mar. 98
|*
|*************************************************************************/
void SwLayAction::_FormatCntnt( const SwCntntFrm *pCntnt,
@@ -2062,13 +2062,13 @@ void SwLayAction::_FormatCntnt( const SwCntntFrm *pCntnt,
/*************************************************************************
|*
-|* SwLayAction::_FormatFlyCntnt()
+|* SwLayAction::_FormatFlyCntnt()
|*
-|* Beschreibung:
-|* - Returnt TRUE wenn alle Cntnts des Flys vollstaendig verarbeitet
-|* wurden. FALSE wenn vorzeitig unterbrochen wurde.
-|* Ersterstellung MA 02. Dec. 92
-|* Letzte Aenderung MA 24. Jun. 96
+|* Beschreibung:
+|* - Returnt TRUE wenn alle Cntnts des Flys vollstaendig verarbeitet
+|* wurden. FALSE wenn vorzeitig unterbrochen wurde.
+|* Ersterstellung MA 02. Dec. 92
+|* Letzte Aenderung MA 24. Jun. 96
|*
|*************************************************************************/
BOOL SwLayAction::_FormatFlyCntnt( const SwFlyFrm *pFly )
@@ -2135,10 +2135,10 @@ BOOL SwLayAction::IsStopPrt() const
/*************************************************************************
|*
-|* SwLayAction::FormatSpelling(), _FormatSpelling()
+|* SwLayAction::FormatSpelling(), _FormatSpelling()
|*
-|* Ersterstellung AMA 01. Feb. 96
-|* Letzte Aenderung AMA 01. Feb. 96
+|* Ersterstellung AMA 01. Feb. 96
+|* Letzte Aenderung AMA 01. Feb. 96
|*
|*************************************************************************/
BOOL SwLayIdle::_DoIdleJob( const SwCntntFrm *pCnt, IdleJobType eJob )
@@ -2351,10 +2351,10 @@ BOOL SwLayIdle::DoIdleJob( IdleJobType eJob, BOOL bVisAreaOnly )
/*************************************************************************
|*
-|* void SwLayIdle::SwLayIdle()
+|* void SwLayIdle::SwLayIdle()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 09. Jun. 94
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 09. Jun. 94
|*
|*************************************************************************/
void SwLayIdle::ShowIdle( ColorData eColorData )
@@ -2386,10 +2386,10 @@ void SwLayIdle::ShowIdle( ColorData eColorData )
/*************************************************************************
|*
-|* void SwLayIdle::SwLayIdle()
+|* void SwLayIdle::SwLayIdle()
|*
-|* Ersterstellung MA 30. Oct. 92
-|* Letzte Aenderung MA 23. May. 95
+|* Ersterstellung MA 30. Oct. 92
+|* Letzte Aenderung MA 23. May. 95
|*
|*************************************************************************/
SwLayIdle::SwLayIdle( SwRootFrm *pRt, SwViewImp *pI ) :
@@ -2421,7 +2421,7 @@ SwLayIdle::SwLayIdle( SwRootFrm *pRt, SwViewImp *pI ) :
SvBools aBools;
ViewShell *pSh = pImp->GetShell();
do
- { ++pSh->nStartAction;
+ { ++pSh->nStartAction;
BOOL bVis = FALSE;
if ( pSh->ISA(SwCrsrShell) )
{
@@ -2485,8 +2485,8 @@ SwLayIdle::SwLayIdle( SwRootFrm *pRt, SwViewImp *pI ) :
if ( bCrsrShell )
((SwCrsrShell*)pSh)->SttCrsrMove();
-// else
-// pSh->StartAction();
+// else
+// pSh->StartAction();
//Wenn Paints aufgelaufen sind, ist es am sinnvollsten schlicht das
//gesamte Window zu invalidieren. Anderfalls gibt es Paintprobleme
@@ -2507,8 +2507,8 @@ SwLayIdle::SwLayIdle( SwRootFrm *pRt, SwViewImp *pI ) :
//Wenn der Crsr sichbar war wieder sichbar machen, sonst
//EndCrsrMove mit TRUE fuer IdleEnd.
((SwCrsrShell*)pSh)->EndCrsrMove( TRUE^aBools[nBoolIdx] );
-// else
-// pSh->EndAction();
+// else
+// pSh->EndAction();
if( bUnlock )
{
if( bCrsrShell )
diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx
index b0cc88545c20..9166c67c9fb6 100644
--- a/sw/source/core/layout/laycache.cxx
+++ b/sw/source/core/layout/laycache.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -483,8 +483,8 @@ SwLayoutCache::~SwLayoutCache()
* --------------------------------------------------*/
SwActualSection::SwActualSection( SwActualSection *pUp,
- SwSectionFrm *pSect,
- SwSectionNode *pNd ) :
+ SwSectionFrm *pSect,
+ SwSectionNode *pNd ) :
pUpper( pUp ),
pSectFrm( pSect ),
pSectNode( pNd )
@@ -661,7 +661,7 @@ BOOL SwLayHelper::CheckInsertPage()
{
OSL_ENSURE( rpPage->GetNext(), "Keine neue Seite?" );
do
- { rpPage = (SwPageFrm*)rpPage->GetNext();
+ { rpPage = (SwPageFrm*)rpPage->GetNext();
} while ( rpPage->GetNext() );
}
else
@@ -1229,11 +1229,11 @@ SwLayCacheIoImpl::SwLayCacheIoImpl( SvStream& rStrm, BOOL bWrtMd ) :
{
if( bWriteMode )
*pStream << nMajorVersion
- << nMinorVersion;
+ << nMinorVersion;
else
*pStream >> nMajorVersion
- >> nMinorVersion;
+ >> nMinorVersion;
}
BOOL SwLayCacheIoImpl::OpenRec( BYTE cType )
diff --git a/sw/source/core/layout/layhelp.hxx b/sw/source/core/layout/layhelp.hxx
index 6b5edac673d4..71f74a2d7aad 100644
--- a/sw/source/core/layout/layhelp.hxx
+++ b/sw/source/core/layout/layhelp.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -94,17 +94,17 @@ public:
class SwActualSection
{
SwActualSection *pUpper;
- SwSectionFrm *pSectFrm;
- SwSectionNode *pSectNode;
+ SwSectionFrm *pSectFrm;
+ SwSectionNode *pSectNode;
public:
SwActualSection( SwActualSection *pUpper,
- SwSectionFrm *pSect,
- SwSectionNode *pNd );
+ SwSectionFrm *pSect,
+ SwSectionNode *pNd );
- SwSectionFrm *GetSectionFrm() { return pSectFrm; }
- void SetSectionFrm( SwSectionFrm *p ) { pSectFrm = p; }
- SwSectionNode *GetSectionNode() { return pSectNode;}
- SwActualSection *GetUpper() { return pUpper; }
+ SwSectionFrm *GetSectionFrm() { return pSectFrm; }
+ void SetSectionFrm( SwSectionFrm *p ) { pSectFrm = p; }
+ SwSectionNode *GetSectionNode() { return pSectNode;}
+ SwActualSection *GetUpper() { return pUpper; }
};
/*************************************************************************
@@ -157,28 +157,28 @@ public:
* layout cache.
*************************************************************************/
-#define SW_LAYCACHE_IO_REC_PAGES 'p'
-#define SW_LAYCACHE_IO_REC_PARA 'P'
-#define SW_LAYCACHE_IO_REC_TABLE 'T'
+#define SW_LAYCACHE_IO_REC_PAGES 'p'
+#define SW_LAYCACHE_IO_REC_PARA 'P'
+#define SW_LAYCACHE_IO_REC_TABLE 'T'
#define SW_LAYCACHE_IO_REC_FLY 'F'
-#define SW_LAYCACHE_IO_VERSION_MAJOR 1
+#define SW_LAYCACHE_IO_VERSION_MAJOR 1
#define SW_LAYCACHE_IO_VERSION_MINOR 1
class SwLayCacheIoImpl
{
- SvBytes aRecTypes;
- SvULongs aRecSizes;
+ SvBytes aRecTypes;
+ SvULongs aRecSizes;
- SvStream *pStream;
+ SvStream *pStream;
- ULONG nFlagRecEnd;
+ ULONG nFlagRecEnd;
- USHORT nMajorVersion;
- USHORT nMinorVersion;
+ USHORT nMajorVersion;
+ USHORT nMinorVersion;
- BOOL bWriteMode : 1;
- BOOL bError : 1;
+ BOOL bWriteMode : 1;
+ BOOL bError : 1;
public:
SwLayCacheIoImpl( SvStream& rStrm, BOOL bWrtMd );
diff --git a/sw/source/core/layout/layouter.cxx b/sw/source/core/layout/layouter.cxx
index ceea99885a5e..9ae1482b4536 100644
--- a/sw/source/core/layout/layouter.cxx
+++ b/sw/source/core/layout/layouter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -70,10 +70,10 @@ class SwEndnoter
public:
SwEndnoter( SwLayouter* pLay )
: pMaster( pLay ), pSect( NULL ), pEndArr( NULL ) {}
- ~SwEndnoter() { delete pEndArr; }
+ ~SwEndnoter() { delete pEndArr; }
void CollectEndnotes( SwSectionFrm* pSct );
void CollectEndnote( SwFtnFrm* pFtn );
- const SwSectionFrm* GetSect() { return pSect; }
+ const SwSectionFrm* GetSect() { return pSect; }
void InsertEndnotes();
BOOL HasEndnotes() const { return pEndArr && pEndArr->Count(); }
};
@@ -103,7 +103,7 @@ void SwEndnoter::CollectEndnote( SwFtnFrm* pFtn )
if ( pCnt )
{
do
- { SwFrm *pNxtCnt = pCnt->GetNext();
+ { SwFrm *pNxtCnt = pCnt->GetNext();
pCnt->Cut();
pCnt->Paste( pFtn );
pCnt = pNxtCnt;
@@ -227,10 +227,10 @@ void SwLooping::Control( SwPageFrm* pPage )
/*************************************************************************
|*
-|* SwLayouter::SwLayouter()
+|* SwLayouter::SwLayouter()
|*
-|* Ersterstellung AMA 02. Nov. 99
-|* Letzte Aenderung AMA 02. Nov. 99
+|* Ersterstellung AMA 02. Nov. 99
+|* Letzte Aenderung AMA 02. Nov. 99
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/movedfwdfrmsbyobjpos.cxx b/sw/source/core/layout/movedfwdfrmsbyobjpos.cxx
index 04802ae8710e..b612041b4e6c 100644
--- a/sw/source/core/layout/movedfwdfrmsbyobjpos.cxx
+++ b/sw/source/core/layout/movedfwdfrmsbyobjpos.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/newfrm.cxx b/sw/source/core/layout/newfrm.cxx
index e3deaad3569e..48d422f2bd15 100644
--- a/sw/source/core/layout/newfrm.cxx
+++ b/sw/source/core/layout/newfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -58,8 +58,8 @@
#include <viewopt.hxx>
SwLayVout *SwRootFrm::pVout = 0;
-BOOL SwRootFrm::bInPaint = FALSE;
-BOOL SwRootFrm::bNoVirDev = FALSE;
+BOOL SwRootFrm::bInPaint = FALSE;
+BOOL SwRootFrm::bNoVirDev = FALSE;
SwCache *SwFrm::pCache = 0;
@@ -301,8 +301,8 @@ SwRectFn fnRectVL2R = &aVerticalRightToLeft;
sal_uInt32 SwFrm::mnLastFrmId=0;
// <--
-TYPEINIT1(SwFrm,SwClient); //rtti fuer SwFrm
-TYPEINIT1(SwCntntFrm,SwFrm); //rtti fuer SwCntntFrm
+TYPEINIT1(SwFrm,SwClient); //rtti fuer SwFrm
+TYPEINIT1(SwCntntFrm,SwFrm); //rtti fuer SwCntntFrm
void _FrmInit()
@@ -335,10 +335,10 @@ void _FrmFinit()
/*************************************************************************
|*
-|* RootFrm::Alles was so zur CurrShell gehoert
+|* RootFrm::Alles was so zur CurrShell gehoert
|*
-|* Ersterstellung MA 09. Sep. 98
-|* Letzte Aenderung MA 18. Feb. 99
+|* Ersterstellung MA 09. Sep. 98
+|* Letzte Aenderung MA 18. Feb. 99
|*
|*************************************************************************/
@@ -411,14 +411,14 @@ void InitCurrShells( SwRootFrm *pRoot )
/*************************************************************************
|*
-|* SwRootFrm::SwRootFrm()
+|* SwRootFrm::SwRootFrm()
|*
-|* Beschreibung:
-|* Der RootFrm laesst sich grundsaetzlich vom Dokument ein eigenes
-|* FrmFmt geben. Dieses loescht er dann selbst im DTor.
-|* Das eigene FrmFmt wird vom uebergebenen Format abgeleitet.
-|* Ersterstellung SS 05-Apr-1991
-|* Letzte Aenderung MA 12. Dec. 94
+|* Beschreibung:
+|* Der RootFrm laesst sich grundsaetzlich vom Dokument ein eigenes
+|* FrmFmt geben. Dieses loescht er dann selbst im DTor.
+|* Das eigene FrmFmt wird vom uebergebenen Format abgeleitet.
+|* Ersterstellung SS 05-Apr-1991
+|* Letzte Aenderung MA 12. Dec. 94
|*
|*************************************************************************/
@@ -455,8 +455,8 @@ SwRootFrm::SwRootFrm( SwFrmFmt *pFmt, ViewShell * pSh ) :
IDocumentFieldsAccess *pFieldsAccess = pFmt->getIDocumentFieldsAccess();
const IDocumentSettingAccess *pSettingAccess = pFmt->getIDocumentSettingAccess();
pTimerAccess->StopIdling();
- pLayoutAccess->SetRootFrm( this ); //Fuer das Erzeugen der Flys durch MakeFrms()
- bCallbackActionEnabled = FALSE; //vor Verlassen auf TRUE setzen!
+ pLayoutAccess->SetRootFrm( this ); //Fuer das Erzeugen der Flys durch MakeFrms()
+ bCallbackActionEnabled = FALSE; //vor Verlassen auf TRUE setzen!
SdrModel *pMd = pFmt->getIDocumentDrawModelAccess()->GetDrawModel();
@@ -537,10 +537,10 @@ SwRootFrm::SwRootFrm( SwFrmFmt *pFmt, ViewShell * pSh ) :
/*************************************************************************
|*
-|* SwRootFrm::~SwRootFrm()
+|* SwRootFrm::~SwRootFrm()
|*
-|* Ersterstellung SS 05-Apr-1991
-|* Letzte Aenderung MA 12. Dec. 94
+|* Ersterstellung SS 05-Apr-1991
+|* Letzte Aenderung MA 12. Dec. 94
|*
|*************************************************************************/
@@ -566,10 +566,10 @@ SwRootFrm::~SwRootFrm()
/*************************************************************************
|*
-|* SwRootFrm::RemoveMasterObjs()
+|* SwRootFrm::RemoveMasterObjs()
|*
-|* Ersterstellung MA 19.10.95
-|* Letzte Aenderung MA 19.10.95
+|* Ersterstellung MA 19.10.95
+|* Letzte Aenderung MA 19.10.95
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/objectformatter.cxx b/sw/source/core/layout/objectformatter.cxx
index 9832d5c8a242..a393127c080d 100644
--- a/sw/source/core/layout/objectformatter.cxx
+++ b/sw/source/core/layout/objectformatter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/objectformatterlayfrm.cxx b/sw/source/core/layout/objectformatterlayfrm.cxx
index b8c0086fb542..f147fb2576ba 100644
--- a/sw/source/core/layout/objectformatterlayfrm.cxx
+++ b/sw/source/core/layout/objectformatterlayfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/objectformatterlayfrm.hxx b/sw/source/core/layout/objectformatterlayfrm.hxx
index a2199030a61c..10f12a53a652 100644
--- a/sw/source/core/layout/objectformatterlayfrm.hxx
+++ b/sw/source/core/layout/objectformatterlayfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/objectformattertxtfrm.cxx b/sw/source/core/layout/objectformattertxtfrm.cxx
index b71529f97739..db6343176715 100644
--- a/sw/source/core/layout/objectformattertxtfrm.cxx
+++ b/sw/source/core/layout/objectformattertxtfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/objectformattertxtfrm.hxx b/sw/source/core/layout/objectformattertxtfrm.hxx
index 173ad024e9a5..9ee71979c140 100644
--- a/sw/source/core/layout/objectformattertxtfrm.hxx
+++ b/sw/source/core/layout/objectformattertxtfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/objstmpconsiderwrapinfl.cxx b/sw/source/core/layout/objstmpconsiderwrapinfl.cxx
index 1c32c9c75f26..902121265e84 100644
--- a/sw/source/core/layout/objstmpconsiderwrapinfl.cxx
+++ b/sw/source/core/layout/objstmpconsiderwrapinfl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/objstmpconsiderwrapinfl.hxx b/sw/source/core/layout/objstmpconsiderwrapinfl.hxx
index f5fd89b3b435..2da1897d5750 100644
--- a/sw/source/core/layout/objstmpconsiderwrapinfl.hxx
+++ b/sw/source/core/layout/objstmpconsiderwrapinfl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index 4336fc658c79..4591c8f687ec 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -73,7 +73,7 @@
#include "pagedesc.hxx"
#include "poolfmt.hxx"
#include <editeng/frmdiritem.hxx>
-#include <swfntcch.hxx> // SwFontAccess
+#include <swfntcch.hxx> // SwFontAccess
// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
@@ -84,10 +84,10 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* SwBodyFrm::SwBodyFrm()
+|* SwBodyFrm::SwBodyFrm()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 01. Aug. 93
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 01. Aug. 93
|*
|*************************************************************************/
SwBodyFrm::SwBodyFrm( SwFrmFmt *pFmt ):
@@ -98,10 +98,10 @@ SwBodyFrm::SwBodyFrm( SwFrmFmt *pFmt ):
/*************************************************************************
|*
-|* SwBodyFrm::Format()
+|* SwBodyFrm::Format()
|*
-|* Ersterstellung MA 30. May. 94
-|* Letzte Aenderung MA 20. Jan. 99
+|* Ersterstellung MA 30. May. 94
+|* Letzte Aenderung MA 20. Jan. 99
|*
|*************************************************************************/
void SwBodyFrm::Format( const SwBorderAttrs * )
@@ -207,10 +207,10 @@ void SwBodyFrm::Paint( const SwRect& rRect, const SwPrtOptions* ) const
/*************************************************************************
|*
-|* SwPageFrm::SwPageFrm(), ~SwPageFrm()
+|* SwPageFrm::SwPageFrm(), ~SwPageFrm()
|*
-|* Ersterstellung MA 20. Oct. 92
-|* Letzte Aenderung MA 08. Dec. 97
+|* Ersterstellung MA 20. Oct. 92
+|* Letzte Aenderung MA 08. Dec. 97
|*
|*************************************************************************/
SwPageFrm::SwPageFrm( SwFrmFmt *pFmt, SwPageDesc *pPgDsc ) :
@@ -245,7 +245,7 @@ SwPageFrm::SwPageFrm( SwFrmFmt *pFmt, SwPageDesc *pPgDsc ) :
ViewShell *pSh = GetShell();
long nWidth = pSh ? pSh->VisArea().Width():0;
if ( !nWidth )
- nWidth = 5000L; //aendert sich sowieso
+ nWidth = 5000L; //aendert sich sowieso
Frm().Width ( nWidth );
}
else
@@ -257,16 +257,16 @@ SwPageFrm::SwPageFrm( SwFrmFmt *pFmt, SwPageDesc *pPgDsc ) :
if ( FALSE == (bEmptyPage = pFmt == pDoc->GetEmptyPageFmt()) )
{
bEmptyPage = FALSE;
- Calc(); //Damit die PrtArea stimmt.
+ Calc(); //Damit die PrtArea stimmt.
SwBodyFrm *pBodyFrm = new SwBodyFrm( pDoc->GetDfltFrmFmt() );
pBodyFrm->ChgSize( Prt().SSize() );
pBodyFrm->Paste( this );
- pBodyFrm->Calc(); //Damit die Spalten korrekt
+ pBodyFrm->Calc(); //Damit die Spalten korrekt
//eingesetzt werden koennen.
pBodyFrm->InvalidatePos();
if ( bBrowseMode )
- _InvalidateSize(); //Alles nur gelogen
+ _InvalidateSize(); //Alles nur gelogen
//Header/Footer einsetzen, nur rufen wenn aktiv.
if ( pFmt->GetHeader().IsActive() )
@@ -299,7 +299,7 @@ SwPageFrm::~SwPageFrm()
pAnchoredObj->SetPageFrm( 0L );
}
delete pSortedObjs;
- pSortedObjs = 0; //Auf 0 setzen, sonst rauchts beim Abmdelden von Flys!
+ pSortedObjs = 0; //Auf 0 setzen, sonst rauchts beim Abmdelden von Flys!
}
//Damit der Zugriff auf zerstoerte Seiten verhindert werden kann.
@@ -382,12 +382,12 @@ void SwPageFrm::CheckDirection( BOOL bVert )
/*************************************************************************
|*
-|* SwPageFrm::PreparePage()
+|* SwPageFrm::PreparePage()
|*
-|* Beschreibung Erzeugt die Spezifischen Flys zur Seite und formatiert
-|* generischen Cntnt
-|* Ersterstellung MA 20. Oct. 92
-|* Letzte Aenderung MA 09. Nov. 95
+|* Beschreibung Erzeugt die Spezifischen Flys zur Seite und formatiert
+|* generischen Cntnt
+|* Ersterstellung MA 20. Oct. 92
+|* Letzte Aenderung MA 09. Nov. 95
|*
|*************************************************************************/
void MA_FASTCALL lcl_FormatLay( SwLayoutFrm *pLay )
@@ -530,7 +530,7 @@ void SwPageFrm::PreparePage( BOOL bFtn )
SwCntntFrm *pCntnt = pLow->ContainsCntnt();
while ( pCntnt && pLow->IsAnLower( pCntnt ) )
{
- pCntnt->OptCalc(); //Nicht die Vorgaenger
+ pCntnt->OptCalc(); //Nicht die Vorgaenger
pCntnt = pCntnt->GetNextCntntFrm();
}
}
@@ -541,10 +541,10 @@ void SwPageFrm::PreparePage( BOOL bFtn )
/*************************************************************************
|*
-|* SwPageFrm::Modify()
+|* SwPageFrm::Modify()
|*
-|* Ersterstellung MA 20. Oct. 92
-|* Letzte Aenderung MA 03. Mar. 96
+|* Ersterstellung MA 20. Oct. 92
+|* Letzte Aenderung MA 03. Mar. 96
|*
|*************************************************************************/
void SwPageFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
@@ -660,7 +660,7 @@ void SwPageFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
(const SwFmtFrmSize&)*pNew;
Frm().Height( Max( rSz.GetHeight(), long(MINLAY) ) );
- Frm().Width ( Max( rSz.GetWidth(), long(MINLAY) ) );
+ Frm().Width ( Max( rSz.GetWidth(), long(MINLAY) ) );
// PAGES01
if ( GetUpper() )
@@ -736,11 +736,11 @@ void SwPageFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
/*************************************************************************
|*
-|* SwPageFrm::GetInfo()
+|* SwPageFrm::GetInfo()
|*
-|* Beschreibung erfragt Informationen
-|* Ersterstellung JP 31.03.94
-|* Letzte Aenderung JP 31.03.94
+|* Beschreibung erfragt Informationen
+|* Ersterstellung JP 31.03.94
+|* Letzte Aenderung JP 31.03.94
|*
*************************************************************************/
// erfrage vom Modify Informationen
@@ -751,15 +751,15 @@ BOOL SwPageFrm::GetInfo( SfxPoolItem & rInfo ) const
// es gibt einen PageFrm also wird er benutzt
return FALSE;
}
- return TRUE; // weiter suchen
+ return TRUE; // weiter suchen
}
/*************************************************************************
|*
-|* SwPageFrm::SetPageDesc()
+|* SwPageFrm::SetPageDesc()
|*
-|* Ersterstellung MA 02. Nov. 94
-|* Letzte Aenderung MA 02. Nov. 94
+|* Ersterstellung MA 02. Nov. 94
+|* Letzte Aenderung MA 02. Nov. 94
|*
|*************************************************************************/
void SwPageFrm::SetPageDesc( SwPageDesc *pNew, SwFrmFmt *pFmt )
@@ -771,21 +771,21 @@ void SwPageFrm::SetPageDesc( SwPageDesc *pNew, SwFrmFmt *pFmt )
/*************************************************************************
|*
-|* SwPageFrm::FindPageDesc()
-|*
-|* Beschreibung Der richtige PageDesc wird bestimmt:
-|* 0. Vom Dokument bei Fussnotenseiten und Endnotenseiten
-|* 1. vom ersten BodyCntnt unterhalb der Seite.
-|* 2. vom PageDesc der vorstehenden Seite.
-|* 3. bei Leerseiten vom PageDesc der vorigen Seite.
-|* 3.1 vom PageDesc der folgenden Seite wenn es keinen Vorgaenger gibt.
-|* 4. es ist der Default-PageDesc sonst.
-|* 5. Im BrowseMode ist der Pagedesc immer der vom ersten Absatz im
-|* Dokument oder Standard (der 0-te) wenn der erste Absatz keinen
-|* wuenscht.
-|* (6. Im HTML-Mode ist der Pagedesc immer die HTML-Seitenvorlage.)
-|* Ersterstellung MA 15. Feb. 93
-|* Letzte Aenderung MA 17. Jun. 99
+|* SwPageFrm::FindPageDesc()
+|*
+|* Beschreibung Der richtige PageDesc wird bestimmt:
+|* 0. Vom Dokument bei Fussnotenseiten und Endnotenseiten
+|* 1. vom ersten BodyCntnt unterhalb der Seite.
+|* 2. vom PageDesc der vorstehenden Seite.
+|* 3. bei Leerseiten vom PageDesc der vorigen Seite.
+|* 3.1 vom PageDesc der folgenden Seite wenn es keinen Vorgaenger gibt.
+|* 4. es ist der Default-PageDesc sonst.
+|* 5. Im BrowseMode ist der Pagedesc immer der vom ersten Absatz im
+|* Dokument oder Standard (der 0-te) wenn der erste Absatz keinen
+|* wuenscht.
+|* (6. Im HTML-Mode ist der Pagedesc immer die HTML-Seitenvorlage.)
+|* Ersterstellung MA 15. Feb. 93
+|* Letzte Aenderung MA 17. Jun. 99
|*
|*************************************************************************/
SwPageDesc *SwPageFrm::FindPageDesc()
@@ -802,7 +802,7 @@ SwPageDesc *SwPageFrm::FindPageDesc()
//6.
//if ( GetFmt()->GetDoc()->IsHTMLMode() )
- // return GetFmt()->GetDoc()->GetPageDescFromPool( RES_POOLPAGE_HTML );
+ // return GetFmt()->GetDoc()->GetPageDescFromPool( RES_POOLPAGE_HTML );
SwPageDesc *pRet = 0;
@@ -882,10 +882,10 @@ inline void SetLastPage( SwPageFrm *pPage )
/*************************************************************************
|*
-|* SwPageFrm::Cut()
+|* SwPageFrm::Cut()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 22. Jun. 95
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 22. Jun. 95
|*
|*************************************************************************/
void SwPageFrm::Cut()
@@ -937,7 +937,7 @@ void SwPageFrm::Cut()
{
while ( pPg )
{
- pPg->DecrPhyPageNum(); //inline --nPhyPageNum
+ pPg->DecrPhyPageNum(); //inline --nPhyPageNum
pPg = (SwPageFrm*)pPg->GetNext();
}
}
@@ -956,10 +956,10 @@ void SwPageFrm::Cut()
/*************************************************************************
|*
-|* SwPageFrm::Paste()
+|* SwPageFrm::Paste()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 07. Dec. 94
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 07. Dec. 94
|*
|*************************************************************************/
void SwPageFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
@@ -985,7 +985,7 @@ void SwPageFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
{
while ( pPg )
{
- pPg->IncrPhyPageNum(); //inline ++nPhyPageNum
+ pPg->IncrPhyPageNum(); //inline ++nPhyPageNum
pPg->_InvalidatePos();
pPg->InvalidateLayout();
pPg = (SwPageFrm*)pPg->GetNext();
@@ -1006,10 +1006,10 @@ void SwPageFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
/*************************************************************************
|*
-|* SwPageFrm::PrepareRegisterChg()
+|* SwPageFrm::PrepareRegisterChg()
|*
-|* Ersterstellung AMA 22. Jul. 96
-|* Letzte Aenderung AMA 22. Jul. 96
+|* Ersterstellung AMA 22. Jul. 96
+|* Letzte Aenderung AMA 22. Jul. 96
|*
|*************************************************************************/
void lcl_PrepFlyInCntRegister( SwCntntFrm *pFrm )
@@ -1068,22 +1068,22 @@ void SwPageFrm::PrepareRegisterChg()
/*************************************************************************
|*
-|* SwFrm::CheckPageDescs()
+|* SwFrm::CheckPageDescs()
|*
-|* Beschreibung Prueft alle Seiten ab der uebergebenen, daraufhin,
-|* ob sie das richtige FrmFmt verwenden. Wenn 'falsche' Seiten
-|* aufgespuehrt werden, so wird versucht die Situation moeglichst
-|* einfache zu bereinigen.
+|* Beschreibung Prueft alle Seiten ab der uebergebenen, daraufhin,
+|* ob sie das richtige FrmFmt verwenden. Wenn 'falsche' Seiten
+|* aufgespuehrt werden, so wird versucht die Situation moeglichst
+|* einfache zu bereinigen.
|*
-|* Ersterstellung MA 10. Feb. 93
-|* Letzte Aenderung MA 18. Apr. 96
+|* Ersterstellung MA 10. Feb. 93
+|* Letzte Aenderung MA 18. Apr. 96
|*
|*************************************************************************/
void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
{
OSL_ENSURE( pStart, "Keine Startpage." );
- ViewShell *pSh = pStart->GetShell();
+ ViewShell *pSh = pStart->GetShell();
SwViewImp *pImp = pSh ? pSh->Imp() : 0;
if ( pImp && pImp->IsAction() && !pImp->GetLayAction().IsCheckPages() )
@@ -1097,7 +1097,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
SwTwips nDocPos = LONG_MAX;
SwRootFrm *pRoot = (SwRootFrm*)pStart->GetUpper();
- SwDoc* pDoc = pStart->GetFmt()->GetDoc();
+ SwDoc* pDoc = pStart->GetFmt()->GetDoc();
const BOOL bFtns = 0 != pDoc->GetFtnIdxs().Count();
SwPageFrm *pPage = pStart;
@@ -1114,7 +1114,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
: pDesc->GetLeftFmt();
if ( bActOdd != bOdd ||
- pDesc != pPage->GetPageDesc() || //falscher Desc
+ pDesc != pPage->GetPageDesc() || //falscher Desc
( pFmtWish != pPage->GetFmt() && //falsches Format und
( !pPage->IsEmptyPage() || pFmtWish ) //nicht Leerseite
)
@@ -1128,27 +1128,27 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
//Ab hier muessen die Felder invalidiert werden!
if ( nDocPos == LONG_MAX )
nDocPos = pPage->GetPrev() ?
- pPage->GetPrev()->Frm().Top() : pPage->Frm().Top();
+ pPage->GetPrev()->Frm().Top() : pPage->Frm().Top();
//Faelle:
//1. Wir haben eine EmptyPage und wollen eine "Normalseite".
- // ->EmptyPage wegwerfen und weiter mit der naechsten.
+ // ->EmptyPage wegwerfen und weiter mit der naechsten.
//2. Wir haben eine EmptyPage und wollen eine EmptyPage mit
- // anderem Descriptor.
- // ->Descriptor austauschen.
+ // anderem Descriptor.
+ // ->Descriptor austauschen.
//3. Wir haben eine "Normalseite" und wollen eine EmptyPage.
- // ->Emptypage einfuegen, nicht aber wenn die Vorseite
- // bereits eine EmptyPage ist -> 6.
+ // ->Emptypage einfuegen, nicht aber wenn die Vorseite
+ // bereits eine EmptyPage ist -> 6.
//4. Wir haben eine "Normalseite" und wollen eine "Normalseite"
- // mit anderem Descriptor
- // ->Descriptor und Format austauschen
+ // mit anderem Descriptor
+ // ->Descriptor und Format austauschen
//5. Wir haben eine "Normalseite" und wollen eine "Normalseite"
- // mit anderem Format
- // ->Format austauschen.
+ // mit anderem Format
+ // ->Format austauschen.
//6. Wir haben kein Wunschformat erhalten, also nehmen wir das
- // 'andere' Format (rechts/links) des PageDesc.
+ // 'andere' Format (rechts/links) des PageDesc.
- if ( pPage->IsEmptyPage() && ( pFmtWish || //1.
+ if ( pPage->IsEmptyPage() && ( pFmtWish || //1.
( !bOdd && !pPage->GetPrev() ) ) )
{
SwPageFrm *pTmp = (SwPageFrm*)pPage->GetNext();
@@ -1159,7 +1159,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
pPage = pTmp;
continue;
}
- else if ( pPage->IsEmptyPage() && !pFmtWish && //2.
+ else if ( pPage->IsEmptyPage() && !pFmtWish && //2.
pDesc != pPage->GetPageDesc() )
{
pPage->SetPageDesc( pDesc, 0 );
@@ -1179,7 +1179,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
pTmp->PreparePage( FALSE );
pPage = pTmp;
}
- else if ( pPage->GetPageDesc() != pDesc ) //4.
+ else if ( pPage->GetPageDesc() != pDesc ) //4.
{
SwPageDesc *pOld = pPage->GetPageDesc();
pPage->SetPageDesc( pDesc, pFmtWish );
@@ -1197,11 +1197,11 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
pCont->_InvalidateAll();
}
}
- else if ( pFmtWish && pPage->GetFmt() != pFmtWish ) //5.
+ else if ( pFmtWish && pPage->GetFmt() != pFmtWish ) //5.
{
pPage->SetFrmFmt( pFmtWish );
}
- else if ( !pFmtWish ) //6.
+ else if ( !pFmtWish ) //6.
{
//Format mit verdrehter Logic besorgen.
pFmtWish = bOdd ? pDesc->GetLeftFmt() : pDesc->GetRightFmt();
@@ -1265,7 +1265,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
if ( bEmpty )
{
OSL_ENSURE( FALSE, "Doppelte Leerseiten." );
- break; //Einmal reicht.
+ break; //Einmal reicht.
}
bEmpty = TRUE;
}
@@ -1276,8 +1276,8 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
//moeglich: Ein paar Seiten, auf der ersten 'erste Seite' anwenden,
//rechte als folge der ersten, linke als folge der rechten, rechte als
//folge der linken.
-// OSL_ENSURE( pPg->GetPageDesc() == pPg->FindPageDesc(),
-// "Seite mit falschem Descriptor." );
+// OSL_ENSURE( pPg->GetPageDesc() == pPg->FindPageDesc(),
+// "Seite mit falschem Descriptor." );
pPg = (SwPageFrm*)pPg->GetNext();
}
@@ -1286,11 +1286,11 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
/*************************************************************************
|*
-|* SwFrm::InsertPage()
+|* SwFrm::InsertPage()
|*
-|* Beschreibung
-|* Ersterstellung MA 10. Feb. 93
-|* Letzte Aenderung MA 27. Jul. 93
+|* Beschreibung
+|* Ersterstellung MA 10. Feb. 93
+|* Letzte Aenderung MA 27. Jul. 93
|*
|*************************************************************************/
SwPageFrm *SwFrm::InsertPage( SwPageFrm *pPrevPage, BOOL bFtn )
@@ -1309,7 +1309,7 @@ SwPageFrm *SwFrm::InsertPage( SwPageFrm *pPrevPage, BOOL bFtn )
//der Follow vom bereits in der PrevPage gueltigen sonst.
pDesc = 0;
if ( IsFlowFrm() && !SwFlowFrm::CastFlowFrm( this )->IsFollow() )
- { SwFmtPageDesc &rDesc = (SwFmtPageDesc&)GetAttrSet()->GetPageDesc();
+ { SwFmtPageDesc &rDesc = (SwFmtPageDesc&)GetAttrSet()->GetPageDesc();
pDesc = rDesc.GetPageDesc();
if ( rDesc.GetNumOffset() )
{
@@ -1331,7 +1331,7 @@ SwPageFrm *SwFrm::InsertPage( SwPageFrm *pPrevPage, BOOL bFtn )
//Wenn ich kein FrmFmt fuer die Seite gefunden habe, muss ich eben eine
//Leerseite einfuegen.
if( bWishedOdd != bNextOdd )
- { pFmt = pDoc->GetEmptyPageFmt();
+ { pFmt = pDoc->GetEmptyPageFmt();
SwPageDesc *pTmpDesc = pPrevPage->GetPageDesc();
SwPageFrm *pPage = new SwPageFrm( pFmt, pTmpDesc );
pPage->Paste( pRoot, pSibling );
@@ -1404,7 +1404,7 @@ SwPageFrm *SwFrm::InsertPage( SwPageFrm *pPrevPage, BOOL bFtn )
sw::sidebarwindows::SidebarPosition SwPageFrm::SidebarPosition() const
{
- if ( !GetShell() ||
+ if ( !GetShell() ||
GetShell()->getIDocumentSettingAccess()->get(IDocumentSettingAccess::BROWSE_MODE) )
{
// --> OD 2010-06-03 #i111964# - provide default sidebar position
@@ -1425,10 +1425,10 @@ sw::sidebarwindows::SidebarPosition SwPageFrm::SidebarPosition() const
/*************************************************************************
|*
-|* SwRootFrm::GrowFrm()
+|* SwRootFrm::GrowFrm()
|*
-|* Ersterstellung MA 30. Jul. 92
-|* Letzte Aenderung MA 05. May. 94
+|* Ersterstellung MA 30. Jul. 92
+|* Letzte Aenderung MA 05. May. 94
|*
|*************************************************************************/
@@ -1440,10 +1440,10 @@ SwTwips SwRootFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL )
}
/*************************************************************************
|*
-|* SwRootFrm::ShrinkFrm()
+|* SwRootFrm::ShrinkFrm()
|*
-|* Ersterstellung MA 30. Jul. 92
-|* Letzte Aenderung MA 05. May. 94
+|* Ersterstellung MA 30. Jul. 92
+|* Letzte Aenderung MA 05. May. 94
|*
|*************************************************************************/
SwTwips SwRootFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL )
@@ -1458,21 +1458,21 @@ SwTwips SwRootFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL )
/*************************************************************************
|*
-|* SwRootFrm::RemoveSuperfluous()
+|* SwRootFrm::RemoveSuperfluous()
|*
-|* Beschreibung: Entfernung von ueberfluessigen Seiten.
-|* Arbeitet nur wenn das Flag bCheckSuperfluous gesetzt ist.
-|* Definition: Eine Seite ist genau dann leer, wenn der
-|* Body-Textbereich keinen CntntFrm enthaelt, aber nicht, wenn noch
-|* mindestens ein Fly an der Seite klebt.
-|* Die Seite ist auch dann nicht leer, wenn sie noch eine
-|* Fussnote enthaelt.
-|* Es muss zweimal angesetzt werden um leeren Seiten aufzuspueren:
-|* - einmal fuer die Endnotenseiten.
-|* - und einmal fuer die Seiten des Bodytextes.
+|* Beschreibung: Entfernung von ueberfluessigen Seiten.
+|* Arbeitet nur wenn das Flag bCheckSuperfluous gesetzt ist.
+|* Definition: Eine Seite ist genau dann leer, wenn der
+|* Body-Textbereich keinen CntntFrm enthaelt, aber nicht, wenn noch
+|* mindestens ein Fly an der Seite klebt.
+|* Die Seite ist auch dann nicht leer, wenn sie noch eine
+|* Fussnote enthaelt.
+|* Es muss zweimal angesetzt werden um leeren Seiten aufzuspueren:
+|* - einmal fuer die Endnotenseiten.
+|* - und einmal fuer die Seiten des Bodytextes.
|*
-|* Ersterstellung MA 20. May. 92
-|* Letzte Aenderung MA 10. Jan. 95
+|* Ersterstellung MA 20. May. 92
+|* Letzte Aenderung MA 10. Jan. 95
|*
|*************************************************************************/
void SwRootFrm::RemoveSuperfluous()
@@ -1566,14 +1566,14 @@ void SwRootFrm::RemoveSuperfluous()
/*************************************************************************
|*
-|* SwRootFrm::AssertFlyPages()
+|* SwRootFrm::AssertFlyPages()
|*
-|* Beschreibung Stellt sicher, dass genuegend Seiten vorhanden
-|* sind, damit alle Seitengebundenen Rahmen und DrawObject
-|* untergebracht sind.
+|* Beschreibung Stellt sicher, dass genuegend Seiten vorhanden
+|* sind, damit alle Seitengebundenen Rahmen und DrawObject
+|* untergebracht sind.
|*
-|* Ersterstellung MA 27. Jul. 93
-|* Letzte Aenderung MA 24. Apr. 97
+|* Ersterstellung MA 27. Jul. 93
+|* Letzte Aenderung MA 24. Apr. 97
|*
|*************************************************************************/
void SwRootFrm::AssertFlyPages()
@@ -1652,14 +1652,14 @@ void SwRootFrm::AssertFlyPages()
/*************************************************************************
|*
-|* SwRootFrm::AssertPageFlys()
+|* SwRootFrm::AssertPageFlys()
|*
-|* Beschreibung Stellt sicher, dass ab der uebergebenen Seite
-|* auf allen Seiten die Seitengebunden Objecte auf der richtigen
-|* Seite (Seitennummer stehen).
+|* Beschreibung Stellt sicher, dass ab der uebergebenen Seite
+|* auf allen Seiten die Seitengebunden Objecte auf der richtigen
+|* Seite (Seitennummer stehen).
|*
-|* Ersterstellung MA 02. Nov. 94
-|* Letzte Aenderung MA 10. Aug. 95
+|* Ersterstellung MA 02. Nov. 94
+|* Letzte Aenderung MA 10. Aug. 95
|*
|*************************************************************************/
void SwRootFrm::AssertPageFlys( SwPageFrm *pPage )
@@ -1708,10 +1708,10 @@ void SwRootFrm::AssertPageFlys( SwPageFrm *pPage )
/*************************************************************************
|*
-|* SwRootFrm::ChgSize()
+|* SwRootFrm::ChgSize()
|*
-|* Ersterstellung MA 24. Jul. 92
-|* Letzte Aenderung MA 13. Aug. 93
+|* Ersterstellung MA 24. Jul. 92
+|* Letzte Aenderung MA 13. Aug. 93
|*
|*************************************************************************/
Size SwRootFrm::ChgSize( const Size& aNewSize )
@@ -1724,20 +1724,20 @@ Size SwRootFrm::ChgSize( const Size& aNewSize )
/*************************************************************************
|*
-|* SwRootFrm::MakeAll()
+|* SwRootFrm::MakeAll()
|*
-|* Ersterstellung MA 17. Nov. 92
-|* Letzte Aenderung MA 19. Apr. 93
+|* Ersterstellung MA 17. Nov. 92
+|* Letzte Aenderung MA 19. Apr. 93
|*
|*************************************************************************/
void SwRootFrm::MakeAll()
{
if ( !bValidPos )
- { bValidPos = TRUE;
+ { bValidPos = TRUE;
aFrm.Pos().X() = aFrm.Pos().Y() = DOCUMENTBORDER;
}
if ( !bValidPrtArea )
- { bValidPrtArea = TRUE;
+ { bValidPrtArea = TRUE;
aPrt.Pos().X() = aPrt.Pos().Y() = 0;
aPrt.SSize( aFrm.SSize() );
}
@@ -1748,10 +1748,10 @@ void SwRootFrm::MakeAll()
/*************************************************************************
|*
-|* SwRootFrm::ImplInvalidateBrowseWidth()
+|* SwRootFrm::ImplInvalidateBrowseWidth()
|*
-|* Ersterstellung MA 08. Jun. 96
-|* Letzte Aenderung MA 08. Jun. 96
+|* Ersterstellung MA 08. Jun. 96
+|* Letzte Aenderung MA 08. Jun. 96
|*
|*************************************************************************/
void SwRootFrm::ImplInvalidateBrowseWidth()
@@ -1767,10 +1767,10 @@ void SwRootFrm::ImplInvalidateBrowseWidth()
/*************************************************************************
|*
-|* SwRootFrm::ImplCalcBrowseWidth()
+|* SwRootFrm::ImplCalcBrowseWidth()
|*
-|* Ersterstellung MA 07. Jun. 96
-|* Letzte Aenderung MA 13. Jun. 96
+|* Ersterstellung MA 07. Jun. 96
+|* Letzte Aenderung MA 13. Jun. 96
|*
|*************************************************************************/
void SwRootFrm::ImplCalcBrowseWidth()
@@ -1891,7 +1891,7 @@ void SwRootFrm::ImplCalcBrowseWidth()
// <--
}
break;
- default: /* do nothing */;
+ default: /* do nothing */;
}
nBrowseWidth = Max( nBrowseWidth, nWidth );
}
@@ -1902,10 +1902,10 @@ void SwRootFrm::ImplCalcBrowseWidth()
/*************************************************************************
|*
-|* SwRootFrm::StartAllAction()
+|* SwRootFrm::StartAllAction()
|*
-|* Ersterstellung MA 08. Mar. 98
-|* Letzte Aenderung MA 08. Mar. 98
+|* Ersterstellung MA 08. Mar. 98
+|* Letzte Aenderung MA 08. Mar. 98
|*
|*************************************************************************/
@@ -1914,7 +1914,7 @@ void SwRootFrm::StartAllAction()
ViewShell *pSh = GetCurrShell();
if ( pSh )
do
- { if ( pSh->ISA( SwCrsrShell ) )
+ { if ( pSh->ISA( SwCrsrShell ) )
((SwCrsrShell*)pSh)->StartAction();
else
pSh->StartAction();
diff --git a/sw/source/core/layout/pagedesc.cxx b/sw/source/core/layout/pagedesc.cxx
index ea06d1e5c24f..9f6bc1d8dc18 100644
--- a/sw/source/core/layout/pagedesc.cxx
+++ b/sw/source/core/layout/pagedesc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -45,19 +45,19 @@
#include <pagefrm.hxx>
#include <pagedesc.hxx>
#include <frmfmt.hxx>
-#include <fmtcol.hxx> // SwTxtFmtColl
+#include <fmtcol.hxx> // SwTxtFmtColl
#include <node.hxx>
#include <swtable.hxx>
#include <frmtool.hxx>
-#include <doc.hxx> // fuer GetAttrPool
+#include <doc.hxx> // fuer GetAttrPool
#include <poolfmt.hxx>
/*************************************************************************
|*
-|* SwPageDesc::SwPageDesc()
+|* SwPageDesc::SwPageDesc()
|*
-|* Ersterstellung MA 25. Jan. 93
-|* Letzte Aenderung MA 16. Feb. 94
+|* Ersterstellung MA 25. Jan. 93
+|* Letzte Aenderung MA 16. Feb. 94
|*
|*************************************************************************/
@@ -119,12 +119,12 @@ SwPageDesc::~SwPageDesc()
/*************************************************************************
|*
-|* SwPageDesc::Mirror()
+|* SwPageDesc::Mirror()
|*
-|* Beschreibung Gespiegelt werden nur die Raender.
-|* Attribute wie Umrandung und dergleichen werden 1:1 kopiert.
-|* Ersterstellung MA 25. Jan. 93
-|* Letzte Aenderung 01. Nov. 94
+|* Beschreibung Gespiegelt werden nur die Raender.
+|* Attribute wie Umrandung und dergleichen werden 1:1 kopiert.
+|* Ersterstellung MA 25. Jan. 93
+|* Letzte Aenderung 01. Nov. 94
|*
|*************************************************************************/
@@ -169,7 +169,7 @@ void SwPageDesc::ResetAllAttr( sal_Bool bLeft )
|*
|* Beschreibung erfragt Informationen
|* Ersterstellung JP 31.03.94
-|* Letzte Aenderung JP 31.03.94
+|* Letzte Aenderung JP 31.03.94
|*
*************************************************************************/
@@ -181,7 +181,7 @@ BOOL SwPageDesc::GetInfo( SfxPoolItem & rInfo ) const
// {
// dann weiter zum Format
if( !aMaster.GetInfo( rInfo ) )
- return FALSE; // gefunden
+ return FALSE; // gefunden
return aLeft.GetInfo( rInfo );
// }
// return TRUE; // weiter suchen
@@ -193,7 +193,7 @@ BOOL SwPageDesc::GetInfo( SfxPoolItem & rInfo ) const
|*
|* Beschreibung setzt die Vorlage fuer die Registerhaltigkeit
|* Ersterstellung AMA 22.07.96
-|* Letzte Aenderung AMA 22.07.96
+|* Letzte Aenderung AMA 22.07.96
|*
*************************************************************************/
@@ -217,7 +217,7 @@ void SwPageDesc::SetRegisterFmtColl( const SwTxtFmtColl* pFmt )
|*
|* Beschreibung holt die Vorlage fuer die Registerhaltigkeit
|* Ersterstellung AMA 22.07.96
-|* Letzte Aenderung AMA 22.07.96
+|* Letzte Aenderung AMA 22.07.96
|*
*************************************************************************/
@@ -234,7 +234,7 @@ const SwTxtFmtColl* SwPageDesc::GetRegisterFmtColl() const
|*
|* Beschreibung benachrichtigt alle betroffenen PageFrames
|* Ersterstellung AMA 22.07.96
-|* Letzte Aenderung AMA 22.07.96
+|* Letzte Aenderung AMA 22.07.96
|*
*************************************************************************/
@@ -282,9 +282,9 @@ void SwPageDesc::RegisterChange()
|* SwPageDesc::Modify()
|*
|* Beschreibung reagiert insbesondere auf Aenderungen
-|* der Vorlage fuer die Registerhaltigkeit
+|* der Vorlage fuer die Registerhaltigkeit
|* Ersterstellung AMA 22.07.96
-|* Letzte Aenderung AMA 22.07.96
+|* Letzte Aenderung AMA 22.07.96
|*
*************************************************************************/
@@ -377,10 +377,10 @@ BOOL SwPageDesc::IsFollowNextPageOfNode( const SwNode& rNd ) const
/*************************************************************************
|*
-|* SwPageFtnInfo::SwPageFtnInfo()
+|* SwPageFtnInfo::SwPageFtnInfo()
|*
-|* Ersterstellung MA 24. Feb. 93
-|* Letzte Aenderung MA 24. Feb. 93
+|* Ersterstellung MA 24. Feb. 93
+|* Letzte Aenderung MA 24. Feb. 93
|*
|*************************************************************************/
@@ -388,7 +388,7 @@ BOOL SwPageDesc::IsFollowNextPageOfNode( const SwNode& rNd ) const
SwPageFtnInfo::SwPageFtnInfo() :
nMaxHeight( 0 ),
-// aPen( PEN_SOLID ),
+// aPen( PEN_SOLID ),
nLineWidth(10),
aWidth( 25, 100 ),
nTopDist( 57 ), //1mm
@@ -397,7 +397,7 @@ SwPageFtnInfo::SwPageFtnInfo() :
eAdj = FRMDIR_HORI_RIGHT_TOP == GetDefaultFrameDirection(GetAppLanguage()) ?
FTNADJ_RIGHT :
FTNADJ_LEFT;
-// aPen.SetWidth( 10 );
+// aPen.SetWidth( 10 );
}
@@ -415,10 +415,10 @@ SwPageFtnInfo::SwPageFtnInfo( const SwPageFtnInfo &rCpy ) :
/*************************************************************************
|*
-|* SwPageFtnInfo::operator=
+|* SwPageFtnInfo::operator=
|*
-|* Ersterstellung MA 24. Feb. 93
-|* Letzte Aenderung MA 24. Feb. 93
+|* Ersterstellung MA 24. Feb. 93
+|* Letzte Aenderung MA 24. Feb. 93
|*
|*************************************************************************/
@@ -426,21 +426,21 @@ SwPageFtnInfo::SwPageFtnInfo( const SwPageFtnInfo &rCpy ) :
SwPageFtnInfo &SwPageFtnInfo::operator=( const SwPageFtnInfo& rCpy )
{
- nMaxHeight = rCpy.GetHeight();
- nLineWidth = rCpy.nLineWidth;
- aLineColor = rCpy.aLineColor;
- aWidth = rCpy.GetWidth();
- eAdj = rCpy.GetAdj();
- nTopDist = rCpy.GetTopDist();
+ nMaxHeight = rCpy.GetHeight();
+ nLineWidth = rCpy.nLineWidth;
+ aLineColor = rCpy.aLineColor;
+ aWidth = rCpy.GetWidth();
+ eAdj = rCpy.GetAdj();
+ nTopDist = rCpy.GetTopDist();
nBottomDist = rCpy.GetBottomDist();
return *this;
}
/*************************************************************************
|*
-|* SwPageFtnInfo::operator==
+|* SwPageFtnInfo::operator==
|*
-|* Ersterstellung MA 01. Mar. 93
-|* Letzte Aenderung MA 01. Mar. 93
+|* Ersterstellung MA 01. Mar. 93
+|* Letzte Aenderung MA 01. Mar. 93
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 08d6d5f9bff9..9443507cb9f2 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -105,9 +105,9 @@
#include <PostItMgr.hxx>
#include <tools/color.hxx>
-#define COL_NOTES_SIDEPANE RGB_COLORDATA(230,230,230)
-#define COL_NOTES_SIDEPANE_BORDER RGB_COLORDATA(200,200,200)
-#define COL_NOTES_SIDEPANE_SCROLLAREA RGB_COLORDATA(230,230,220)
+#define COL_NOTES_SIDEPANE RGB_COLORDATA(230,230,230)
+#define COL_NOTES_SIDEPANE_BORDER RGB_COLORDATA(200,200,200)
+#define COL_NOTES_SIDEPANE_SCROLLAREA RGB_COLORDATA(230,230,220)
#include <vcl/svapp.hxx>
#include <svtools/borderhelper.hxx>
@@ -115,7 +115,7 @@
using namespace ::com::sun::star;
-#define GETOBJSHELL() ((SfxObjectShell*)rSh.GetDoc()->GetDocShell())
+#define GETOBJSHELL() ((SfxObjectShell*)rSh.GetDoc()->GetDocShell())
//Tabellenhilfslinien an?
#define IS_SUBS_TABLE \
@@ -153,28 +153,28 @@ using namespace ::com::sun::star;
//----- Klassen zum Sammeln von Umrandungen und Hilfslinien ---
class SwLineRect : public SwRect
{
- const Color *pColor;
+ const Color *pColor;
SvxBorderStyle nStyle;
const SwTabFrm *pTab;
- BYTE nSubColor; //Hilfslinien einfaerben
- BOOL bPainted; //schon gepaintet?
- BYTE nLock; //Um die Linien zum Hell-Layer abzugrenzen.
+ BYTE nSubColor; //Hilfslinien einfaerben
+ BOOL bPainted; //schon gepaintet?
+ BYTE nLock; //Um die Linien zum Hell-Layer abzugrenzen.
public:
SwLineRect( const SwRect &rRect, const Color *pCol, const SvxBorderStyle nStyle,
const SwTabFrm *pT , const BYTE nSCol );
- const Color *GetColor() const { return pColor;}
+ const Color *GetColor() const { return pColor;}
SvxBorderStyle GetStyle() const { return nStyle; }
- const SwTabFrm *GetTab() const { return pTab; }
- void SetPainted() { bPainted = TRUE; }
- void Lock( BOOL bLock ) { if ( bLock )
+ const SwTabFrm *GetTab() const { return pTab; }
+ void SetPainted() { bPainted = TRUE; }
+ void Lock( BOOL bLock ) { if ( bLock )
++nLock;
else if ( nLock )
--nLock;
}
- BOOL IsPainted() const { return bPainted; }
- BOOL IsLocked() const { return nLock != 0; }
- BYTE GetSubColor() const { return nSubColor;}
+ BOOL IsPainted() const { return bPainted; }
+ BOOL IsLocked() const { return nLock != 0; }
+ BYTE GetSubColor() const { return nSubColor;}
BOOL MakeUnion( const SwRect &rRect );
};
@@ -183,10 +183,10 @@ SV_DECL_VARARR( SwLRects, SwLineRect, 100, 100 )
class SwLineRects : public SwLRects
{
- USHORT nLastCount; //unuetze Durchlaeufe im PaintLines verhindern.
+ USHORT nLastCount; //unuetze Durchlaeufe im PaintLines verhindern.
public:
SwLineRects() : nLastCount( 0 ) {}
- void AddLineRect( const SwRect& rRect, const Color *pColor, const SvxBorderStyle nStyle,
+ void AddLineRect( const SwRect& rRect, const Color *pColor, const SvxBorderStyle nStyle,
const SwTabFrm *pTab, const BYTE nSCol );
void ConnectEdges( OutputDevice *pOut );
void PaintLines ( OutputDevice *pOut );
@@ -319,27 +319,27 @@ void SwCalcPixStatics( OutputDevice *pOut )
//Zum Sichern der statics, damit das Paint (quasi) reentrant wird.
class SwSavePaintStatics
{
- BOOL bSFlyMetafile,
+ BOOL bSFlyMetafile,
bSPageOnly;
- ViewShell *pSGlobalShell;
- OutputDevice *pSFlyMetafileOut;
- SwFlyFrm *pSRetoucheFly,
+ ViewShell *pSGlobalShell;
+ OutputDevice *pSFlyMetafileOut;
+ SwFlyFrm *pSRetoucheFly,
*pSRetoucheFly2,
*pSFlyOnlyDraw;
- SwLineRects *pSLines;
- SwSubsRects *pSSubsLines;
+ SwLineRects *pSLines;
+ SwSubsRects *pSSubsLines;
// --> OD 2005-07-04 #123196#
SwSubsRects* pSSpecSubsLines;
// <--
- SfxProgress *pSProgress;
- long nSPixelSzW,
+ SfxProgress *pSProgress;
+ long nSPixelSzW,
nSPixelSzH,
nSHalfPixelSzW,
nSHalfPixelSzH,
nSMinDistPixelW,
nSMinDistPixelH;
- Color aSGlobalRetoucheColor;
- double aSScaleX,
+ Color aSGlobalRetoucheColor;
+ double aSScaleX,
aSScaleY;
public:
SwSavePaintStatics();
@@ -389,7 +389,7 @@ SwSavePaintStatics::SwSavePaintStatics() :
SwSavePaintStatics::~SwSavePaintStatics()
{
- pGlobalShell = pSGlobalShell;
+ pGlobalShell = pSGlobalShell;
bFlyMetafile = bSFlyMetafile;
pFlyMetafileOut = pSFlyMetafileOut;
pRetoucheFly = pSRetoucheFly;
@@ -440,17 +440,17 @@ BOOL SwLineRect::MakeUnion( const SwRect &rRect )
//Zusammenfassen wenn kein Luecke zwischen den Linien ist.
const long nAdd = nPixelSzW + nHalfPixelSzW;
if ( Bottom() + nAdd >= rRect.Top() &&
- Top() - nAdd <= rRect.Bottom() )
+ Top() - nAdd <= rRect.Bottom() )
{
Bottom( Max( Bottom(), rRect.Bottom() ) );
- Top ( Min( Top(), rRect.Top() ) );
+ Top ( Min( Top(), rRect.Top() ) );
return TRUE;
}
}
}
else
{
- if ( Top() == rRect.Top() && Height() == rRect.Height() )
+ if ( Top() == rRect.Top() && Height() == rRect.Height() )
{
//Zusammenfassen wenn kein Luecke zwischen den Linien ist.
const long nAdd = nPixelSzW + nHalfPixelSzW;
@@ -528,8 +528,8 @@ void SwLineRects::ConnectEdges( OutputDevice *pOut )
{
SwLineRect &rL2 = operator[](i2);
if ( rL2.GetTab() != rL1.GetTab() ||
- rL2.IsPainted() ||
- rL2.IsLocked() ||
+ rL2.IsPainted() ||
+ rL2.IsLocked() ||
bVert == rL2.Height() > rL2.Width() )
continue;
@@ -546,7 +546,7 @@ void SwLineRects::ConnectEdges( OutputDevice *pOut )
}
if ( (nL1a - nAdd < nL2d && nL1d + nAdd > nL2a) &&
- ((nL1b > nL2b && nL1c < nL2c) ||
+ ((nL1b > nL2b && nL1c < nL2c) ||
(nL1c >= nL2c && nL1b - nAdd < nL2c) ||
(nL1b <= nL2b && nL1c + nAdd > nL2b)) )
{
@@ -585,7 +585,7 @@ void SwLineRects::ConnectEdges( OutputDevice *pOut )
if ( rL1.Top() < pLA->Top() )
{
if ( rL1.Bottom() == pLA->Bottom() )
- continue; //kleiner Irrtum (woher?)
+ continue; //kleiner Irrtum (woher?)
SwRect aIns( rL1 );
aIns.Bottom( pLA->Bottom() );
@@ -603,9 +603,9 @@ void SwLineRects::ConnectEdges( OutputDevice *pOut )
}
if ( rL1.Bottom() > pLB->Bottom() )
- rL1.Top( pLB->Top() ); //i1 nach oben verlaengern
+ rL1.Top( pLB->Top() ); //i1 nach oben verlaengern
else
- bRemove = TRUE; //abbrechen, i1 entfernen
+ bRemove = TRUE; //abbrechen, i1 entfernen
}
}
else
@@ -626,7 +626,7 @@ void SwLineRects::ConnectEdges( OutputDevice *pOut )
if ( rL1.Left() < pLA->Left() )
{
if ( rL1.Right() == pLA->Right() )
- continue; //kleiner irrtum
+ continue; //kleiner irrtum
SwRect aIns( rL1 );
aIns.Right( pLA->Right() );
@@ -653,7 +653,7 @@ void SwLineRects::ConnectEdges( OutputDevice *pOut )
if ( bRemove )
{
Remove( static_cast<USHORT>(i), 1 );
- --i; //keinen auslassen!
+ --i; //keinen auslassen!
}
}
}
@@ -735,7 +735,7 @@ void SwSubsRects::RemoveSuperfluousSubsidiaryLines( const SwLineRects &rRects )
break;
}
}
- else //Horizontal
+ else //Horizontal
{
if ( aSubsRect.Top() <= rLine.Bottom() &&
aSubsRect.Bottom() >= rLine.Top() )
@@ -852,21 +852,21 @@ void SwLineRects::PaintLines( OutputDevice *pOut )
if ( rLRect.Height() > rLRect.Width() )
{
//Senkrechte Kante, ueberlappt sie mit der TabellenKante?
- SwTwips nLLeft = rLRect.Left() - 30,
+ SwTwips nLLeft = rLRect.Left() - 30,
nLRight = rLRect.Right() + 30,
- nTLeft = rLRect.GetTab()->Frm().Left() + rLRect.GetTab()->Prt().Left(),
+ nTLeft = rLRect.GetTab()->Frm().Left() + rLRect.GetTab()->Prt().Left(),
nTRight = rLRect.GetTab()->Frm().Left() + rLRect.GetTab()->Prt().Right();
if ( (nTLeft >= nLLeft && nTLeft <= nLRight) ||
(nTRight>= nLLeft && nTRight<= nLRight) )
bPaint = FALSE;
}
else
- { //Waagerechte Kante, ueberlappt sie mit der Tabellenkante?
- SwTwips nLTop = rLRect.Top() - 30,
+ { //Waagerechte Kante, ueberlappt sie mit der Tabellenkante?
+ SwTwips nLTop = rLRect.Top() - 30,
nLBottom = rLRect.Bottom() + 30,
- nTTop = rLRect.GetTab()->Frm().Top() + rLRect.GetTab()->Prt().Top(),
+ nTTop = rLRect.GetTab()->Frm().Top() + rLRect.GetTab()->Prt().Top(),
nTBottom = rLRect.GetTab()->Frm().Top() + rLRect.GetTab()->Prt().Bottom();
- if ( (nTTop >= nLTop && nTTop <= nLBottom) ||
+ if ( (nTTop >= nLTop && nTTop <= nLBottom) ||
(nTBottom >= nLTop && nTBottom <= nLBottom) )
bPaint = FALSE;
}
@@ -2757,18 +2757,18 @@ void SwTabFrmPainter::Insert( SwLineEntry& rNew, bool bHori )
/*************************************************************************
|*
-|* SwRootFrm::Paint()
+|* SwRootFrm::Paint()
|*
-|* Beschreibung
-|* Fuer jede sichtbare Seite, die von Rect ber?hrt wird einmal Painten.
-|* 1. Umrandungen und Hintergruende Painten.
-|* 2. Den Draw Layer (Ramen und Zeichenobjekte) der unter dem Dokument
-|* liegt painten (Hoelle).
-|* 3. Den Dokumentinhalt (Text) Painten.
-|* 4. Den Drawlayer der ueber dem Dokuemnt liegt painten.
+|* Beschreibung
+|* Fuer jede sichtbare Seite, die von Rect ber?hrt wird einmal Painten.
+|* 1. Umrandungen und Hintergruende Painten.
+|* 2. Den Draw Layer (Ramen und Zeichenobjekte) der unter dem Dokument
+|* liegt painten (Hoelle).
+|* 3. Den Dokumentinhalt (Text) Painten.
+|* 4. Den Drawlayer der ueber dem Dokuemnt liegt painten.
|*
-|* Ersterstellung MA 01. Jun. 92
-|* Letzte Aenderung MA 10. Oct. 97
+|* Ersterstellung MA 01. Jun. 92
+|* Letzte Aenderung MA 10. Oct. 97
|*
|*************************************************************************/
@@ -2849,7 +2849,7 @@ void SwRootFrm::Paint( const SwRect& rRect, const SwPrtOptions *pPrintData ) con
const BOOL bExtraData = ::IsExtraData( GetFmt()->GetDoc() );
- pLines = new SwLineRects; //Sammler fuer Umrandungen.
+ pLines = new SwLineRects; //Sammler fuer Umrandungen.
// #104289#. During painting, something (OLE) can
// load the linguistic, which in turn can cause a reformat
@@ -3131,10 +3131,10 @@ void SwRootFrm::Paint( const SwRect& rRect, const SwPrtOptions *pPrintData ) con
/*************************************************************************
|*
-|* SwRootFrm::HackPrepareLongTblPaint()
+|* SwRootFrm::HackPrepareLongTblPaint()
|*
-|* Ersterstellung MA 27. Sep. 96
-|* Letzte Aenderung MA 18. Nov. 97
+|* Ersterstellung MA 27. Sep. 96
+|* Letzte Aenderung MA 18. Nov. 97
|*
|*************************************************************************/
@@ -3165,10 +3165,10 @@ void SwRootFrm::HackPrepareLongTblPaint( int nMode )
/*************************************************************************
|*
-|* SwLayoutFrm::Paint()
+|* SwLayoutFrm::Paint()
|*
-|* Ersterstellung MA 19. May. 92
-|* Letzte Aenderung MA 19. Apr. 95
+|* Ersterstellung MA 19. May. 92
+|* Letzte Aenderung MA 19. Apr. 95
|*
|*************************************************************************/
@@ -3263,7 +3263,7 @@ void SwLayoutFrm::Paint( const SwRect& rRect, const SwPrtOptions* /* pPrintData
if ( pFrm->IsRetouche() )
{
if ( pFrm->IsRetoucheFrm() && bWin && !pFrm->GetNext() )
- { if ( !pPage )
+ { if ( !pPage )
pPage = FindPageFrm();
pFrm->Retouche( pPage, rRect );
}
@@ -3283,7 +3283,7 @@ void SwLayoutFrm::Paint( const SwRect& rRect, const SwPrtOptions* /* pPrintData
//Um es nicht alzu Heftig werden zu lassen versuche ich hier
//das Rechteck zu begrenzen indem der gewuenschte Teil gepaintet
//und nur die uebrigen Absatzanteile invalidiert werden.
- if ( aPaintRect.Left() == rRect.Left() &&
+ if ( aPaintRect.Left() == rRect.Left() &&
aPaintRect.Right() == rRect.Right() )
{
aPaintRect.Bottom( rRect.Top() - 1 );
@@ -3409,10 +3409,10 @@ sal_Bool SwFlyFrm::IsShadowTransparent() const
/*************************************************************************
|*
-|* SwFlyFrm::IsPaint()
+|* SwFlyFrm::IsPaint()
|*
-|* Ersterstellung MA 16. Jan. 97
-|* Letzte Aenderung MA 16. Jan. 97
+|* Ersterstellung MA 16. Jan. 97
+|* Letzte Aenderung MA 16. Jan. 97
|*
|*************************************************************************/
@@ -3518,10 +3518,10 @@ void SwCellFrm::Paint( const SwRect& rRect, const SwPrtOptions* /* pPrintData */
/*************************************************************************
|*
-|* SwFlyFrm::Paint()
+|* SwFlyFrm::Paint()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 16. Jan. 97
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 16. Jan. 97
|*
|*************************************************************************/
@@ -3757,10 +3757,10 @@ void SwFlyFrm::Paint( const SwRect& rRect, const SwPrtOptions* /* pPrintData */
}
/*************************************************************************
|*
-|* SwTabFrm::Paint()
+|* SwTabFrm::Paint()
|*
-|* Ersterstellung MA 11. May. 93
-|* Letzte Aenderung MA 23. Mar. 95
+|* Ersterstellung MA 11. May. 93
+|* Letzte Aenderung MA 23. Mar. 95
|*
|*************************************************************************/
@@ -3806,14 +3806,14 @@ void SwTabFrm::Paint( const SwRect& rRect, const SwPrtOptions* /* pPrintData */
/*************************************************************************
|*
-|* SwFrm::PaintShadow()
+|* SwFrm::PaintShadow()
|*
-|* Beschreibung Malt einen Schatten wenns das FrmFormat fordert.
-|* Der Schatten wird immer an den auesseren Rand des OutRect gemalt.
-|* Das OutRect wird ggf. so verkleinert, dass auf diesem das
-|* malen der Umrandung stattfinden kann.
-|* Ersterstellung MA 21. Dec. 92
-|* Letzte Aenderung MA 29. May. 97
+|* Beschreibung Malt einen Schatten wenns das FrmFormat fordert.
+|* Der Schatten wird immer an den auesseren Rand des OutRect gemalt.
+|* Das OutRect wird ggf. so verkleinert, dass auf diesem das
+|* malen der Umrandung stattfinden kann.
+|* Ersterstellung MA 21. Dec. 92
+|* Letzte Aenderung MA 29. May. 97
|*
|*************************************************************************/
/// OD 23.08.2002 #99657#
@@ -3828,7 +3828,7 @@ void SwFrm::PaintShadow( const SwRect& rRect, SwRect& rOutRect,
SwRects aRegion( 2, 2 );
SwRect aOut( rOutRect );
- const BOOL bCnt = IsCntntFrm();
+ const BOOL bCnt = IsCntntFrm();
const BOOL bTop = !bCnt || rAttrs.GetTopLine ( *(this) ) ? TRUE : FALSE;
const BOOL bBottom = !bCnt || rAttrs.GetBottomLine( *(this) ) ? TRUE : FALSE;
@@ -4019,10 +4019,10 @@ void SwFrm::PaintShadow( const SwRect& rRect, SwRect& rOutRect,
/*************************************************************************
|*
-|* SwFrm::PaintBorderLine()
+|* SwFrm::PaintBorderLine()
|*
-|* Ersterstellung MA 22. Dec. 92
-|* Letzte Aenderung MA 22. Jan. 95
+|* Ersterstellung MA 22. Dec. 92
+|* Letzte Aenderung MA 22. Jan. 95
|*
|*************************************************************************/
@@ -4061,11 +4061,11 @@ void SwFrm::PaintBorderLine( const SwRect& rRect,
/*************************************************************************
|*
-|* SwFrm::PaintBorderLines()
+|* SwFrm::PaintBorderLines()
|*
-|* Beschreibung Nur alle Linien einfach oder alle Linien doppelt!!!!
-|* Ersterstellung MA 22. Dec. 92
-|* Letzte Aenderung MA 22. Mar. 95
+|* Beschreibung Nur alle Linien einfach oder alle Linien doppelt!!!!
+|* Ersterstellung MA 22. Dec. 92
+|* Letzte Aenderung MA 22. Mar. 95
|*
|*************************************************************************/
@@ -4529,11 +4529,11 @@ const SwFrm* lcl_HasNextCell( const SwFrm& rFrm )
/*************************************************************************
|*
-|* SwFrm::PaintBorder()
+|* SwFrm::PaintBorder()
|*
-|* Beschreibung Malt Schatten und Umrandung
-|* Ersterstellung MA 23.01.92
-|* Letzte Aenderung MA 29. Jul. 96
+|* Beschreibung Malt Schatten und Umrandung
+|* Ersterstellung MA 23.01.92
+|* Letzte Aenderung MA 29. Jul. 96
|*
|*************************************************************************/
@@ -4707,7 +4707,7 @@ void SwFrm::PaintBorder( const SwRect& rRect, const SwPageFrm *pPage,
if ( (GetType() & 0x90C5) )
return;
- if ( (GetType() & 0x2000) && //Cell
+ if ( (GetType() & 0x2000) && //Cell
!pGlobalShell->GetViewOptions()->IsTable() )
return;
@@ -4849,13 +4849,13 @@ void SwFrm::PaintBorder( const SwRect& rRect, const SwPageFrm *pPage,
}
/*************************************************************************
|*
-|* SwFtnContFrm::PaintBorder()
+|* SwFtnContFrm::PaintBorder()
|*
-|* Beschreibung Spezialimplementierung wg. der Fussnotenlinie.
-|* Derzeit braucht nur der obere Rand beruecksichtigt werden.
-|* Auf andere Linien und Schatten wird verzichtet.
-|* Ersterstellung MA 27. Feb. 93
-|* Letzte Aenderung MA 08. Sep. 93
+|* Beschreibung Spezialimplementierung wg. der Fussnotenlinie.
+|* Derzeit braucht nur der obere Rand beruecksichtigt werden.
+|* Auf andere Linien und Schatten wird verzichtet.
+|* Ersterstellung MA 27. Feb. 93
+|* Letzte Aenderung MA 08. Sep. 93
|*
|*************************************************************************/
@@ -4871,11 +4871,11 @@ void SwFtnContFrm::PaintBorder( const SwRect& rRect, const SwPageFrm *pPage,
}
/*************************************************************************
|*
-|* SwFtnContFrm::PaintLine()
+|* SwFtnContFrm::PaintLine()
|*
-|* Beschreibung Fussnotenline malen.
-|* Ersterstellung MA 02. Mar. 93
-|* Letzte Aenderung MA 28. Mar. 94
+|* Beschreibung Fussnotenline malen.
+|* Ersterstellung MA 02. Mar. 93
+|* Letzte Aenderung MA 28. Mar. 94
|*
|*************************************************************************/
@@ -4919,12 +4919,12 @@ void SwFtnContFrm::PaintLine( const SwRect& rRect,
/*************************************************************************
|*
-|* SwLayoutFrm::PaintColLines()
+|* SwLayoutFrm::PaintColLines()
|*
-|* Beschreibung Painted die Trennlinien fuer die innenliegenden
-|* Spalten.
-|* Ersterstellung MA 21. Jun. 93
-|* Letzte Aenderung MA 28. Mar. 94
+|* Beschreibung Painted die Trennlinien fuer die innenliegenden
+|* Spalten.
+|* Ersterstellung MA 21. Jun. 93
+|* Letzte Aenderung MA 28. Mar. 94
|*
|*************************************************************************/
@@ -5171,7 +5171,7 @@ void SwPageFrm::PaintGrid( OutputDevice* pOut, SwRect &rRect ) const
while( aVert.Left() <= nRight )
{
PaintBorderLine(rRect,aVert,this,pCol);
- aVert.Pos().X() += nGridWidth; //for textgrid refactor
+ aVert.Pos().X() += nGridWidth; //for textgrid refactor
}
}
else if ( bBorder )
@@ -5228,7 +5228,7 @@ void SwPageFrm::PaintGrid( OutputDevice* pOut, SwRect &rRect ) const
while( aVert.Left() <= nRight )
{
PaintBorderLine( rRect, aVert, this, pCol);
- aVert.Pos().X() += nGridWidth; //for textgrid refactor
+ aVert.Pos().X() += nGridWidth; //for textgrid refactor
}
}
else if( bBorder )
@@ -5642,10 +5642,10 @@ const sal_Int8 SwPageFrm::mnShadowPxWidth = 2;
/*************************************************************************
|*
-|* SwFrm::PaintBaBo()
+|* SwFrm::PaintBaBo()
|*
-|* Ersterstellung MA 22. Oct. 93
-|* Letzte Aenderung MA 19. Jun. 96
+|* Ersterstellung MA 22. Oct. 93
+|* Letzte Aenderung MA 19. Jun. 96
|*
|*************************************************************************/
@@ -5695,10 +5695,10 @@ void SwFrm::PaintBaBo( const SwRect& rRect, const SwPageFrm *pPage,
/*************************************************************************
|*
-|* SwFrm::PaintBackground()
+|* SwFrm::PaintBackground()
|*
-|* Ersterstellung MA 04. Jan. 93
-|* Letzte Aenderung MA 06. Feb. 97
+|* Ersterstellung MA 04. Jan. 93
+|* Letzte Aenderung MA 06. Feb. 97
|*
|*************************************************************************/
/// OD 05.09.2002 #102912#
@@ -5889,11 +5889,11 @@ void SwFrm::PaintBackground( const SwRect &rRect, const SwPageFrm *pPage,
/*************************************************************************
|*
-|* SwPageFrm::RefreshSubsidiary()
+|* SwPageFrm::RefreshSubsidiary()
|*
-|* Beschreibung Erneuert alle Hilfslinien der Seite.
-|* Ersterstellung MA 04. Nov. 92
-|* Letzte Aenderung MA 10. May. 95
+|* Beschreibung Erneuert alle Hilfslinien der Seite.
+|* Ersterstellung MA 04. Nov. 92
+|* Letzte Aenderung MA 10. May. 95
|*
|*************************************************************************/
@@ -5936,17 +5936,17 @@ void SwPageFrm::RefreshSubsidiary( const SwRect &rRect ) const
/*************************************************************************
|*
-|* SwLayoutFrm::RefreshLaySubsidiary()
+|* SwLayoutFrm::RefreshLaySubsidiary()
|*
-|* Ersterstellung MA 04. Nov. 92
-|* Letzte Aenderung MA 22. Jan. 95
+|* Ersterstellung MA 04. Nov. 92
+|* Letzte Aenderung MA 22. Jan. 95
|*
|*************************************************************************/
void SwLayoutFrm::RefreshLaySubsidiary( const SwPageFrm *pPage,
const SwRect &rRect ) const
{
const BOOL bNoLowerColumn = !Lower() || !Lower()->IsColumnFrm();
- const BOOL bSubsOpt = IS_SUBS;
+ const BOOL bSubsOpt = IS_SUBS;
const BOOL bSubsTable = ((GetType() & (FRM_ROW | FRM_CELL)) && IS_SUBS_TABLE);
const BOOL bSubsOther = (GetType() & (FRM_HEADER | FRM_FOOTER | FRM_FTN )) && bSubsOpt;
const BOOL bSubsSect = IsSctFrm() &&
@@ -5961,7 +5961,7 @@ void SwLayoutFrm::RefreshLaySubsidiary( const SwPageFrm *pPage,
if ( GetType() & FRM_BODY )
{
if ( IsPageBodyFrm() )
- bSubsBody = bSubsOpt && bNoLowerColumn; //nur ohne Spalten
+ bSubsBody = bSubsOpt && bNoLowerColumn; //nur ohne Spalten
else //Spaltenbody
{
if ( GetUpper()->GetUpper()->IsSctFrm() )
@@ -6012,12 +6012,12 @@ void SwLayoutFrm::RefreshLaySubsidiary( const SwPageFrm *pPage,
/*************************************************************************
|*
-|* SwLayoutFrm::PaintSubsidiaryLines()
+|* SwLayoutFrm::PaintSubsidiaryLines()
|*
-|* Beschreibung Hilfslinien um die PrtAreas malen
-|* Nur die LayoutFrm's die direkt Cntnt enthalten.
-|* Ersterstellung MA 21. May. 92
-|* Letzte Aenderung MA 22. Jan. 95
+|* Beschreibung Hilfslinien um die PrtAreas malen
+|* Nur die LayoutFrm's die direkt Cntnt enthalten.
+|* Ersterstellung MA 21. May. 92
+|* Letzte Aenderung MA 22. Jan. 95
|*
|*************************************************************************/
@@ -6050,7 +6050,7 @@ void MA_FASTCALL lcl_RefreshLine( const SwLayoutFrm *pLay,
aP2( rP2 );
while ( aP1.*pDirPt < aP2.*pDirPt )
- { //Der Startpunkt wird jetzt, falls er in einem Fly sitzt, direkt
+ { //Der Startpunkt wird jetzt, falls er in einem Fly sitzt, direkt
//hinter den Fly gesetzt.
//Wenn der Endpunkt in einem Fly sitzt oder zwischen Start und Endpunkt
//ein Fly sitzt, so wird der Endpunkt eben an den Start herangezogen.
@@ -6292,13 +6292,13 @@ void SwLayoutFrm::PaintSubsidiaryLines( const SwPageFrm *pPage,
/*************************************************************************
|*
-|* SwPageFrm::RefreshExtraData(), SwLayoutFrm::RefreshExtraData()
+|* SwPageFrm::RefreshExtraData(), SwLayoutFrm::RefreshExtraData()
|*
-|* Beschreibung Erneuert alle Extradaten (Zeilennummern usw) der Seite.
-|* Grundsaetzlich sind nur diejenigen Objekte beruecksichtig,
-|* die in die seitliche Ausdehnung des Rects ragen.
-|* Ersterstellung MA 20. Jan. 98
-|* Letzte Aenderung MA 18. Feb. 98
+|* Beschreibung Erneuert alle Extradaten (Zeilennummern usw) der Seite.
+|* Grundsaetzlich sind nur diejenigen Objekte beruecksichtig,
+|* die in die seitliche Ausdehnung des Rects ragen.
+|* Ersterstellung MA 20. Jan. 98
+|* Letzte Aenderung MA 18. Feb. 98
|*
|*************************************************************************/
@@ -6418,14 +6418,14 @@ const Font& SwPageFrm::GetEmptyPageFont()
/*************************************************************************
|*
-|* SwFrm::Retouche
+|* SwFrm::Retouche
|*
-|* Beschreibung Retouche fuer einen Bereich.
-|* Retouche wird nur dann durchgefuehrt, wenn der Frm der letzte seiner
-|* Kette ist. Der Gesamte Bereich des Upper unterhalb des Frm wird
-|* per PaintBackground gecleared.
-|* Ersterstellung MA 13. Apr. 93
-|* Letzte Aenderung MA 25. Jul. 96
+|* Beschreibung Retouche fuer einen Bereich.
+|* Retouche wird nur dann durchgefuehrt, wenn der Frm der letzte seiner
+|* Kette ist. Der Gesamte Bereich des Upper unterhalb des Frm wird
+|* per PaintBackground gecleared.
+|* Ersterstellung MA 13. Apr. 93
+|* Letzte Aenderung MA 25. Jul. 96
|*
|*************************************************************************/
@@ -6549,7 +6549,7 @@ BOOL SwFrm::GetBackgroundBrush( const SvxBrushItem* & rpBrush,
rpBrush = 0;
rpCol = NULL;
do
- { if ( pFrm->IsPageFrm() && !pOpt->IsPageBack() )
+ { if ( pFrm->IsPageFrm() && !pOpt->IsPageBack() )
return FALSE;
const SvxBrushItem &rBack = pFrm->GetAttrSet()->GetBackground();
@@ -6638,10 +6638,10 @@ BOOL SwFrm::GetBackgroundBrush( const SvxBrushItem* & rpBrush,
/*************************************************************************
|*
-|* SwFrmFmt::GetGraphic()
+|* SwFrmFmt::GetGraphic()
|*
-|* Ersterstellung MA 23. Jul. 96
-|* Letzte Aenderung MA 23. Jul. 96
+|* Ersterstellung MA 23. Jul. 96
+|* Letzte Aenderung MA 23. Jul. 96
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx
index d93f614957b7..a3a5f2528cd0 100644
--- a/sw/source/core/layout/sectfrm.cxx
+++ b/sw/source/core/layout/sectfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -36,23 +36,23 @@
#include <fmtftn.hxx>
#include <fmtclbl.hxx>
#include "sectfrm.hxx"
-#include "section.hxx" // SwSection
-#include "frmtool.hxx" // StackHack
-#include "doc.hxx" // SwDoc
-#include "cntfrm.hxx" // SwCntntFrm
-#include "rootfrm.hxx" // SwRootFrm
-#include "pagefrm.hxx" // SwPageFrm
-#include "fmtpdsc.hxx" // SwFmtPageDesc
-#include "fmtcntnt.hxx" // SwFmtCntnt
-#include "ndindex.hxx" // SwNodeIndex
+#include "section.hxx" // SwSection
+#include "frmtool.hxx" // StackHack
+#include "doc.hxx" // SwDoc
+#include "cntfrm.hxx" // SwCntntFrm
+#include "rootfrm.hxx" // SwRootFrm
+#include "pagefrm.hxx" // SwPageFrm
+#include "fmtpdsc.hxx" // SwFmtPageDesc
+#include "fmtcntnt.hxx" // SwFmtCntnt
+#include "ndindex.hxx" // SwNodeIndex
#include "ftnidx.hxx"
-#include "txtfrm.hxx" // SwTxtFrm
-#include "fmtclds.hxx" // SwFmtCol
-#include "colfrm.hxx" // SwColumnFrm
-#include "tabfrm.hxx" // SwTabFrm
-#include "flyfrm.hxx" // SwFlyFrm
-#include "ftnfrm.hxx" // SwFtnFrm
-#include "layouter.hxx" // SwLayouter
+#include "txtfrm.hxx" // SwTxtFrm
+#include "fmtclds.hxx" // SwFmtCol
+#include "colfrm.hxx" // SwColumnFrm
+#include "tabfrm.hxx" // SwTabFrm
+#include "flyfrm.hxx" // SwFlyFrm
+#include "ftnfrm.hxx" // SwFtnFrm
+#include "layouter.hxx" // SwLayouter
#include "dbg_lay.hxx"
#include "viewsh.hxx"
#include "viewimp.hxx"
@@ -69,10 +69,10 @@ SV_IMPL_PTRARR_SORT( SwDestroyList, SwSectionFrmPtr )
/*************************************************************************
|*
-|* SwSectionFrm::SwSectionFrm(), ~SwSectionFrm()
+|* SwSectionFrm::SwSectionFrm(), ~SwSectionFrm()
|*
-|* Ersterstellung AMA 26. Nov. 97
-|* Letzte Aenderung AMA 26. Nov. 97
+|* Ersterstellung AMA 26. Nov. 97
+|* Letzte Aenderung AMA 26. Nov. 97
|*
|*************************************************************************/
SwSectionFrm::SwSectionFrm( SwSection &rSect ) :
@@ -181,10 +181,10 @@ SwSectionFrm::~SwSectionFrm()
/*************************************************************************
|*
-|* SwSectionFrm::DelEmpty()
+|* SwSectionFrm::DelEmpty()
|*
-|* Ersterstellung AMA 17. Dec. 97
-|* Letzte Aenderung AMA 17. Dec. 97
+|* Ersterstellung AMA 17. Dec. 97
+|* Letzte Aenderung AMA 17. Dec. 97
|*
|*************************************************************************/
void SwSectionFrm::DelEmpty( BOOL bRemove )
@@ -249,10 +249,10 @@ void SwSectionFrm::DelEmpty( BOOL bRemove )
/*************************************************************************
|*
-|* SwSectionFrm::Cut()
+|* SwSectionFrm::Cut()
|*
-|* Ersterstellung AMA 02. Dec. 97
-|* Letzte Aenderung AMA 02. Dec. 97
+|* Ersterstellung AMA 02. Dec. 97
+|* Letzte Aenderung AMA 02. Dec. 97
|*
|*************************************************************************/
void SwSectionFrm::Cut()
@@ -273,7 +273,7 @@ void SwSectionFrm::_Cut( BOOL bRemove )
while( pFrm && pFrm->IsSctFrm() && !((SwSectionFrm*)pFrm)->GetSection() )
pFrm = pFrm->GetNext();
if( pFrm )
- { //Der alte Nachfolger hat evtl. einen Abstand zum Vorgaenger
+ { //Der alte Nachfolger hat evtl. einen Abstand zum Vorgaenger
//berechnet der ist jetzt wo er der erste wird obsolete
pFrm->_InvalidatePrt();
pFrm->_InvalidatePos();
@@ -291,7 +291,7 @@ void SwSectionFrm::_Cut( BOOL bRemove )
InvalidateNextPos();
//Einer muss die Retusche uebernehmen: Vorgaenger oder Upper
if ( 0 != (pFrm = GetPrev()) )
- { pFrm->SetRetouche();
+ { pFrm->SetRetouche();
pFrm->Prepare( PREP_WIDOWS_ORPHANS );
if ( pFrm->IsCntntFrm() )
pFrm->InvalidatePage( pPage );
@@ -300,7 +300,7 @@ void SwSectionFrm::_Cut( BOOL bRemove )
//er die Retouche uebernehmen.
//Ausserdem kann eine Leerseite entstanden sein.
else
- { SwRootFrm *pRoot = (SwRootFrm*)pPage->GetUpper();
+ { SwRootFrm *pRoot = (SwRootFrm*)pPage->GetUpper();
pRoot->SetSuperfluous();
GetUpper()->SetCompletePaint();
}
@@ -338,10 +338,10 @@ void SwSectionFrm::_Cut( BOOL bRemove )
/*************************************************************************
|*
-|* SwSectionFrm::Paste()
+|* SwSectionFrm::Paste()
|*
-|* Ersterstellung AMA 04. Dec. 97
-|* Letzte Aenderung AMA 04. Dec. 97
+|* Ersterstellung AMA 04. Dec. 97
+|* Letzte Aenderung AMA 04. Dec. 97
|*
|*************************************************************************/
@@ -449,15 +449,15 @@ void SwSectionFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
/*************************************************************************
|*
-|* SwSectionFrm::HasToBreak()
+|* SwSectionFrm::HasToBreak()
|*
|* Hier wird entschieden, ob der this-SectionFrm den uebergebenen
|* (Section)Frm aufbrechen soll oder nicht.
|* Zunaechst werden uebergeordnete Bereiche immer aufgebrochen,
|* spaeter koennte man es einstellbar machen.
|*
-|* Ersterstellung AMA 12. Dec. 97
-|* Letzte Aenderung AMA 12. Dec. 97
+|* Ersterstellung AMA 12. Dec. 97
+|* Letzte Aenderung AMA 12. Dec. 97
|*
|*************************************************************************/
@@ -467,8 +467,8 @@ BOOL SwSectionFrm::HasToBreak( const SwFrm* pFrm ) const
return FALSE;
SwSectionFmt *pTmp = (SwSectionFmt*)GetFmt();
-// if( !pTmp->GetSect().GetValue() )
-// return FALSE;
+// if( !pTmp->GetSect().GetValue() )
+// return FALSE;
const SwFrmFmt *pOtherFmt = ((SwSectionFrm*)pFrm)->GetFmt();
do
@@ -478,15 +478,15 @@ BOOL SwSectionFrm::HasToBreak( const SwFrm* pFrm ) const
return FALSE;
if( pTmp == pOtherFmt )
return TRUE;
- } while( TRUE ); // ( pTmp->GetSect().GetValue() );
+ } while( TRUE ); // ( pTmp->GetSect().GetValue() );
}
/*************************************************************************
|*
-|* SwSectionFrm::MergeNext()
+|* SwSectionFrm::MergeNext()
|*
-|* Ersterstellung AMA 04. Dec. 97
-|* Letzte Aenderung AMA 04. Dec. 97
+|* Ersterstellung AMA 04. Dec. 97
+|* Letzte Aenderung AMA 04. Dec. 97
|*
|* Verschmilzt zwei SectionFrms, falls es sich um den
|* gleichen Bereich handelt.
@@ -532,10 +532,10 @@ void SwSectionFrm::MergeNext( SwSectionFrm* pNxt )
/*************************************************************************
|*
-|* SwSectionFrm::SplitSect()
+|* SwSectionFrm::SplitSect()
|*
-|* Ersterstellung AMA 29. Apr. 99
-|* Letzte Aenderung AMA 29. Apr. 99
+|* Ersterstellung AMA 29. Apr. 99
+|* Letzte Aenderung AMA 29. Apr. 99
|*
|* Zerteilt einen SectionFrm in zwei Teile, der zweite Teil beginnt mit dem
|* uebergebenen Frame.
@@ -558,7 +558,7 @@ BOOL SwSectionFrm::SplitSect( SwFrm* pFrm, BOOL bApres )
SwFrm* pSav = ::SaveCntnt( this, bApres ? pOther : pFrm );
OSL_ENSURE( pSav, "SplitSect: What's on?" );
if( pSav ) // Robust
- { // Einen neuen SctFrm anlegen, nicht als Follow/Master
+ { // Einen neuen SctFrm anlegen, nicht als Follow/Master
SwSectionFrm* pNew = new SwSectionFrm( *pSect->GetSection() );
pNew->InsertBehind( pSect->GetUpper(), pSect );
pNew->Init();
@@ -588,10 +588,10 @@ BOOL SwSectionFrm::SplitSect( SwFrm* pFrm, BOOL bApres )
/*************************************************************************
|*
-|* SwSectionFrm::MoveCntntAndDelete()
+|* SwSectionFrm::MoveCntntAndDelete()
|*
-|* Ersterstellung AMA 29. Jan 99
-|* Letzte Aenderung AMA 29. Jan 99
+|* Ersterstellung AMA 29. Jan 99
+|* Letzte Aenderung AMA 29. Jan 99
|*
|* MoveCntnt wird zur Zerstoerung eines SectionFrms wg. Aufhebung oder
|* Verstecken des Bereichs gerufen, um den Inhalt umzuhaengen.
@@ -723,7 +723,7 @@ void SwSectionFrm::MoveCntntAndDelete( SwSectionFrm* pDel, BOOL bSave )
pDel->DelEmpty( TRUE );
delete pDel;
if( pParent )
- { // Hier wird die geeignete Einfuegeposition gesucht
+ { // Hier wird die geeignete Einfuegeposition gesucht
if( pNxtSct && pNxtSct->GetFmt() == pParent )
{ // Hier koennen wir uns am Anfang einfuegen
pUp = FIRSTLEAF( pNxtSct );
@@ -747,7 +747,7 @@ void SwSectionFrm::MoveCntntAndDelete( SwSectionFrm* pDel, BOOL bSave )
else
{
if( pSave )
- { // Folgende Situationen: Vor und hinter dem zu loeschenden Bereich
+ { // Folgende Situationen: Vor und hinter dem zu loeschenden Bereich
// ist entweder die Bereichsgrenze des umfassenden Bereichs oder
// es schliesst ein anderer (Geschwister-)Bereich direkt an, der
// vom gleichen Parent abgeleitet ist.
@@ -801,7 +801,7 @@ void SwSectionFrm::MakeAll()
bValidSize = bValidPos = bValidPrtArea = TRUE;
return;
}
- LockJoin(); //Ich lass mich nicht unterwegs vernichten.
+ LockJoin(); //Ich lass mich nicht unterwegs vernichten.
while( GetNext() && GetNext() == GetFollow() )
{
@@ -940,10 +940,10 @@ BOOL SwSectionFrm::CalcMinDiff( SwTwips& rMinDiff ) const
/*************************************************************************
*
- * SwSectionFrm::CollectEndnotes( )
+ * SwSectionFrm::CollectEndnotes( )
*
- * Ersterstellung AMA 03. Nov 99
- * Letzte Aenderung AMA 03. Nov 99
+ * Ersterstellung AMA 03. Nov 99
+ * Letzte Aenderung AMA 03. Nov 99
*
* CollectEndnotes looks for endnotes in the sectionfrm and his follows,
* the endnotes will cut off the layout and put into the array.
@@ -1009,7 +1009,7 @@ void lcl_ColumnRefresh( SwSectionFrm* pSect, BOOL bFollow )
{
SwColumnFrm *pCol = (SwColumnFrm*)pSect->Lower();
do
- { pCol->_InvalidateSize();
+ { pCol->_InvalidateSize();
pCol->_InvalidatePos();
((SwLayoutFrm*)pCol)->Lower()->_InvalidateSize();
pCol->Calc(); // calculation of column and
@@ -1046,13 +1046,13 @@ void SwSectionFrm::CollectEndnotes( SwLayouter* pLayouter )
/*************************************************************************
|*
-|* SwSectionFrm::_CheckClipping( BOOL bGrow, BOOL bMaximize )
+|* SwSectionFrm::_CheckClipping( BOOL bGrow, BOOL bMaximize )
|*
-|* Beschreibung: Passt die Groesse an die Umgebung an.
-|* Wer einen Follow oder Fussnoten besitzt, soll bis zur Unterkante
+|* Beschreibung: Passt die Groesse an die Umgebung an.
+|* Wer einen Follow oder Fussnoten besitzt, soll bis zur Unterkante
|* des Uppers gehen (bMaximize).
-|* Niemand darf ueber den Upper hinausgehen, ggf. darf man versuchen (bGrow)
-|* seinen Upper zu growen.
+|* Niemand darf ueber den Upper hinausgehen, ggf. darf man versuchen (bGrow)
+|* seinen Upper zu growen.
|* Wenn die Groesse veraendert werden musste, wird der Inhalt kalkuliert.
|*
|*************************************************************************/
@@ -1323,11 +1323,11 @@ class ExtraFormatToPositionObjs
/*************************************************************************
|*
-|* SwSectionFrm::Format()
+|* SwSectionFrm::Format()
|*
-|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea.
-|* Ersterstellung AMA 03. Dec. 97
-|* Letzte Aenderung MA 09. Oct. 98
+|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea.
+|* Ersterstellung AMA 03. Dec. 97
+|* Letzte Aenderung MA 09. Oct. 98
|*
|*************************************************************************/
@@ -1554,13 +1554,13 @@ void SwSectionFrm::Format( const SwBorderAttrs *pAttr )
/*************************************************************************
|*
-|* SwFrm::GetNextSctLeaf()
+|* SwFrm::GetNextSctLeaf()
|*
-|* Beschreibung Liefert das naechste Layoutblatt in das der Frame
-|* gemoved werden kann.
-|* Neue Seiten werden nur dann erzeugt, wenn der Parameter TRUE ist.
-|* Ersterstellung AMA 07. Jan. 98
-|* Letzte Aenderung AMA 07. Jan. 98
+|* Beschreibung Liefert das naechste Layoutblatt in das der Frame
+|* gemoved werden kann.
+|* Neue Seiten werden nur dann erzeugt, wenn der Parameter TRUE ist.
+|* Ersterstellung AMA 07. Jan. 98
+|* Letzte Aenderung AMA 07. Jan. 98
|*
|*************************************************************************/
@@ -1585,7 +1585,7 @@ SwLayoutFrm *SwFrm::GetNextSctLeaf( MakePageType eMakePage )
//MA 03. Feb. 99: Warum GetUpper()? Das knallt mit Buch.sgl weil im
//FlyAtCnt::MakeFlyPos ein Orient der SectionFrm ist und auf diesen ein
//GetLeaf gerufen wird.
-// SwSectionFrm *pSect = GetUpper()->FindSctFrm();
+// SwSectionFrm *pSect = GetUpper()->FindSctFrm();
SwSectionFrm *pSect = FindSctFrm();
BOOL bWrongPage = FALSE;
OSL_ENSURE( pSect, "GetNextSctLeaf: Missing SectionFrm" );
@@ -1659,7 +1659,7 @@ SwLayoutFrm *SwFrm::GetNextSctLeaf( MakePageType eMakePage )
}
}
- SwLayoutFrm *pOldLayLeaf = 0; //Damit bei neu erzeugten Seiten
+ SwLayoutFrm *pOldLayLeaf = 0; //Damit bei neu erzeugten Seiten
//nicht wieder vom Anfang gesucht
//wird.
@@ -1672,7 +1672,7 @@ SwLayoutFrm *SwFrm::GetNextSctLeaf( MakePageType eMakePage )
// oder ob wir weitersuchen muessen.
SwPageFrm* pNxtPg = pLayLeaf->FindPageFrm();
if ( !bFtnPage && pNxtPg->IsFtnPage() )
- { //Wenn ich bei den Endnotenseiten angelangt bin hat sichs.
+ { //Wenn ich bei den Endnotenseiten angelangt bin hat sichs.
pLayLeaf = 0;
continue;
}
@@ -1726,7 +1726,7 @@ SwLayoutFrm *SwFrm::GetNextSctLeaf( MakePageType eMakePage )
// Auch hier muessen zum Loeschen angemeldete SectionFrms ignoriert werden
while( pFirst && pFirst->IsSctFrm() && !((SwSectionFrm*)pFirst)->GetSection() )
pFirst = pFirst->GetNext();
- if( pFirst && pFirst->IsSctFrm() && pSect->GetFollow() == pFirst )
+ if( pFirst && pFirst->IsSctFrm() && pSect->GetFollow() == pFirst )
pNew = pSect->GetFollow();
else if( MAKEPAGE_NOSECTION == eMakePage )
return pLayLeaf;
@@ -1792,12 +1792,12 @@ SwLayoutFrm *SwFrm::GetNextSctLeaf( MakePageType eMakePage )
/*************************************************************************
|*
-|* SwFrm::GetPrevSctLeaf()
+|* SwFrm::GetPrevSctLeaf()
|*
-|* Beschreibung Liefert das vorhergehende LayoutBlatt in das der
-|* Frame gemoved werden kann.
-|* Ersterstellung AMA 07. Jan. 98
-|* Letzte Aenderung AMA 07. Jan. 98
+|* Beschreibung Liefert das vorhergehende LayoutBlatt in das der
+|* Frame gemoved werden kann.
+|* Ersterstellung AMA 07. Jan. 98
+|* Letzte Aenderung AMA 07. Jan. 98
|*
|*************************************************************************/
@@ -1825,7 +1825,7 @@ SwLayoutFrm *SwFrm::GetPrevSctLeaf( MakePageType )
// Gibt es dort Inhalt?
if( ((SwLayoutFrm*)pCol->Lower())->Lower() )
{
- if( bJump ) // Haben wir eine leere Spalte uebersprungen?
+ if( bJump ) // Haben wir eine leere Spalte uebersprungen?
SwFlowFrm::SetMoveBwdJump( TRUE );
return (SwLayoutFrm*)pCol->Lower(); // Der Spaltenbody
}
@@ -1840,7 +1840,7 @@ SwLayoutFrm *SwFrm::GetPrevSctLeaf( MakePageType )
pCol = NULL;
}
- if( bJump ) // Haben wir eine leere Spalte uebersprungen?
+ if( bJump ) // Haben wir eine leere Spalte uebersprungen?
SwFlowFrm::SetMoveBwdJump( TRUE );
// Innerhalb von Bereichen in Tabellen oder Bereichen in Kopf/Fusszeilen kann
@@ -1922,7 +1922,7 @@ SwLayoutFrm *SwFrm::GetPrevSctLeaf( MakePageType )
SwFlowFrm::SetMoveBwdJump( TRUE );
}
else if ( bFly )
- break; //Cntnts in Flys sollte jedes Layout-Blatt recht sein. Warum?
+ break; //Cntnts in Flys sollte jedes Layout-Blatt recht sein. Warum?
else
pLayLeaf = pLayLeaf->GetPrevLayoutLeaf();
}
@@ -2025,10 +2025,10 @@ BOOL SwSectionFrm::Growable() const
/*************************************************************************
|*
-|* SwSectionFrm::_Grow(), _Shrink()
+|* SwSectionFrm::_Grow(), _Shrink()
|*
-|* Ersterstellung AMA 14. Jan. 98
-|* Letzte Aenderung AMA 14. Jan. 98
+|* Ersterstellung AMA 14. Jan. 98
+|* Letzte Aenderung AMA 14. Jan. 98
|*
|*************************************************************************/
@@ -2164,7 +2164,7 @@ SwTwips SwSectionFrm::_Shrink( SwTwips nDist, BOOL bTst )
if ( Lower()->IsColumnFrm() && Lower()->GetNext() && // FtnAtEnd
!GetSection()->GetFmt()->GetBalancedColumns().GetValue() )
- { //Bei Spaltigkeit ubernimmt das Format die Kontrolle ueber
+ { //Bei Spaltigkeit ubernimmt das Format die Kontrolle ueber
//das Wachstum (wg. des Ausgleichs).
if ( !bTst )
InvalidateSize();
@@ -2231,22 +2231,22 @@ SwTwips SwSectionFrm::_Shrink( SwTwips nDist, BOOL bTst )
/*************************************************************************
|*
-|* SwSectionFrm::MoveAllowed()
+|* SwSectionFrm::MoveAllowed()
|*
-|* Ersterstellung MA 08. Oct. 98
-|* Letzte Aenderung MA 08. Oct. 98
+|* Ersterstellung MA 08. Oct. 98
+|* Letzte Aenderung MA 08. Oct. 98
|*
-|* Wann sind Frms innerhalb eines SectionFrms moveable?
+|* Wann sind Frms innerhalb eines SectionFrms moveable?
|* Wenn sie noch nicht in der letzten Spalte des SectionFrms sind,
-|* wenn es einen Follow gibt,
+|* wenn es einen Follow gibt,
|* wenn der SectionFrm nicht mehr wachsen kann, wird es komplizierter,
|* dann kommt es darauf an, ob der SectionFrm ein naechstes Layoutblatt
|* finden kann. In (spaltigen/verketteten) Flys wird dies via GetNextLayout
-|* geprueft, in Tabellen und in Kopf/Fusszeilen gibt es keins, im DocBody
+|* geprueft, in Tabellen und in Kopf/Fusszeilen gibt es keins, im DocBody
|* und auch im Fussnoten dagegen immer.
|*
|* Benutzt wird diese Routine im TxtFormatter, um zu entscheiden, ob ein
-|* (Absatz-)Follow erzeugt werden darf oder ob der Absatz zusammenhalten muss.
+|* (Absatz-)Follow erzeugt werden darf oder ob der Absatz zusammenhalten muss.
|*
|*************************************************************************/
@@ -2292,7 +2292,7 @@ BOOL SwSectionFrm::MoveAllowed( const SwFrm* pFrm) const
}
}
// Oder kann der Bereich noch wachsen?
- if( !IsColLocked() && Growable() )
+ if( !IsColLocked() && Growable() )
return FALSE;
// Jetzt muss untersucht werden, ob es ein Layoutblatt gibt, in dem
// ein Bereichsfollow erzeugt werden kann.
@@ -2357,7 +2357,7 @@ SwFrm* SwFrm::_GetIndNext()
if( pSct->IsSctFrm() )
return pSct->GetIndNext();
if( pSct->IsColBodyFrm() && (pSct = pSct->GetUpper()->GetUpper())->IsSctFrm() )
- { // Wir duerfen nur den Nachfolger des SectionFrms zurueckliefern,
+ { // Wir duerfen nur den Nachfolger des SectionFrms zurueckliefern,
// wenn in keiner folgenden Spalte mehr Inhalt ist
SwFrm* pCol = GetUpper()->GetUpper()->GetNext();
while( pCol )
@@ -2433,10 +2433,10 @@ void SwSectionFrm::CalcEndAtEndFlag()
/*************************************************************************
|*
-|* SwSectionFrm::Modify()
+|* SwSectionFrm::Modify()
|*
-|* Ersterstellung MA 08. Oct. 98
-|* Letzte Aenderung MA 08. Oct. 98
+|* Ersterstellung MA 08. Oct. 98
+|* Letzte Aenderung MA 08. Oct. 98
|*
|*************************************************************************/
@@ -2498,7 +2498,7 @@ void SwSectionFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
USHORT nCol = 0;
SwFrm *pTmp = Lower();
do
- { ++nCol;
+ { ++nCol;
pTmp = pTmp->GetNext();
} while ( pTmp );
aCol.Init( nCol, 0, 1000 );
diff --git a/sw/source/core/layout/softpagebreak.cxx b/sw/source/core/layout/softpagebreak.cxx
index 5248c0a4785e..5dabb7923a51 100644
--- a/sw/source/core/layout/softpagebreak.cxx
+++ b/sw/source/core/layout/softpagebreak.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -64,7 +64,7 @@ void SwTxtNode::fillSoftPageBreakList( SwSoftPageBreakList& rBreak ) const
const SwLayoutFrm *pRow = pFrm->GetUpper();
// Looking for the "most upper" row frame,
// skipping sub tables and/or table in table
- while( !pRow->IsRowFrm() || !pRow->GetUpper()->IsTabFrm() ||
+ while( !pRow->IsRowFrm() || !pRow->GetUpper()->IsTabFrm() ||
pRow->GetUpper()->GetUpper()->IsInTab() )
pRow = pRow->GetUpper();
const SwTabFrm *pTab = pRow->FindTabFrm();
@@ -140,7 +140,7 @@ bool SwTableLine::hasSoftPageBreak() const
// The row which could get a soft page break must be either the first
// row of a master table frame or the first "non-headline-row" of a
// follow table frame...
- const SwFrm* pRow = pTab->IsFollow() ?
+ const SwFrm* pRow = pTab->IsFollow() ?
pTab->GetFirstNonHeadlineRow() : pTab->Lower();
if( pRow == pLast )
{
diff --git a/sw/source/core/layout/sortedobjs.cxx b/sw/source/core/layout/sortedobjs.cxx
index e984d278f4e7..cd88f95c8441 100644
--- a/sw/source/core/layout/sortedobjs.cxx
+++ b/sw/source/core/layout/sortedobjs.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/sortedobjsimpl.cxx b/sw/source/core/layout/sortedobjsimpl.cxx
index 10ed749e840b..25b1968fd879 100644
--- a/sw/source/core/layout/sortedobjsimpl.cxx
+++ b/sw/source/core/layout/sortedobjsimpl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/ssfrm.cxx b/sw/source/core/layout/ssfrm.cxx
index 357844aacc4d..d801beffd71d 100644
--- a/sw/source/core/layout/ssfrm.cxx
+++ b/sw/source/core/layout/ssfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,7 +39,7 @@
#include <dcontact.hxx>
#include <dflyobj.hxx>
#include <flyfrm.hxx>
-#include <txtfrm.hxx> // ClearPara()
+#include <txtfrm.hxx> // ClearPara()
#include <cellfrm.hxx>
#include <swtable.hxx>
#include <fmtfsize.hxx>
@@ -359,10 +359,10 @@ Point SwFrm::GetFrmAnchorPos( sal_Bool bIgnoreFlysAnchoredAtThisFrame ) const
/*************************************************************************
|*
-|* SwFrm::~SwFrm()
+|* SwFrm::~SwFrm()
|*
-|* Ersterstellung MA 02. Mar. 94
-|* Letzte Aenderung MA 25. Jun. 95
+|* Ersterstellung MA 02. Mar. 94
+|* Letzte Aenderung MA 25. Jun. 95
|*
|*************************************************************************/
@@ -417,9 +417,9 @@ SwFrm::~SwFrm()
/*************************************************************************
|*
-|* SwLayoutFrm::SetFrmFmt()
-|* Ersterstellung MA 22. Apr. 93
-|* Letzte Aenderung MA 02. Nov. 94
+|* SwLayoutFrm::SetFrmFmt()
+|* Ersterstellung MA 22. Apr. 93
+|* Letzte Aenderung MA 02. Nov. 94
|*
|*************************************************************************/
@@ -489,10 +489,10 @@ SwCntntFrm::~SwCntntFrm()
/*************************************************************************
|*
-|* SwLayoutFrm::~SwLayoutFrm
+|* SwLayoutFrm::~SwLayoutFrm
|*
-|* Ersterstellung AK 28-Feb-1991
-|* Letzte Aenderung MA 11. Jan. 95
+|* Ersterstellung AK 28-Feb-1991
+|* Letzte Aenderung MA 11. Jan. 95
|*
|*************************************************************************/
@@ -583,10 +583,10 @@ SwLayoutFrm::~SwLayoutFrm()
/*************************************************************************
|*
-|* SwFrm::PaintArea()
+|* SwFrm::PaintArea()
|*
-|* Created AMA 08/22/2000
-|* Last change AMA 08/23/2000
+|* Created AMA 08/22/2000
+|* Last change AMA 08/23/2000
|*
|* The paintarea is the area, in which the content of a frame is allowed
|* to be displayed. This region could be larger than the printarea (Prt())
@@ -686,10 +686,10 @@ const SwRect SwFrm::PaintArea() const
/*************************************************************************
|*
-|* SwFrm::UnionFrm()
+|* SwFrm::UnionFrm()
|*
-|* Created AMA 08/22/2000
-|* Last change AMA 08/23/2000
+|* Created AMA 08/22/2000
+|* Last change AMA 08/23/2000
|*
|* The unionframe is the framearea (Frm()) of a frame expanded by the
|* printarea, if there's a negative margin at the left or right side.
diff --git a/sw/source/core/layout/swselectionlist.cxx b/sw/source/core/layout/swselectionlist.cxx
index e2997db0a6bc..aaf6a51f964b 100644
--- a/sw/source/core/layout/swselectionlist.cxx
+++ b/sw/source/core/layout/swselectionlist.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -38,7 +38,7 @@
*/
namespace {
-
+
/** Find the context of a given frame
A context is the environment where text is allowed to flow.
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index 3bddaa473d05..1d966931e45e 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -69,9 +69,9 @@
#include "rowfrm.hxx"
#include "cellfrm.hxx"
#include "flyfrms.hxx"
-#include "txtfrm.hxx" //HasFtn()
+#include "txtfrm.hxx" //HasFtn()
#include "htmltbl.hxx"
-#include "sectfrm.hxx" //SwSectionFrm
+#include "sectfrm.hxx" //SwSectionFrm
// OD 30.09.2003 #i18732#
#include <fmtfollowtextflow.hxx>
// --> OD 2004-06-28 #i28701#
@@ -90,10 +90,10 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* SwTabFrm::SwTabFrm(), ~SwTabFrm()
+|* SwTabFrm::SwTabFrm(), ~SwTabFrm()
|*
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 30. May. 96
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 30. May. 96
|*
|*************************************************************************/
SwTabFrm::SwTabFrm( SwTable &rTab ):
@@ -174,10 +174,10 @@ SwTabFrm::~SwTabFrm()
/*************************************************************************
|*
-|* SwTabFrm::JoinAndDelFollows()
+|* SwTabFrm::JoinAndDelFollows()
|*
-|* Ersterstellung MA 30. May. 96
-|* Letzte Aenderung MA 30. May. 96
+|* Ersterstellung MA 30. May. 96
+|* Letzte Aenderung MA 30. May. 96
|*
|*************************************************************************/
void SwTabFrm::JoinAndDelFollows()
@@ -192,10 +192,10 @@ void SwTabFrm::JoinAndDelFollows()
/*************************************************************************
|*
-|* SwTabFrm::RegistFlys()
+|* SwTabFrm::RegistFlys()
|*
-|* Ersterstellung MA 08. Jul. 93
-|* Letzte Aenderung MA 27. Jan. 99
+|* Ersterstellung MA 08. Jul. 93
+|* Letzte Aenderung MA 27. Jan. 99
|*
|*************************************************************************/
void SwTabFrm::RegistFlys()
@@ -1042,10 +1042,10 @@ bool lcl_FindSectionsInRow( const SwRowFrm& rRow )
/*************************************************************************
|*
-|* SwTabFrm::Split(), Join()
+|* SwTabFrm::Split(), Join()
|*
-|* Ersterstellung MA 03. Jun. 93
-|* Letzte Aenderung MA 03. Sep. 96
+|* Ersterstellung MA 03. Jun. 93
+|* Letzte Aenderung MA 03. Sep. 96
|*
|*************************************************************************/
bool SwTabFrm::Split( const SwTwips nCutPos, bool bTryToSplit, bool bTableRowKeep )
@@ -1413,12 +1413,12 @@ bool SwTabFrm::Join()
OSL_ENSURE( !HasFollowFlowLine(), "Joining follow flow line" );
SwTabFrm *pFoll = GetFollow();
- SwTwips nHeight = 0; //Gesamthoehe der eingefuegten Zeilen als Return.
+ SwTwips nHeight = 0; //Gesamthoehe der eingefuegten Zeilen als Return.
if ( !pFoll->IsJoinLocked() )
{
SWRECTFN( this )
- pFoll->Cut(); //Erst ausschneiden um unuetze Benachrichtigungen zu
+ pFoll->Cut(); //Erst ausschneiden um unuetze Benachrichtigungen zu
//minimieren.
SwFrm *pRow = pFoll->GetFirstNonHeadlineRow(),
@@ -1450,10 +1450,10 @@ bool SwTabFrm::Join()
/*************************************************************************
|*
-|* SwTabFrm::MakeAll()
+|* SwTabFrm::MakeAll()
|*
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 10. Apr. 97
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 10. Apr. 97
|*
|*************************************************************************/
void MA_FASTCALL SwInvalidatePositions( SwFrm *pFrm, long nBottom )
@@ -1462,7 +1462,7 @@ void MA_FASTCALL SwInvalidatePositions( SwFrm *pFrm, long nBottom )
BOOL bAll = LONG_MAX == nBottom;
SWRECTFN( pFrm )
do
- { pFrm->_InvalidatePos();
+ { pFrm->_InvalidatePos();
pFrm->_InvalidateSize();
if( pFrm->IsLayoutFrm() )
{
@@ -1905,7 +1905,7 @@ void SwTabFrm::MakeAll()
PROTOCOL_ENTER( this, PROT_MAKEALL, 0, 0 )
LockJoin(); //Ich lass mich nicht unterwegs vernichten.
- SwLayNotify aNotify( this ); //uebernimmt im DTor die Benachrichtigung
+ SwLayNotify aNotify( this ); //uebernimmt im DTor die Benachrichtigung
// If pos is invalid, we have to call a SetInvaKeep at aNotify.
// Otherwise the keep atribute would not work in front of a table.
const BOOL bOldValidPos = GetValidPosFlag();
@@ -1935,7 +1935,7 @@ void SwTabFrm::MakeAll()
SetRemoveFollowFlowLinePending( FALSE );
}
- if ( bResizeHTMLTable ) //Optimiertes Zusammenspiel mit Grow/Shrink des Inhaltes
+ if ( bResizeHTMLTable ) //Optimiertes Zusammenspiel mit Grow/Shrink des Inhaltes
{
bResizeHTMLTable = FALSE;
SwHTMLTableLayout *pLayout = GetTable()->GetHTMLTableLayout();
@@ -1945,16 +1945,16 @@ void SwTabFrm::MakeAll()
}
- BOOL bMakePage = TRUE; //solange TRUE kann eine neue Seite
+ BOOL bMakePage = TRUE; //solange TRUE kann eine neue Seite
//angelegt werden (genau einmal)
- BOOL bMovedBwd = FALSE; //Wird TRUE wenn der Frame zurueckfliesst
- BOOL bMovedFwd = FALSE; //solange FALSE kann der Frm zurueck-
+ BOOL bMovedBwd = FALSE; //Wird TRUE wenn der Frame zurueckfliesst
+ BOOL bMovedFwd = FALSE; //solange FALSE kann der Frm zurueck-
//fliessen (solange, bis er einmal
//vorwaerts ge'moved wurde).
- BOOL bSplit = FALSE; //Wird TRUE wenn der Frm gesplittet wurde.
+ BOOL bSplit = FALSE; //Wird TRUE wenn der Frm gesplittet wurde.
const BOOL bFtnsInDoc = 0 != GetFmt()->GetDoc()->GetFtnIdxs().Count();
BOOL bMoveable;
- const BOOL bFly = IsInFly();
+ const BOOL bFly = IsInFly();
SwBorderAttrAccess *pAccess= new SwBorderAttrAccess( SwFrm::GetCache(), this );
const SwBorderAttrs *pAttrs = pAccess->Get();
@@ -2109,7 +2109,7 @@ void SwTabFrm::MakeAll()
delete pAccess;
bCalcLowers |= pLayout->Resize(
pLayout->GetBrowseWidthByTabFrm( *this ), FALSE );
-// GetFmt()->GetDoc()->GetDocShell()->IsReadOnly() ? FALSE : TRUE );
+// GetFmt()->GetDoc()->GetDocShell()->IsReadOnly() ? FALSE : TRUE );
pAccess= new SwBorderAttrAccess( SwFrm::GetCache(), this );
pAttrs = pAccess->Get();
}
@@ -2679,7 +2679,7 @@ void SwTabFrm::MakeAll()
bMovedFwd = bCalcLowers = TRUE;
aNotify.SetLowersComplete( FALSE );
if ( IsFollow() )
- { //Um Oszillationen zu vermeiden sollte kein ungueltiger Master
+ { //Um Oszillationen zu vermeiden sollte kein ungueltiger Master
//zurueckbleiben.
SwTabFrm *pTab = FindMaster();
if ( pTab->GetUpper() )
@@ -2746,12 +2746,12 @@ void SwTabFrm::MakeAll()
/*************************************************************************
|*
-|* SwTabFrm::CalcFlyOffsets()
+|* SwTabFrm::CalcFlyOffsets()
|*
-|* Beschreibung: Berechnet die Offsets, die durch FlyFrames
-|* entstehen.
-|* Ersterstellung MA/MIB 14. Apr. 99
-|* Letzte Aenderung
+|* Beschreibung: Berechnet die Offsets, die durch FlyFrames
+|* entstehen.
+|* Ersterstellung MA/MIB 14. Apr. 99
+|* Letzte Aenderung
|*
|*************************************************************************/
BOOL SwTabFrm::CalcFlyOffsets( SwTwips& rUpper,
@@ -2875,7 +2875,7 @@ BOOL SwTabFrm::CalcFlyOffsets( SwTwips& rUpper,
nPrtPos = nBottom;
bInvalidatePrtArea = TRUE;
}
- if ( (SURROUND_RIGHT == rSur.GetSurround() ||
+ if ( (SURROUND_RIGHT == rSur.GetSurround() ||
SURROUND_PARALLEL == rSur.GetSurround())&&
text::HoriOrientation::LEFT == rHori.GetHoriOrient() )
{
@@ -2885,7 +2885,7 @@ BOOL SwTabFrm::CalcFlyOffsets( SwTwips& rUpper,
rLeftOffset = Max( rLeftOffset, nWidth );
bInvalidatePrtArea = TRUE;
}
- if ( (SURROUND_LEFT == rSur.GetSurround() ||
+ if ( (SURROUND_LEFT == rSur.GetSurround() ||
SURROUND_PARALLEL == rSur.GetSurround())&&
text::HoriOrientation::RIGHT == rHori.GetHoriOrient() )
{
@@ -2906,12 +2906,12 @@ BOOL SwTabFrm::CalcFlyOffsets( SwTwips& rUpper,
/*************************************************************************
|*
-|* SwTabFrm::Format()
+|* SwTabFrm::Format()
|*
-|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea
-|* Die Fixsize wird hier nicht eingestellt.
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 18. Jun. 97
+|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea
+|* Die Fixsize wird hier nicht eingestellt.
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 18. Jun. 97
|*
|*************************************************************************/
void SwTabFrm::Format( const SwBorderAttrs *pAttrs )
@@ -2937,7 +2937,7 @@ void SwTabFrm::Format( const SwBorderAttrs *pAttrs )
//1. Es gibt Rahmen mit SurroundNone, diesen wird vollsaendig ausgewichen
//2. Es gibt Rahmen mit Umlauf nur rechts bzw. nur links und diese sind
// rechts bzw. links ausgerichtet, diese geben ein Minimum fuer die
- // Raender vor.
+ // Raender vor.
long nTmpRight = -1000000,
nLeftOffset = 0;
if( CalcFlyOffsets( nUpper, nLeftOffset, nTmpRight ) )
@@ -2951,7 +2951,7 @@ void SwTabFrm::Format( const SwBorderAttrs *pAttrs )
// <-- collapsing
if ( !bValidPrtArea )
- { bValidPrtArea = TRUE;
+ { bValidPrtArea = TRUE;
//Die Breite der PrtArea wird vom FrmFmt vorgegeben, die Raender
//sind entsprechend einzustellen.
@@ -3181,10 +3181,10 @@ void SwTabFrm::Format( const SwBorderAttrs *pAttrs )
}
/*************************************************************************
|*
-|* SwTabFrm::GrowFrm()
+|* SwTabFrm::GrowFrm()
|*
-|* Ersterstellung MA 12. Mar. 93
-|* Letzte Aenderung MA 23. Sep. 96
+|* Ersterstellung MA 12. Mar. 93
+|* Letzte Aenderung MA 23. Sep. 96
|*
|*************************************************************************/
SwTwips SwTabFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -3268,10 +3268,10 @@ SwTwips SwTabFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
}
/*************************************************************************
|*
-|* SwTabFrm::Modify()
+|* SwTabFrm::Modify()
|*
-|* Ersterstellung MA 14. Mar. 93
-|* Letzte Aenderung MA 06. Dec. 96
+|* Ersterstellung MA 14. Mar. 93
+|* Letzte Aenderung MA 06. Dec. 96
|*
|*************************************************************************/
void SwTabFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
@@ -3305,8 +3305,8 @@ void SwTabFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
{
SwPageFrm *pPage = FindPageFrm();
InvalidatePage( pPage );
-// if ( nInvFlags & 0x01 )
-// SetCompletePaint();
+// if ( nInvFlags & 0x01 )
+// SetCompletePaint();
if ( nInvFlags & 0x02 )
_InvalidatePrt();
if ( nInvFlags & 0x40 )
@@ -3377,7 +3377,7 @@ void SwTabFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
rInvFlags |= 0x22;
break;
- case RES_PAGEDESC: //Attributaenderung (an/aus)
+ case RES_PAGEDESC: //Attributaenderung (an/aus)
if ( IsInDocBody() )
{
rInvFlags |= 0x40;
@@ -3430,10 +3430,10 @@ void SwTabFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
/*************************************************************************
|*
-|* SwTabFrm::GetInfo()
+|* SwTabFrm::GetInfo()
|*
-|* Ersterstellung MA 06. Dec. 96
-|* Letzte Aenderung MA 26. Jun. 98
+|* Ersterstellung MA 06. Dec. 96
+|* Letzte Aenderung MA 26. Jun. 98
|*
|*************************************************************************/
BOOL SwTabFrm::GetInfo( SfxPoolItem &rHnt ) const
@@ -3447,7 +3447,7 @@ BOOL SwTabFrm::GetInfo( SfxPoolItem &rHnt ) const
if ( pPage == rInfo.GetOrigPage() && !GetPrev() )
{
//Das sollte er sein (kann allenfalls temporaer anders sein,
- // sollte uns das beunruhigen?)
+ // sollte uns das beunruhigen?)
rInfo.SetInfo( pPage, this );
return FALSE;
}
@@ -3464,10 +3464,10 @@ BOOL SwTabFrm::GetInfo( SfxPoolItem &rHnt ) const
/*************************************************************************
|*
-|* SwTabFrm::FindLastCntnt()
+|* SwTabFrm::FindLastCntnt()
|*
-|* Ersterstellung MA 13. Apr. 93
-|* Letzte Aenderung MA 15. May. 98
+|* Ersterstellung MA 13. Apr. 93
+|* Letzte Aenderung MA 15. May. 98
|*
|*************************************************************************/
SwCntntFrm *SwTabFrm::FindLastCntnt()
@@ -3542,10 +3542,10 @@ SwCntntFrm *SwTabFrm::FindLastCntnt()
/*************************************************************************
|*
-|* SwTabFrm::GetLeaf()
+|* SwTabFrm::GetLeaf()
|*
-|* Ersterstellung MA 19. Mar. 93
-|* Letzte Aenderung MA 25. Apr. 95
+|* Ersterstellung MA 19. Mar. 93
+|* Letzte Aenderung MA 25. Apr. 95
|*
|*************************************************************************/
SwLayoutFrm *SwTabFrm::GetLeaf( MakePageType eMakePage, BOOL bFwd )
@@ -3566,11 +3566,11 @@ SwLayoutFrm *SwTabFrm::GetLeaf( MakePageType eMakePage, BOOL bFwd )
/*************************************************************************
|*
-|* SwTabFrm::ShouldBwdMoved()
+|* SwTabFrm::ShouldBwdMoved()
|*
-|* Beschreibung Returnwert sagt ob der Frm verschoben werden sollte
-|* Ersterstellung MA 10. Jul. 95
-|* Letzte Aenderung MA 04. Mar. 97
+|* Beschreibung Returnwert sagt ob der Frm verschoben werden sollte
+|* Ersterstellung MA 10. Jul. 95
+|* Letzte Aenderung MA 04. Mar. 97
|*
|*************************************************************************/
BOOL SwTabFrm::ShouldBwdMoved( SwLayoutFrm *pNewUpper, BOOL, BOOL &rReformat )
@@ -3677,10 +3677,10 @@ BOOL SwTabFrm::ShouldBwdMoved( SwLayoutFrm *pNewUpper, BOOL, BOOL &rReformat )
/*************************************************************************
|*
-|* SwTabFrm::Cut()
+|* SwTabFrm::Cut()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 09. Sep. 98
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 09. Sep. 98
|*
|*************************************************************************/
void SwTabFrm::Cut()
@@ -3691,7 +3691,7 @@ void SwTabFrm::Cut()
InvalidatePage( pPage );
SwFrm *pFrm = GetNext();
if( pFrm )
- { //Der alte Nachfolger hat evtl. einen Abstand zum Vorgaenger
+ { //Der alte Nachfolger hat evtl. einen Abstand zum Vorgaenger
//berechnet der ist jetzt wo er der erste wird obsolete
pFrm->_InvalidatePrt();
pFrm->_InvalidatePos();
@@ -3712,7 +3712,7 @@ void SwTabFrm::Cut()
InvalidateNextPos();
//Einer muss die Retusche uebernehmen: Vorgaenger oder Upper
if ( 0 != (pFrm = GetPrev()) )
- { pFrm->SetRetouche();
+ { pFrm->SetRetouche();
pFrm->Prepare( PREP_WIDOWS_ORPHANS );
pFrm->_InvalidatePos();
if ( pFrm->IsCntntFrm() )
@@ -3722,7 +3722,7 @@ void SwTabFrm::Cut()
//er die Retouche uebernehmen.
//Ausserdem kann eine Leerseite entstanden sein.
else
- { SwRootFrm *pRoot = (SwRootFrm*)pPage->GetUpper();
+ { SwRootFrm *pRoot = (SwRootFrm*)pPage->GetUpper();
pRoot->SetSuperfluous();
GetUpper()->SetCompletePaint();
if( IsInSct() )
@@ -3772,10 +3772,10 @@ void SwTabFrm::Cut()
/*************************************************************************
|*
-|* SwTabFrm::Paste()
+|* SwTabFrm::Paste()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 09. Sep. 98
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 09. Sep. 98
|*
|*************************************************************************/
void SwTabFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
@@ -3857,10 +3857,10 @@ void SwTabFrm::Prepare( const PrepareHint eHint, const void *, BOOL )
/*************************************************************************
|*
-|* SwRowFrm::SwRowFrm(), ~SwRowFrm()
+|* SwRowFrm::SwRowFrm(), ~SwRowFrm()
|*
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 30. May. 96
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 30. May. 96
|*
|*************************************************************************/
SwRowFrm::SwRowFrm( const SwTableLine &rLine, bool bInsertContent ):
@@ -3896,18 +3896,18 @@ SwRowFrm::~SwRowFrm()
SwModify* pMod = GetFmt();
if( pMod )
{
- pMod->Remove( this ); // austragen,
+ pMod->Remove( this ); // austragen,
if( !pMod->GetDepends() )
- delete pMod; // und loeschen
+ delete pMod; // und loeschen
}
}
/*************************************************************************
|*
-|* SwRowFrm::RegistFlys()
+|* SwRowFrm::RegistFlys()
|*
-|* Ersterstellung MA 08. Jul. 93
-|* Letzte Aenderung MA 08. Jul. 93
+|* Ersterstellung MA 08. Jul. 93
+|* Letzte Aenderung MA 08. Jul. 93
|*
|*************************************************************************/
void SwRowFrm::RegistFlys( SwPageFrm *pPage )
@@ -3917,10 +3917,10 @@ void SwRowFrm::RegistFlys( SwPageFrm *pPage )
/*************************************************************************
|*
-|* SwRowFrm::Modify()
+|* SwRowFrm::Modify()
|*
-|* Ersterstellung MA 12. Nov. 97
-|* Letzte Aenderung MA 12. Nov. 97
+|* Ersterstellung MA 12. Nov. 97
+|* Letzte Aenderung MA 12. Nov. 97
|*
|*************************************************************************/
void SwRowFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
@@ -3964,10 +3964,10 @@ void SwRowFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
/*************************************************************************
|*
-|* SwRowFrm::MakeAll()
+|* SwRowFrm::MakeAll()
|*
-|* Ersterstellung MA 01. Mar. 94
-|* Letzte Aenderung MA 01. Mar. 94
+|* Ersterstellung MA 01. Mar. 94
+|* Letzte Aenderung MA 01. Mar. 94
|*
|*************************************************************************/
void SwRowFrm::MakeAll()
@@ -3979,10 +3979,10 @@ void SwRowFrm::MakeAll()
/*************************************************************************
|*
-|* SwRowFrm::Format()
+|* SwRowFrm::Format()
|*
-|* Ersterstellung MA 13. Mar. 93
-|* Letzte Aenderung MA 20. Jun. 96
+|* Ersterstellung MA 13. Mar. 93
+|* Letzte Aenderung MA 20. Jun. 96
|*
|*************************************************************************/
long MA_FASTCALL CalcHeightWidthFlys( const SwFrm *pFrm )
@@ -4510,10 +4510,10 @@ void SwRowFrm::Format( const SwBorderAttrs *pAttrs )
/*************************************************************************
|*
-|* SwRowFrm::AdjustCells()
+|* SwRowFrm::AdjustCells()
|*
-|* Ersterstellung MA 10. Aug. 93
-|* Letzte Aenderung MA 16. Dec. 96
+|* Ersterstellung MA 10. Aug. 93
+|* Letzte Aenderung MA 16. Dec. 96
|*
|*************************************************************************/
void SwRowFrm::AdjustCells( const SwTwips nHeight, const BOOL bHeight )
@@ -4603,7 +4603,7 @@ void SwRowFrm::AdjustCells( const SwTwips nHeight, const BOOL bHeight )
}
}
else
- { while ( pFrm )
+ { while ( pFrm )
{
pFrm->_InvalidateAll();
pFrm = pFrm->GetNext();
@@ -4614,10 +4614,10 @@ void SwRowFrm::AdjustCells( const SwTwips nHeight, const BOOL bHeight )
/*************************************************************************
|*
-|* SwRowFrm::Cut()
+|* SwRowFrm::Cut()
|*
-|* Ersterstellung MA 12. Nov. 97
-|* Letzte Aenderung MA 12. Nov. 97
+|* Ersterstellung MA 12. Nov. 97
+|* Letzte Aenderung MA 12. Nov. 97
|*
|*************************************************************************/
void SwRowFrm::Cut()
@@ -4656,10 +4656,10 @@ void SwRowFrm::Cut()
/*************************************************************************
|*
-|* SwRowFrm::GrowFrm()
+|* SwRowFrm::GrowFrm()
|*
-|* Ersterstellung MA 15. Mar. 93
-|* Letzte Aenderung MA 05. May. 94
+|* Ersterstellung MA 15. Mar. 93
+|* Letzte Aenderung MA 05. May. 94
|*
|*************************************************************************/
@@ -4732,10 +4732,10 @@ SwTwips SwRowFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwRowFrm::ShrinkFrm()
+|* SwRowFrm::ShrinkFrm()
|*
-|* Ersterstellung MA 15. Mar. 93
-|* Letzte Aenderung MA 20. Jun. 96
+|* Ersterstellung MA 15. Mar. 93
+|* Letzte Aenderung MA 20. Jun. 96
|*
|*************************************************************************/
SwTwips SwRowFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -4875,10 +4875,10 @@ bool SwRowFrm::ShouldRowKeepWithNext() const
/*************************************************************************
|*
-|* SwCellFrm::SwCellFrm(), ~SwCellFrm()
+|* SwCellFrm::SwCellFrm(), ~SwCellFrm()
|*
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 30. May. 96
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 30. May. 96
|*
|*************************************************************************/
SwCellFrm::SwCellFrm( const SwTableBox &rBox, bool bInsertContent ) :
@@ -4927,16 +4927,16 @@ SwCellFrm::~SwCellFrm()
pMod->Remove( this ); // austragen,
if( !pMod->GetDepends() )
- delete pMod; // und loeschen
+ delete pMod; // und loeschen
}
}
/*************************************************************************
|*
-|* SwCellFrm::Format()
+|* SwCellFrm::Format()
|*
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 29. Jan. 98
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 29. Jan. 98
|*
|*************************************************************************/
BOOL lcl_ArrangeLowers( SwLayoutFrm *pLay, long lYStart, BOOL bInva )
@@ -5436,10 +5436,10 @@ void SwCellFrm::Format( const SwBorderAttrs *pAttrs )
/*************************************************************************
|*
-|* SwCellFrm::Modify()
+|* SwCellFrm::Modify()
|*
-|* Ersterstellung MA 20. Dec. 96
-|* Letzte Aenderung MA 20. Dec. 96
+|* Ersterstellung MA 20. Dec. 96
+|* Letzte Aenderung MA 20. Dec. 96
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index 36dfbb3b9fce..41867fa24402 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -105,12 +105,12 @@ static SwCrsrOszControl aOszCtrl = { 0, 0, 0 };
/*************************************************************************
|*
-|* SwLayoutFrm::GetCrsrOfst()
+|* SwLayoutFrm::GetCrsrOfst()
|*
-|* Beschreibung: Sucht denjenigen CntntFrm, innerhalb dessen
-|* PrtArea der Point liegt.
-|* Ersterstellung MA 20. Jul. 92
-|* Letzte Aenderung MA 23. May. 95
+|* Beschreibung: Sucht denjenigen CntntFrm, innerhalb dessen
+|* PrtArea der Point liegt.
+|* Ersterstellung MA 20. Jul. 92
+|* Letzte Aenderung MA 23. May. 95
|*
|*************************************************************************/
BOOL SwLayoutFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
@@ -142,19 +142,19 @@ BOOL SwLayoutFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
/*************************************************************************
|*
-|* SwPageFrm::GetCrsrOfst()
+|* SwPageFrm::GetCrsrOfst()
|*
-|* Beschreibung: Sucht die Seite, innerhalb der der gesuchte Point
-|* liegt.
-|* Ersterstellung MA 20. Jul. 92
-|* Letzte Aenderung MA 18. Jul. 96
+|* Beschreibung: Sucht die Seite, innerhalb der der gesuchte Point
+|* liegt.
+|* Ersterstellung MA 20. Jul. 92
+|* Letzte Aenderung MA 18. Jul. 96
|*
|*************************************************************************/
BOOL SwPageFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
SwCrsrMoveState* pCMS ) const
{
- BOOL bRet = FALSE;
+ BOOL bRet = FALSE;
Point aPoint( rPoint );
// check, if we have to adjust the point
@@ -291,13 +291,13 @@ bool SwRootFrm::FillSelection( SwSelectionList& aSelList, const SwRect& rRect) c
/*************************************************************************
|*
-|* SwRootFrm::GetCrsrOfst()
+|* SwRootFrm::GetCrsrOfst()
|*
-|* Beschreibung: Reicht Primaer den Aufruf an die erste Seite weiter.
-|* Wenn der 'reingereichte Point veraendert wird,
-|* so wird FALSE zurueckgegeben.
-|* Ersterstellung MA 01. Jun. 92
-|* Letzte Aenderung MA 30. Nov. 94
+|* Beschreibung: Reicht Primaer den Aufruf an die erste Seite weiter.
+|* Wenn der 'reingereichte Point veraendert wird,
+|* so wird FALSE zurueckgegeben.
+|* Ersterstellung MA 01. Jun. 92
+|* Letzte Aenderung MA 30. Nov. 94
|*
|*************************************************************************/
BOOL SwRootFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
@@ -345,14 +345,14 @@ BOOL SwRootFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
/*************************************************************************
|*
-|* SwCellFrm::GetCrsrOfst()
+|* SwCellFrm::GetCrsrOfst()
|*
-|* Beschreibung Wenn es sich um eine Cntnt-tragende Cell handelt wird
-|* der Crsr notfalls mit Gewalt in einen der CntntFrms
-|* gesetzt.
-|* In geschuetzte Zellen gibt es hier keinen Eingang.
-|* Ersterstellung MA 04. Jun. 93
-|* Letzte Aenderung MA 23. May. 95
+|* Beschreibung Wenn es sich um eine Cntnt-tragende Cell handelt wird
+|* der Crsr notfalls mit Gewalt in einen der CntntFrms
+|* gesetzt.
+|* In geschuetzte Zellen gibt es hier keinen Eingang.
+|* Ersterstellung MA 04. Jun. 93
+|* Letzte Aenderung MA 23. May. 95
|*
|*************************************************************************/
BOOL SwCellFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
@@ -419,10 +419,10 @@ BOOL SwCellFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
/*************************************************************************
|*
-|* SwFlyFrm::GetCrsrOfst()
+|* SwFlyFrm::GetCrsrOfst()
|*
-|* Ersterstellung MA 15. Dec. 92
-|* Letzte Aenderung MA 23. May. 95
+|* Ersterstellung MA 15. Dec. 92
+|* Letzte Aenderung MA 23. May. 95
|*
|*************************************************************************/
//Problem: Wenn zwei Flys genau gleich gross sind und auf derselben
@@ -515,9 +515,9 @@ BOOL SwFlyFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
/*************************************************************************
|*
-|* Beschreibung Layoutabhaengiges Cursortravelling
-|* Ersterstellung MA 23. Jul. 92
-|* Letzte Aenderung MA 06. Sep. 93
+|* Beschreibung Layoutabhaengiges Cursortravelling
+|* Ersterstellung MA 23. Jul. 92
+|* Letzte Aenderung MA 06. Sep. 93
|*
|*************************************************************************/
BOOL SwCntntFrm::LeftMargin(SwPaM *pPam) const
@@ -755,13 +755,13 @@ BOOL MA_FASTCALL lcl_UpDown( SwPaM *pPam, const SwCntntFrm *pStart,
//verlassen.
else if ( pCnt )
{
- const SwFrm *pUp = pStart->GetUpper(); //Head/Foot
+ const SwFrm *pUp = pStart->GetUpper(); //Head/Foot
while ( pUp && pUp->GetUpper() && !(pUp->GetType() & 0x0018 ) )
pUp = pUp->GetUpper();
BOOL bSame = FALSE;
const SwFrm *pCntUp = pCnt->GetUpper();
while ( pCntUp && !bSame )
- { if ( pUp == pCntUp )
+ { if ( pUp == pCntUp )
bSame = TRUE;
else
pCntUp = pCntUp->GetUpper();
@@ -780,7 +780,7 @@ BOOL MA_FASTCALL lcl_UpDown( SwPaM *pPam, const SwCntntFrm *pStart,
if ( !pCnt )
bEnd = TRUE;
else
- { const SwTabFrm *pTab = pCnt->FindTabFrm();
+ { const SwTabFrm *pTab = pCnt->FindTabFrm();
if( !pTab )
bEnd = TRUE;
else
@@ -855,7 +855,7 @@ BOOL MA_FASTCALL lcl_UpDown( SwPaM *pPam, const SwCntntFrm *pStart,
(pCnt && pCnt->IsTxtFrm() && ((SwTxtFrm*)pCnt)->IsHiddenNow()));
if( pCnt )
- { // setze den Point auf den Content-Node
+ { // setze den Point auf den Content-Node
SwCntntNode *pCNd = (SwCntntNode*)pCnt->GetNode();
pPam->GetPoint()->nNode = *pCNd;
if ( fnNxtPrv == lcl_GetPrvCnt )
@@ -879,15 +879,15 @@ BOOL SwCntntFrm::UnitDown( SwPaM* pPam, const SwTwips, BOOL bInReadOnly ) const
/*************************************************************************
|*
-|* SwRootFrm::GetCurrPage()
+|* SwRootFrm::GetCurrPage()
|*
-|* Beschreibung: Liefert die Nummer der aktuellen Seite.
-|* Wenn die Methode einen PaM bekommt, so ist die aktuelle Seite
-|* diejenige in der der PaM sitzt. Anderfalls ist die aktuelle
-|* Seite die erste Seite innerhalb der VisibleArea.
-|* Es wird nur auf den vorhandenen Seiten gearbeitet!
-|* Ersterstellung MA 20. May. 92
-|* Letzte Aenderung MA 09. Oct. 97
+|* Beschreibung: Liefert die Nummer der aktuellen Seite.
+|* Wenn die Methode einen PaM bekommt, so ist die aktuelle Seite
+|* diejenige in der der PaM sitzt. Anderfalls ist die aktuelle
+|* Seite die erste Seite innerhalb der VisibleArea.
+|* Es wird nur auf den vorhandenen Seiten gearbeitet!
+|* Ersterstellung MA 20. May. 92
+|* Letzte Aenderung MA 09. Oct. 97
|*
|*************************************************************************/
USHORT SwRootFrm::GetCurrPage( const SwPaM *pActualCrsr ) const
@@ -902,16 +902,16 @@ USHORT SwRootFrm::GetCurrPage( const SwPaM *pActualCrsr ) const
/*************************************************************************
|*
-|* SwRootFrm::SetCurrPage()
+|* SwRootFrm::SetCurrPage()
|*
-|* Beschreibung: Liefert einen PaM der am Anfang der gewuenschten
-|* Seite sitzt.
-|* Formatiert wird soweit notwendig
-|* Liefert Null, wenn die Operation nicht moeglich ist.
-|* Der PaM sitzt in der letzten Seite, wenn die Seitenzahl zu gross
-|* gewaehlt wurde.
-|* Ersterstellung MA 20. May. 92
-|* Letzte Aenderung MA 09. Oct. 97
+|* Beschreibung: Liefert einen PaM der am Anfang der gewuenschten
+|* Seite sitzt.
+|* Formatiert wird soweit notwendig
+|* Liefert Null, wenn die Operation nicht moeglich ist.
+|* Der PaM sitzt in der letzten Seite, wenn die Seitenzahl zu gross
+|* gewaehlt wurde.
+|* Ersterstellung MA 20. May. 92
+|* Letzte Aenderung MA 09. Oct. 97
|*
|*************************************************************************/
USHORT SwRootFrm::SetCurrPage( SwCursor* pToSet, USHORT nPageNum )
@@ -921,10 +921,10 @@ USHORT SwRootFrm::SetCurrPage( SwCursor* pToSet, USHORT nPageNum )
SwPageFrm *pPage = (SwPageFrm*)Lower();
BOOL bEnd =FALSE;
while ( !bEnd && pPage->GetPhyPageNum() != nPageNum )
- { if ( pPage->GetNext() )
+ { if ( pPage->GetNext() )
pPage = (SwPageFrm*)pPage->GetNext();
else
- { //Ersten CntntFrm Suchen, und solange Formatieren bis
+ { //Ersten CntntFrm Suchen, und solange Formatieren bis
//eine neue Seite angefangen wird oder bis die CntntFrm's alle
//sind.
const SwCntntFrm *pCntnt = pPage->ContainsCntnt();
@@ -973,17 +973,17 @@ USHORT SwRootFrm::SetCurrPage( SwCursor* pToSet, USHORT nPageNum )
/*************************************************************************
|*
-|* SwCntntFrm::StartxxPage(), EndxxPage()
+|* SwCntntFrm::StartxxPage(), EndxxPage()
|*
-|* Beschreibung Cursor an Anfang/Ende der aktuellen/vorherigen/
-|* naechsten Seite. Alle sechs Methoden rufen GetFrmInPage() mit der
-|* entsprechenden Parametrisierung.
-|* Zwei Parameter steuern die Richtung: einer bestimmt die Seite, der
-|* andere Anfang/Ende.
-|* Fuer die Bestimmung der Seite und des Cntnt (Anfang/Ende) werden
-|* die im folgenden definierten Funktionen benutzt.
-|* Ersterstellung MA 15. Oct. 92
-|* Letzte Aenderung MA 28. Feb. 93
+|* Beschreibung Cursor an Anfang/Ende der aktuellen/vorherigen/
+|* naechsten Seite. Alle sechs Methoden rufen GetFrmInPage() mit der
+|* entsprechenden Parametrisierung.
+|* Zwei Parameter steuern die Richtung: einer bestimmt die Seite, der
+|* andere Anfang/Ende.
+|* Fuer die Bestimmung der Seite und des Cntnt (Anfang/Ende) werden
+|* die im folgenden definierten Funktionen benutzt.
+|* Ersterstellung MA 15. Oct. 92
+|* Letzte Aenderung MA 28. Feb. 93
|*
|*************************************************************************/
SwCntntFrm *GetFirstSub( const SwLayoutFrm *pLayout )
@@ -1089,17 +1089,17 @@ BOOL GetFrmInPage( const SwCntntFrm *pCnt, SwWhichPage fnWhichPage,
/*************************************************************************
|*
-|* SwLayoutFrm::GetCntntPos()
+|* SwLayoutFrm::GetCntntPos()
|*
-|* Beschreibung Es wird der nachstliegende Cntnt zum uebergebenen
-|* gesucht. Betrachtet werden die vorhergehende, die
-|* aktuelle und die folgende Seite.
-|* Wenn kein Inhalt gefunden wird, so wird der Bereich
- * erweitert bis einer gefunden wird.
-|* Zurueckgegeben wird die 'Semantisch richtige' Position
-|* innerhalb der PrtArea des gefundenen CntntFrm
-|* Ersterstellung MA 15. Jul. 92
-|* Letzte Aenderung MA 09. Jan. 97
+|* Beschreibung Es wird der nachstliegende Cntnt zum uebergebenen
+|* gesucht. Betrachtet werden die vorhergehende, die
+|* aktuelle und die folgende Seite.
+|* Wenn kein Inhalt gefunden wird, so wird der Bereich
+ * erweitert bis einer gefunden wird.
+|* Zurueckgegeben wird die 'Semantisch richtige' Position
+|* innerhalb der PrtArea des gefundenen CntntFrm
+|* Ersterstellung MA 15. Jul. 92
+|* Letzte Aenderung MA 09. Jan. 97
|*
|*************************************************************************/
ULONG CalcDiff( const Point &rPt1, const Point &rPt2 )
@@ -1165,7 +1165,7 @@ const SwCntntFrm *SwLayoutFrm::GetCntntPos( Point& rPoint,
Point aPoint = rPoint;
ULONG nDistance = ULONG_MAX;
- while ( TRUE ) //Sicherheitsschleifchen, damit immer einer gefunden wird.
+ while ( TRUE ) //Sicherheitsschleifchen, damit immer einer gefunden wird.
{
while ( pCntnt &&
((!bDontLeave || IsAnLower( pCntnt )) &&
@@ -1239,7 +1239,7 @@ const SwCntntFrm *SwLayoutFrm::GetCntntPos( Point& rPoint,
pCntnt = pCntnt->GetNextCntntFrm();
}
if ( !pActual )
- { //Wenn noch keiner gefunden wurde muss der Suchbereich erweitert
+ { //Wenn noch keiner gefunden wurde muss der Suchbereich erweitert
//werden, irgenwann muessen wir einen Finden!
//MA 09. Jan. 97: Opt fuer viele leere Seiten, wenn wir nur im
//Body suchen, koennen wir den Suchbereich gleich in einem
@@ -1256,13 +1256,13 @@ const SwCntntFrm *SwLayoutFrm::GetCntntPos( Point& rPoint,
? pStart->ContainsCntnt()
: pStart->FindPageFrm()->FindFirstBodyCntnt();
}
- if ( !pCntnt ) //irgendwann muessen wir mit irgendeinem Anfangen!
+ if ( !pCntnt ) //irgendwann muessen wir mit irgendeinem Anfangen!
{
pCntnt = pStart->FindPageFrm()->GetUpper()->ContainsCntnt();
while ( pCntnt && !pCntnt->IsInDocBody() )
pCntnt = pCntnt->GetNextCntntFrm();
if ( !pCntnt )
- return 0; //Es gibt noch keine Dokumentinhalt!
+ return 0; //Es gibt noch keine Dokumentinhalt!
}
}
else
@@ -1348,13 +1348,13 @@ const SwCntntFrm *SwLayoutFrm::GetCntntPos( Point& rPoint,
/*************************************************************************
|*
-|* SwPageFrm::GetCntntPosition()
+|* SwPageFrm::GetCntntPosition()
|*
-|* Beschreibung Analog zu SwLayoutFrm::GetCntntPos().
-|* Spezialisiert fuer Felder in Rahmen.
+|* Beschreibung Analog zu SwLayoutFrm::GetCntntPos().
+|* Spezialisiert fuer Felder in Rahmen.
|*
-|* Ersterstellung MA 22. Mar. 95
-|* Letzte Aenderung MA 07. Nov. 95
+|* Ersterstellung MA 22. Mar. 95
+|* Letzte Aenderung MA 07. Nov. 95
|*
|*************************************************************************/
void SwPageFrm::GetCntntPosition( const Point &rPt, SwPosition &rPos ) const
@@ -1374,8 +1374,8 @@ void SwPageFrm::GetCntntPosition( const Point &rPt, SwPosition &rPos ) const
pCntnt = GetUpper()->ContainsCntnt();
const SwCntntFrm *pAct = pCntnt;
- Point aAct = rPt;
- ULONG nDist = ULONG_MAX;
+ Point aAct = rPt;
+ ULONG nDist = ULONG_MAX;
while ( pCntnt )
{
@@ -1405,9 +1405,9 @@ void SwPageFrm::GetCntntPosition( const Point &rPt, SwPosition &rPos ) const
const ULONG nDiff = ::CalcDiff( aPoint, rPt );
if ( nDiff < nDist )
{
- aAct = aPoint;
- nDist = nDiff;
- pAct = pCntnt;
+ aAct = aPoint;
+ nDist = nDiff;
+ pAct = pCntnt;
}
else if ( aCntFrm.Top() > Frm().Bottom() )
//Dichter wirds im Sinne der Felder nicht mehr!
@@ -1446,12 +1446,12 @@ void SwPageFrm::GetCntntPosition( const Point &rPt, SwPosition &rPos ) const
/*************************************************************************
|*
-|* SwRootFrm::GetNextPrevCntntPos()
+|* SwRootFrm::GetNextPrevCntntPos()
|*
-|* Beschreibung Es wird der naechstliegende Cntnt zum uebergebenen
-|* Point gesucht. Es wird nur im BodyText gesucht.
-|* Ersterstellung MA 15. Jul. 92
-|* Letzte Aenderung JP 11.10.2001
+|* Beschreibung Es wird der naechstliegende Cntnt zum uebergebenen
+|* Point gesucht. Es wird nur im BodyText gesucht.
+|* Ersterstellung MA 15. Jul. 92
+|* Letzte Aenderung JP 11.10.2001
|*
|*************************************************************************/
@@ -1564,16 +1564,16 @@ Point SwRootFrm::GetNextPrevCntntPos( const Point& rPoint, BOOL bNext ) const
/*************************************************************************
|*
-|* SwRootFrm::GetPagePos()
+|* SwRootFrm::GetPagePos()
|*
-|* Beschreibung: Liefert die absolute Dokumentpositon der gewuenschten
-|* Seite.
-|* Formatiert wird nur soweit notwendig und nur dann wenn bFormat=TRUE
-|* Liefert Null, wenn die Operation nicht moeglich ist.
-|* Die Pos ist die der letzten Seite, wenn die Seitenzahl zu gross
-|* gewaehlt wurde.
-|* Ersterstellung MA 01. Jun. 92
-|* Letzte Aenderung MA 09. Oct. 97
+|* Beschreibung: Liefert die absolute Dokumentpositon der gewuenschten
+|* Seite.
+|* Formatiert wird nur soweit notwendig und nur dann wenn bFormat=TRUE
+|* Liefert Null, wenn die Operation nicht moeglich ist.
+|* Die Pos ist die der letzten Seite, wenn die Seitenzahl zu gross
+|* gewaehlt wurde.
+|* Ersterstellung MA 01. Jun. 92
+|* Letzte Aenderung MA 09. Oct. 97
|*
|*************************************************************************/
Point SwRootFrm::GetPagePos( USHORT nPageNum ) const
@@ -1635,14 +1635,14 @@ BOOL SwRootFrm::IsDummyPage( USHORT nPageNum ) const
/*************************************************************************
|*
-|* SwFrm::IsProtected()
+|* SwFrm::IsProtected()
|*
-|* Beschreibung Ist der Frm bzw. die Section in der er steht
-|* geschuetzt?
-|* Auch Fly in Fly in ... und Fussnoten
+|* Beschreibung Ist der Frm bzw. die Section in der er steht
+|* geschuetzt?
+|* Auch Fly in Fly in ... und Fussnoten
|*
-|* Ersterstellung MA 28. Jul. 93
-|* Letzte Aenderung MA 06. Nov. 97
+|* Ersterstellung MA 28. Jul. 93
+|* Letzte Aenderung MA 06. Nov. 97
|*
|*************************************************************************/
BOOL SwFrm::IsProtected() const
@@ -1703,11 +1703,11 @@ BOOL SwFrm::IsProtected() const
/*************************************************************************
|*
-|* SwFrm::GetPhyPageNum()
-|* Beschreibung: Liefert die physikalische Seitennummer
+|* SwFrm::GetPhyPageNum()
+|* Beschreibung: Liefert die physikalische Seitennummer
|*
-|* Ersterstellung OK 06.07.93 08:35
-|* Letzte Aenderung MA 30. Nov. 94
+|* Ersterstellung OK 06.07.93 08:35
+|* Letzte Aenderung MA 30. Nov. 94
|*
|*************************************************************************/
USHORT SwFrm::GetPhyPageNum() const
@@ -1786,11 +1786,11 @@ BOOL SwFrm::WannaRightPage() const
/*************************************************************************
|*
-|* SwFrm::GetVirtPageNum()
-|* Beschreibung: Liefert die virtuelle Seitennummer mit Offset
+|* SwFrm::GetVirtPageNum()
+|* Beschreibung: Liefert die virtuelle Seitennummer mit Offset
|*
-|* Ersterstellung OK 06.07.93 08:35
-|* Letzte Aenderung MA 30. Nov. 94
+|* Ersterstellung OK 06.07.93 08:35
+|* Letzte Aenderung MA 30. Nov. 94
|*
|*************************************************************************/
USHORT SwFrm::GetVirtPageNum() const
@@ -1843,10 +1843,10 @@ USHORT SwFrm::GetVirtPageNum() const
/*************************************************************************
|*
-|* SwRootFrm::MakeTblCrsrs()
+|* SwRootFrm::MakeTblCrsrs()
|*
-|* Ersterstellung MA 14. May. 93
-|* Letzte Aenderung MA 02. Feb. 94
+|* Ersterstellung MA 14. May. 93
+|* Letzte Aenderung MA 02. Feb. 94
|*
|*************************************************************************/
//Ermitteln und einstellen derjenigen Zellen die von der Selektion
@@ -1966,41 +1966,41 @@ bool SwRootFrm::MakeTblCrsrs( SwTableCursor& rTblCrsr )
/*************************************************************************
|*
-|* SwRootFrm::CalcFrmRects
+|* SwRootFrm::CalcFrmRects
|*
-|* Ersterstellung MA 24. Aug. 92
-|* Letzte Aenderung MA 24. Aug. 93
+|* Ersterstellung MA 24. Aug. 92
+|* Letzte Aenderung MA 24. Aug. 93
|*
|*************************************************************************/
/*
* nun koennen folgende Situationen auftreten:
- * 1. Start und Ende liegen in einer Bildschirm - Zeile und im
- * gleichen Node
- * -> aus Start und End ein Rectangle, dann Ok
- * 2. Start und Ende liegen in einem Frame (dadurch im gleichen Node!)
- * -> Start nach rechts, End nach links erweitern,
- * und bei mehr als 2 Bildschirm - Zeilen, das dazwischen
- * liegende berechnen
- * 3. Start und Ende liegen in verschiedenen Frames
- * -> Start nach rechts erweitern, bis Frame-Ende Rect berechnen
- * Ende nach links erweitern, bis Frame-Start Rect berechnen
- * und bei mehr als 2 Frames von allen dazwischen liegenden
- * Frames die PrtArea dazu.
- * 4. Wenn es sich um eine Tabellenselektion handelt wird fuer jeden
- * PaM im Ring der CellFrm besorgt, dessen PrtArea wird zu den
- * Rechtecken addiert.
+ * 1. Start und Ende liegen in einer Bildschirm - Zeile und im
+ * gleichen Node
+ * -> aus Start und End ein Rectangle, dann Ok
+ * 2. Start und Ende liegen in einem Frame (dadurch im gleichen Node!)
+ * -> Start nach rechts, End nach links erweitern,
+ * und bei mehr als 2 Bildschirm - Zeilen, das dazwischen
+ * liegende berechnen
+ * 3. Start und Ende liegen in verschiedenen Frames
+ * -> Start nach rechts erweitern, bis Frame-Ende Rect berechnen
+ * Ende nach links erweitern, bis Frame-Start Rect berechnen
+ * und bei mehr als 2 Frames von allen dazwischen liegenden
+ * Frames die PrtArea dazu.
+ * 4. Wenn es sich um eine Tabellenselektion handelt wird fuer jeden
+ * PaM im Ring der CellFrm besorgt, dessen PrtArea wird zu den
+ * Rechtecken addiert.
*
* Grosser Umbau wg. der FlyFrm; denn diese muessen ausgespart werden.
* Ausnahmen: - Der Fly in dem die Selektion stattfindet (wenn sie in einem Fly
- * stattfindet).
- * - Die Flys, die vom Text unterlaufen werden.
+ * stattfindet).
+ * - Die Flys, die vom Text unterlaufen werden.
* Arbeitsweise: Zuerst wird eine SwRegion mit der Root initialisiert.
- * Aus der Region werden die zu invertierenden Bereiche
- * ausgestantzt. Die Region wird Komprimiert und letztlich
- * invertiert. Damit liegen dann die zu invertierenden
- * Rechtecke vor.
- * Am Ende werden die Flys aus der Region ausgestanzt.
+ * Aus der Region werden die zu invertierenden Bereiche
+ * ausgestantzt. Die Region wird Komprimiert und letztlich
+ * invertiert. Damit liegen dann die zu invertierenden
+ * Rechtecke vor.
+ * Am Ende werden die Flys aus der Region ausgestanzt.
*/
inline void Sub( SwRegionRects& rRegion, const SwRect& rRect )
@@ -2051,7 +2051,7 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
const SwCntntFrm *pStartFrm = rNds[ pStartPos->nNode ]->
GetCntntNode()->GetFrm( &rCrsr.GetSttPos(), pStartPos );
- const SwCntntFrm *pEndFrm = rNds[ pEndPos->nNode ]->
+ const SwCntntFrm *pEndFrm = rNds[ pEndPos->nNode ]->
GetCntntNode()->GetFrm( &rCrsr.GetEndPos(), pEndPos );
OSL_ENSURE( (pStartFrm && pEndFrm), "Keine CntntFrms gefunden." );
@@ -2085,7 +2085,7 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
{
// falls eine nicht erlaubte Selection besteht, dann korrigiere das
// nicht erlaubt ist Header/Footer/TableHeadline ueber 2 Seiten
- do { // middle check loop
+ do { // middle check loop
const SwLayoutFrm* pSttLFrm = pStartFrm->GetUpper();
const USHORT cHdFtTblHd = FRM_HEADER | FRM_FOOTER | FRM_TAB;
while( pSttLFrm &&
@@ -2423,8 +2423,8 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
SwRect aTmp = SwRect( aTmpSt, aTmpEnd );
// Bug 34888: falls Inhalt selektiert ist, der keinen Platz
- // einnimmt (z.B. PostIts,RefMarks, TOXMarks),
- // dann mindestens die Breite des Crsr setzen.
+ // einnimmt (z.B. PostIts,RefMarks, TOXMarks),
+ // dann mindestens die Breite des Crsr setzen.
if( 1 == (aTmp.*fnRect->fnGetWidth)() &&
pStartPos->nContent.GetIndex() !=
pEndPos->nContent.GetIndex() )
@@ -2583,7 +2583,7 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
Sub( aRegion, aSubRect );
}
-// aRegion.Compress( FALSE );
+// aRegion.Compress( FALSE );
aRegion.Invert();
delete pSt2Pos;
delete pEnd2Pos;
@@ -2591,11 +2591,11 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
//Flys mit Durchlauf ausstanzen. Nicht ausgestanzt werden Flys:
//- die Lower des StartFrm/EndFrm sind (FlyInCnt und alle Flys die wiederum
- // darin sitzen)
+ // darin sitzen)
//- in der Z-Order ueber denjenigen Flys stehen in denen sich der StartFrm
- // befindet.
- const SwPageFrm *pPage = pStartFrm->FindPageFrm();
- const SwPageFrm *pEndPage = pEndFrm->FindPageFrm();
+ // befindet.
+ const SwPageFrm *pPage = pStartFrm->FindPageFrm();
+ const SwPageFrm *pEndPage = pEndFrm->FindPageFrm();
while ( pPage )
{
@@ -2625,7 +2625,7 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
"<SwRootFrm::CalcFrmRects(..)> - object in <aSortObjs> of unexcepted type" );
const SwFlyFrm* pTmp = static_cast<SwFlyFrm*>(aSortObjs[k]);
do
- { if ( nPos < pTmp->GetVirtDrawObj()->GetOrdNumDirect() )
+ { if ( nPos < pTmp->GetVirtDrawObj()->GetOrdNumDirect() )
bSub = FALSE;
else
pTmp = pTmp->GetAnchorFrm()->FindFlyFrm();
diff --git a/sw/source/core/layout/unusedf.cxx b/sw/source/core/layout/unusedf.cxx
index d231535c5c87..db056e5edf67 100644
--- a/sw/source/core/layout/unusedf.cxx
+++ b/sw/source/core/layout/unusedf.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/virtoutp.cxx b/sw/source/core/layout/virtoutp.cxx
index 4a56c37497c2..3bb6231e4ee2 100644
--- a/sw/source/core/layout/virtoutp.cxx
+++ b/sw/source/core/layout/virtoutp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -43,7 +43,7 @@
#if OSL_DEBUG_LEVEL > 1
/*************************************************************************
- * class DbgRect
+ * class DbgRect
*************************************************************************/
class DbgRect
@@ -135,7 +135,7 @@ void SetMappingForVirtDev( const Point& _rNewOrigin,
/*************************************************************************
- * SwVOut::DoesFit()
+ * SwVOut::DoesFit()
*************************************************************************/
// rSize muss in Pixel-Koordinaten vorliegen!
@@ -173,7 +173,7 @@ BOOL SwLayVout::DoesFit( const Size &rNew )
}
/*************************************************************************
- * SwLayVout::Enter
+ * SwLayVout::Enter
*************************************************************************/
/// OD 27.09.2002 #103636# - change 2nd parameter <rRect> - no longer <const>
/// in order to return value of class member variable <aRect>, if virtual
@@ -241,7 +241,7 @@ void SwLayVout::Enter( ViewShell *pShell, SwRect &rRect, BOOL bOn )
}
/*************************************************************************
- * SwLayVout::Flush()
+ * SwLayVout::Flush()
*************************************************************************/
void SwLayVout::_Flush()
diff --git a/sw/source/core/layout/virtoutp.hxx b/sw/source/core/layout/virtoutp.hxx
index 04f6a67031de..58f570866b0b 100644
--- a/sw/source/core/layout/virtoutp.hxx
+++ b/sw/source/core/layout/virtoutp.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -30,27 +30,27 @@
#include <vcl/virdev.hxx>
-#include "swtypes.hxx" // UCHAR
-#include "swrect.hxx" // SwRect
+#include "swtypes.hxx" // UCHAR
+#include "swrect.hxx" // SwRect
class ViewShell;
#define VIRTUALHEIGHT 64
/*************************************************************************
- * class SwTxtVout
+ * class SwTxtVout
*************************************************************************/
class SwLayVout
{
- friend void _FrmFinit(); //loescht das Vout
+ friend void _FrmFinit(); //loescht das Vout
private:
- ViewShell* pSh;
- OutputDevice* pOut;
- VirtualDevice* pVirDev;
- SwRect aRect;
- SwRect aOrgRect;
- Size aSize;
- USHORT nCount;
+ ViewShell* pSh;
+ OutputDevice* pOut;
+ VirtualDevice* pVirDev;
+ SwRect aRect;
+ SwRect aOrgRect;
+ Size aSize;
+ USHORT nCount;
BOOL DoesFit( const Size &rOut );
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index 25e5abaae9a2..077314e166e4 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -81,10 +81,10 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* SwFrm::SwFrm()
+|* SwFrm::SwFrm()
|*
-|* Ersterstellung AK 12-Feb-1991
-|* Letzte Aenderung MA 05. Apr. 94
+|* Ersterstellung AK 12-Feb-1991
+|* Letzte Aenderung MA 05. Apr. 94
|*
|*************************************************************************/
@@ -230,10 +230,10 @@ void SwTxtFrm::CheckDirection( BOOL bVert )
/*************************************************************************
|*
-|* SwFrm::Modify()
+|* SwFrm::Modify()
|*
-|* Ersterstellung AK 01-Mar-1991
-|* Letzte Aenderung MA 20. Jun. 96
+|* Ersterstellung AK 01-Mar-1991
+|* Letzte Aenderung MA 20. Jun. 96
|*
|*************************************************************************/
void SwFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
@@ -347,9 +347,9 @@ void SwFrm::_UpdateAttrFrm( SfxPoolItem *pOld, SfxPoolItem *pNew,
/*************************************************************************
|*
-|* SwFrm::Prepare()
-|* Ersterstellung MA 13. Apr. 93
-|* Letzte Aenderung MA 26. Jun. 96
+|* SwFrm::Prepare()
+|* Ersterstellung MA 13. Apr. 93
+|* Letzte Aenderung MA 26. Jun. 96
|*
|*************************************************************************/
void SwFrm::Prepare( const PrepareHint, const void *, BOOL )
@@ -359,12 +359,12 @@ void SwFrm::Prepare( const PrepareHint, const void *, BOOL )
/*************************************************************************
|*
-|* SwFrm::InvalidatePage()
-|* Beschreibung: Invalidiert die Seite, in der der Frm gerade steht.
-|* Je nachdem ob es ein Layout, Cntnt oder FlyFrm ist wird die Seite
-|* entsprechend Invalidiert.
-|* Ersterstellung MA 22. Jul. 92
-|* Letzte Aenderung MA 14. Oct. 94
+|* SwFrm::InvalidatePage()
+|* Beschreibung: Invalidiert die Seite, in der der Frm gerade steht.
+|* Je nachdem ob es ein Layout, Cntnt oder FlyFrm ist wird die Seite
+|* entsprechend Invalidiert.
+|* Ersterstellung MA 22. Jul. 92
+|* Letzte Aenderung MA 14. Oct. 94
|*
|*************************************************************************/
void SwFrm::InvalidatePage( const SwPageFrm *pPage ) const
@@ -407,8 +407,8 @@ void SwFrm::InvalidatePage( const SwPageFrm *pPage ) const
if ( pRoot->IsTurboAllowed() )
{
// JP 21.09.95: wenn sich der ContentFrame 2 mal eintragen
- // will, kann es doch eine TurboAction bleiben.
- // ODER????
+ // will, kann es doch eine TurboAction bleiben.
+ // ODER????
if ( !pRoot->GetTurbo() || this == pRoot->GetTurbo() )
pRoot->SetTurbo( (const SwCntntFrm*)this );
else
@@ -424,10 +424,10 @@ void SwFrm::InvalidatePage( const SwPageFrm *pPage ) const
if ( !pRoot->GetTurbo() )
{
if ( pFly )
- { if( !pFly->IsLocked() )
+ { if( !pFly->IsLocked() )
{
if ( pFly->IsFlyInCntFrm() )
- { pPage->InvalidateFlyInCnt();
+ { pPage->InvalidateFlyInCnt();
((SwFlyInCntFrm*)pFly)->InvalidateCntnt();
pFly->GetAnchorFrm()->InvalidatePage();
}
@@ -460,7 +460,7 @@ void SwFrm::InvalidatePage( const SwPageFrm *pPage ) const
pPage->InvalidateLayout();
if ( pRoot->GetTurbo() )
- { const SwFrm *pTmp = pRoot->GetTurbo();
+ { const SwFrm *pTmp = pRoot->GetTurbo();
pRoot->ResetTurbo();
pTmp->InvalidatePage();
}
@@ -479,10 +479,10 @@ void SwFrm::InvalidatePage( const SwPageFrm *pPage ) const
/*************************************************************************
|*
-|* SwFrm::ChgSize()
+|* SwFrm::ChgSize()
|*
-|* Ersterstellung AK 15-Feb-1991
-|* Letzte Aenderung MA 18. Nov. 98
+|* Ersterstellung AK 15-Feb-1991
+|* Letzte Aenderung MA 18. Nov. 98
|*
|*************************************************************************/
Size SwFrm::ChgSize( const Size& aNewSize )
@@ -560,13 +560,13 @@ Size SwFrm::ChgSize( const Size& aNewSize )
/*************************************************************************
|*
-|* SwFrm::InsertBefore()
+|* SwFrm::InsertBefore()
|*
-|* Beschreibung SwFrm wird in eine bestehende Struktur eingefuegt
-|* Eingefuegt wird unterhalb des Parent und entweder
-|* vor pBehind oder am Ende der Kette wenn pBehind
-|* leer ist.
-|* Letzte Aenderung MA 06. Aug. 99
+|* Beschreibung SwFrm wird in eine bestehende Struktur eingefuegt
+|* Eingefuegt wird unterhalb des Parent und entweder
+|* vor pBehind oder am Ende der Kette wenn pBehind
+|* leer ist.
+|* Letzte Aenderung MA 06. Aug. 99
|*
|*************************************************************************/
void SwFrm::InsertBefore( SwLayoutFrm* pParent, SwFrm* pBehind )
@@ -578,7 +578,7 @@ void SwFrm::InsertBefore( SwLayoutFrm* pParent, SwFrm* pBehind )
pUpper = pParent;
pNext = pBehind;
if( pBehind )
- { //Einfuegen vor pBehind.
+ { //Einfuegen vor pBehind.
if( 0 != (pPrev = pBehind->pPrev) )
pPrev->pNext = this;
else
@@ -586,7 +586,7 @@ void SwFrm::InsertBefore( SwLayoutFrm* pParent, SwFrm* pBehind )
pBehind->pPrev = this;
}
else
- { //Einfuegen am Ende, oder als ersten Node im Unterbaum
+ { //Einfuegen am Ende, oder als ersten Node im Unterbaum
pPrev = pUpper->Lower();
if ( pPrev )
{
@@ -601,13 +601,13 @@ void SwFrm::InsertBefore( SwLayoutFrm* pParent, SwFrm* pBehind )
/*************************************************************************
|*
-|* SwFrm::InsertBehind()
+|* SwFrm::InsertBehind()
|*
-|* Beschreibung SwFrm wird in eine bestehende Struktur eingefuegt
-|* Eingefuegt wird unterhalb des Parent und entweder
-|* hinter pBefore oder am Anfang der Kette wenn pBefore
-|* leer ist.
-|* Letzte Aenderung MA 06. Aug. 99
+|* Beschreibung SwFrm wird in eine bestehende Struktur eingefuegt
+|* Eingefuegt wird unterhalb des Parent und entweder
+|* hinter pBefore oder am Anfang der Kette wenn pBefore
+|* leer ist.
+|* Letzte Aenderung MA 06. Aug. 99
|*
|*************************************************************************/
void SwFrm::InsertBehind( SwLayoutFrm *pParent, SwFrm *pBefore )
@@ -637,14 +637,14 @@ void SwFrm::InsertBehind( SwLayoutFrm *pParent, SwFrm *pBefore )
/*************************************************************************
|*
-|* SwFrm::InsertGroup()
+|* SwFrm::InsertGroup()
|*
-|* Beschreibung Eine Kette von SwFrms wird in eine bestehende Struktur
-|* eingefuegt
-|* Letzte Aenderung AMA 9. Dec. 97
+|* Beschreibung Eine Kette von SwFrms wird in eine bestehende Struktur
+|* eingefuegt
+|* Letzte Aenderung AMA 9. Dec. 97
|*
|* Bisher wird dies genutzt, um einen SectionFrame, der ggf. schon Geschwister
-|* mit sich bringt, in eine bestehende Struktur einzufuegen.
+|* mit sich bringt, in eine bestehende Struktur einzufuegen.
|*
|* Wenn man den dritten Parameter als NULL uebergibt, entspricht
|* diese Methode dem SwFrm::InsertBefore(..), nur eben mit Geschwistern.
@@ -653,9 +653,9 @@ void SwFrm::InsertBehind( SwLayoutFrm *pParent, SwFrm *pBefore )
|* this wird pNext von pParent,
|* pSct wird pNext vom Letzten der this-Kette,
|* pBehind wird vom pParent an den pSct umgehaengt.
-|* Dies dient dazu: ein SectionFrm (this) wird nicht als
-|* Kind an einen anderen SectionFrm (pParent) gehaengt, sondern pParent
-|* wird in zwei Geschwister aufgespalten (pParent+pSct) und this dazwischen
+|* Dies dient dazu: ein SectionFrm (this) wird nicht als
+|* Kind an einen anderen SectionFrm (pParent) gehaengt, sondern pParent
+|* wird in zwei Geschwister aufgespalten (pParent+pSct) und this dazwischen
|* eingebaut.
|*
|*************************************************************************/
@@ -696,7 +696,7 @@ void SwFrm::InsertGroupBefore( SwFrm* pParent, SwFrm* pBehind, SwFrm* pSct )
pLast->pUpper = GetUpper();
}
if( pBehind )
- { //Einfuegen vor pBehind.
+ { //Einfuegen vor pBehind.
if( pBehind->GetPrev() )
pBehind->GetPrev()->pNext = NULL;
else
@@ -735,7 +735,7 @@ void SwFrm::InsertGroupBefore( SwFrm* pParent, SwFrm* pBehind, SwFrm* pSct )
}
pLast->pNext = pBehind;
if( pBehind )
- { //Einfuegen vor pBehind.
+ { //Einfuegen vor pBehind.
if( 0 != (pPrev = pBehind->pPrev) )
pPrev->pNext = this;
else
@@ -743,7 +743,7 @@ void SwFrm::InsertGroupBefore( SwFrm* pParent, SwFrm* pBehind, SwFrm* pSct )
pBehind->pPrev = pLast;
}
else
- { //Einfuegen am Ende, oder des ersten Nodes im Unterbaum
+ { //Einfuegen am Ende, oder des ersten Nodes im Unterbaum
pPrev = pUpper->Lower();
if ( pPrev )
{
@@ -759,10 +759,10 @@ void SwFrm::InsertGroupBefore( SwFrm* pParent, SwFrm* pBehind, SwFrm* pSct )
/*************************************************************************
|*
-|* SwFrm::Remove()
+|* SwFrm::Remove()
|*
-|* Ersterstellung AK 01-Mar-1991
-|* Letzte Aenderung MA 07. Dec. 95
+|* Ersterstellung AK 01-Mar-1991
+|* Letzte Aenderung MA 07. Dec. 95
|*
|*************************************************************************/
void SwFrm::Remove()
@@ -773,7 +773,7 @@ void SwFrm::Remove()
// einer aus der Mitte wird removed
pPrev->pNext = pNext;
else
- { // der erste in einer Folge wird removed
+ { // der erste in einer Folge wird removed
OSL_ENSURE( pUpper->pLower == this, "Layout inkonsistent." );
pUpper->pLower = pNext;
}
@@ -786,10 +786,10 @@ void SwFrm::Remove()
}
/*************************************************************************
|*
-|* SwCntntFrm::Paste()
+|* SwCntntFrm::Paste()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 09. Sep. 98
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 09. Sep. 98
|*
|*************************************************************************/
void SwCntntFrm::Paste( SwFrm* pParent, SwFrm* pSibling)
@@ -894,10 +894,10 @@ void SwCntntFrm::Paste( SwFrm* pParent, SwFrm* pSibling)
/*************************************************************************
|*
-|* SwCntntFrm::Cut()
+|* SwCntntFrm::Cut()
|*
-|* Ersterstellung AK 14-Feb-1991
-|* Letzte Aenderung MA 09. Sep. 98
+|* Ersterstellung AK 14-Feb-1991
+|* Letzte Aenderung MA 09. Sep. 98
|*
|*************************************************************************/
void SwCntntFrm::Cut()
@@ -943,7 +943,7 @@ void SwCntntFrm::Cut()
}
if( 0 != (pFrm = GetIndNext()) )
- { //Der alte Nachfolger hat evtl. einen Abstand zum Vorgaenger
+ { //Der alte Nachfolger hat evtl. einen Abstand zum Vorgaenger
//berechnet, der ist jetzt, wo er der erste wird obsolet bzw. anders.
pFrm->_InvalidatePrt();
pFrm->_InvalidatePos();
@@ -975,7 +975,7 @@ void SwCntntFrm::Cut()
InvalidateNextPos();
//Einer muss die Retusche uebernehmen: Vorgaenger oder Upper
if ( 0 != (pFrm = GetPrev()) )
- { pFrm->SetRetouche();
+ { pFrm->SetRetouche();
pFrm->Prepare( PREP_WIDOWS_ORPHANS );
pFrm->_InvalidatePos();
pFrm->InvalidatePage( pPage );
@@ -984,7 +984,7 @@ void SwCntntFrm::Cut()
//er die Retouche uebernehmen.
//Ausserdem kann eine Leerseite entstanden sein.
else
- { SwRootFrm *pRoot = FindRootFrm();
+ { SwRootFrm *pRoot = FindRootFrm();
if ( pRoot )
{
pRoot->SetSuperfluous();
@@ -1087,10 +1087,10 @@ void SwCntntFrm::Cut()
/*************************************************************************
|*
-|* SwLayoutFrm::Paste()
+|* SwLayoutFrm::Paste()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 23. Feb. 94
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 23. Feb. 94
|*
|*************************************************************************/
void SwLayoutFrm::Paste( SwFrm* pParent, SwFrm* pSibling)
@@ -1192,10 +1192,10 @@ void SwLayoutFrm::Paste( SwFrm* pParent, SwFrm* pSibling)
/*************************************************************************
|*
-|* SwLayoutFrm::Cut()
+|* SwLayoutFrm::Cut()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 23. Feb. 94
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 23. Feb. 94
|*
|*************************************************************************/
void SwLayoutFrm::Cut()
@@ -1257,10 +1257,10 @@ void SwLayoutFrm::Cut()
/*************************************************************************
|*
-|* SwFrm::Grow()
+|* SwFrm::Grow()
|*
-|* Ersterstellung AK 19-Feb-1991
-|* Letzte Aenderung MA 05. May. 94
+|* Ersterstellung AK 19-Feb-1991
+|* Letzte Aenderung MA 05. May. 94
|*
|*************************************************************************/
SwTwips SwFrm::Grow( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -1309,10 +1309,10 @@ SwTwips SwFrm::Grow( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwFrm::Shrink()
+|* SwFrm::Shrink()
|*
-|* Ersterstellung AK 14-Feb-1991
-|* Letzte Aenderung MA 05. May. 94
+|* Ersterstellung AK 14-Feb-1991
+|* Letzte Aenderung MA 05. May. 94
|*
|*************************************************************************/
SwTwips SwFrm::Shrink( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -1358,32 +1358,32 @@ SwTwips SwFrm::Shrink( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwFrm::AdjustNeighbourhood()
-|*
-|* Beschreibung Wenn sich die Groesse eines Frm's direkt unterhalb
-|* eines Fussnotenbosses (Seite/Spalte) veraendert hat, so muss dieser
-|* "Normalisiert" werden.
-|* Es gibt dort immer einen Frame, der den "maximal moeglichen" Raum
-|* einnimmt (der Frame, der den Body.Text enhaelt) und keinen oder
-|* mehrere Frames die den Platz einnehmen den sie halt brauchen
-|* (Kopf-/Fussbereich, Fussnoten).
-|* Hat sich einer der Frames veraendert, so muss der Body-Text-Frame
-|* entsprechen wachsen oder schrumpfen; unabhaegig davon, dass er fix ist.
-|* !! Ist es moeglich dies allgemeiner zu loesen, also nicht auf die
-|* Seite beschraenkt und nicht auf einen Speziellen Frame, der den
-|* maximalen Platz einnimmt (gesteuert ueber Attribut FrmSize)? Probleme:
-|* Was ist wenn mehrere Frames nebeneinander stehen, die den maximalen
-|* Platz einnehmen?
-|* Wie wird der Maximale Platz berechnet?
-|* Wie klein duerfen diese Frames werden?
-|*
-|* Es wird auf jeden Fall nur so viel Platz genehmigt, dass ein
-|* Minimalwert fuer die Hoehe des Bodys nicht unterschritten wird.
-|*
-|* Parameter: nDiff ist der Betrag, um den Platz geschaffen werden muss
-|*
-|* Ersterstellung MA 07. May. 92
-|* Letzte Aenderung AMA 02. Nov. 98
+|* SwFrm::AdjustNeighbourhood()
+|*
+|* Beschreibung Wenn sich die Groesse eines Frm's direkt unterhalb
+|* eines Fussnotenbosses (Seite/Spalte) veraendert hat, so muss dieser
+|* "Normalisiert" werden.
+|* Es gibt dort immer einen Frame, der den "maximal moeglichen" Raum
+|* einnimmt (der Frame, der den Body.Text enhaelt) und keinen oder
+|* mehrere Frames die den Platz einnehmen den sie halt brauchen
+|* (Kopf-/Fussbereich, Fussnoten).
+|* Hat sich einer der Frames veraendert, so muss der Body-Text-Frame
+|* entsprechen wachsen oder schrumpfen; unabhaegig davon, dass er fix ist.
+|* !! Ist es moeglich dies allgemeiner zu loesen, also nicht auf die
+|* Seite beschraenkt und nicht auf einen Speziellen Frame, der den
+|* maximalen Platz einnimmt (gesteuert ueber Attribut FrmSize)? Probleme:
+|* Was ist wenn mehrere Frames nebeneinander stehen, die den maximalen
+|* Platz einnehmen?
+|* Wie wird der Maximale Platz berechnet?
+|* Wie klein duerfen diese Frames werden?
+|*
+|* Es wird auf jeden Fall nur so viel Platz genehmigt, dass ein
+|* Minimalwert fuer die Hoehe des Bodys nicht unterschritten wird.
+|*
+|* Parameter: nDiff ist der Betrag, um den Platz geschaffen werden muss
+|*
+|* Ersterstellung MA 07. May. 92
+|* Letzte Aenderung AMA 02. Nov. 98
|*
|*************************************************************************/
SwTwips SwFrm::AdjustNeighbourhood( SwTwips nDiff, BOOL bTst )
@@ -1684,11 +1684,11 @@ SwTwips SwFrm::AdjustNeighbourhood( SwTwips nDiff, BOOL bTst )
/*************************************************************************
|*
-|* SwFrm::ImplInvalidateSize(), ImplInvalidatePrt(), ImplInvalidatePos(),
-|* ImplInvalidateLineNum()
+|* SwFrm::ImplInvalidateSize(), ImplInvalidatePrt(), ImplInvalidatePos(),
+|* ImplInvalidateLineNum()
|*
-|* Ersterstellung MA 15. Oct. 92
-|* Letzte Aenderung MA 24. Mar. 94
+|* Ersterstellung MA 15. Oct. 92
+|* Letzte Aenderung MA 24. Mar. 94
|*
|*************************************************************************/
/** method to perform additional actions on an invalidation
@@ -1778,10 +1778,10 @@ void SwFrm::ImplInvalidateLineNum()
/*************************************************************************
|*
-|* SwFrm::ReinitializeFrmSizeAttrFlags
+|* SwFrm::ReinitializeFrmSizeAttrFlags
|*
-|* Ersterstellung MA 15. Oct. 96
-|* Letzte Aenderung MA 15. Oct. 96
+|* Ersterstellung MA 15. Oct. 96
+|* Letzte Aenderung MA 15. Oct. 96
|*
|*************************************************************************/
void SwFrm::ReinitializeFrmSizeAttrFlags()
@@ -1795,7 +1795,7 @@ void SwFrm::ReinitializeFrmSizeAttrFlags()
{
SwFrm *pFrm = ((SwLayoutFrm*)this)->Lower();
while ( pFrm )
- { pFrm->_InvalidateSize();
+ { pFrm->_InvalidateSize();
pFrm->_InvalidatePrt();
pFrm = pFrm->GetNext();
}
@@ -1875,10 +1875,10 @@ void SwFrm::ValidateThisAndAllLowers( const USHORT nStage )
/*************************************************************************
|*
-|* SwCntntFrm::GrowFrm()
+|* SwCntntFrm::GrowFrm()
|*
-|* Ersterstellung MA 30. Jul. 92
-|* Letzte Aenderung MA 25. Mar. 99
+|* Ersterstellung MA 30. Jul. 92
+|* Letzte Aenderung MA 25. Mar. 99
|*
|*************************************************************************/
SwTwips SwCntntFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -1987,10 +1987,10 @@ SwTwips SwCntntFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwCntntFrm::ShrinkFrm()
+|* SwCntntFrm::ShrinkFrm()
|*
-|* Ersterstellung MA 30. Jul. 92
-|* Letzte Aenderung MA 05. May. 94
+|* Ersterstellung MA 30. Jul. 92
+|* Letzte Aenderung MA 05. May. 94
|*
|*************************************************************************/
SwTwips SwCntntFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -2109,11 +2109,11 @@ SwTwips SwCntntFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwCntntFrm::Modify()
+|* SwCntntFrm::Modify()
|*
-|* Beschreibung
-|* Ersterstellung AK 05-Mar-1991
-|* Letzte Aenderung MA 13. Oct. 95
+|* Beschreibung
+|* Ersterstellung AK 05-Mar-1991
+|* Letzte Aenderung MA 13. Oct. 95
|*
|*************************************************************************/
void SwCntntFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
@@ -2201,7 +2201,7 @@ void SwCntntFrm::_UpdateAttr( SfxPoolItem* pOld, SfxPoolItem* pNew,
rInvFlags = 0xFF;
/* kein break hier */
- case RES_PAGEDESC: //Attributaenderung (an/aus)
+ case RES_PAGEDESC: //Attributaenderung (an/aus)
if ( IsInDocBody() && !IsInTab() )
{
rInvFlags |= 0x02;
@@ -2342,10 +2342,10 @@ void SwCntntFrm::_UpdateAttr( SfxPoolItem* pOld, SfxPoolItem* pNew,
/*************************************************************************
|*
-|* SwLayoutFrm::SwLayoutFrm()
+|* SwLayoutFrm::SwLayoutFrm()
|*
-|* Ersterstellung AK 14-Feb-1991
-|* Letzte Aenderung MA 12. May. 95
+|* Ersterstellung AK 14-Feb-1991
+|* Letzte Aenderung MA 12. May. 95
|*
|*************************************************************************/
SwLayoutFrm::SwLayoutFrm( SwFrmFmt* pFmt ):
@@ -2404,10 +2404,10 @@ SwTwips SwLayoutFrm::InnerHeight() const
/*************************************************************************
|*
-|* SwLayoutFrm::GrowFrm()
+|* SwLayoutFrm::GrowFrm()
|*
-|* Ersterstellung MA 30. Jul. 92
-|* Letzte Aenderung MA 23. Sep. 96
+|* Ersterstellung MA 30. Jul. 92
+|* Letzte Aenderung MA 23. Sep. 96
|*
|*************************************************************************/
SwTwips SwLayoutFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -2570,10 +2570,10 @@ SwTwips SwLayoutFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwLayoutFrm::ShrinkFrm()
+|* SwLayoutFrm::ShrinkFrm()
|*
-|* Ersterstellung MA 30. Jul. 92
-|* Letzte Aenderung MA 25. Mar. 99
+|* Ersterstellung MA 30. Jul. 92
+|* Letzte Aenderung MA 25. Mar. 99
|*
|*************************************************************************/
SwTwips SwLayoutFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -2631,7 +2631,7 @@ SwTwips SwLayoutFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
if ( IsPageBodyFrm() && !bBrowse )
nReal = nDist;
else
- { nReal = AdjustNeighbourhood( -nReal, bTst );
+ { nReal = AdjustNeighbourhood( -nReal, bTst );
nReal *= -1;
if ( !bTst && IsBodyFrm() && nReal < nRealDist )
{
@@ -2695,13 +2695,13 @@ SwTwips SwLayoutFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
((SwTabFrm*)this)->SetComplete();
}
else
- { if ( IsRetoucheFrm() )
+ { if ( IsRetoucheFrm() )
SetRetouche();
if ( IsTabFrm() )
{
if( IsTabFrm() )
((SwTabFrm*)this)->SetComplete();
- if ( Lower() ) //Kann auch im Join stehen und leer sein!
+ if ( Lower() ) //Kann auch im Join stehen und leer sein!
InvalidateNextPos();
}
}
@@ -2743,15 +2743,15 @@ SwTwips SwLayoutFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
}
/*************************************************************************
|*
-|* SwLayoutFrm::ChgLowersProp()
+|* SwLayoutFrm::ChgLowersProp()
|*
-|* Beschreibung Aendert die Grosse der direkt untergeordneten Frm's
-|* die eine Fixe Groesse haben, proportional zur Groessenaenderung der
-|* PrtArea des Frm's.
-|* Die Variablen Frm's werden auch proportional angepasst; sie werden
-|* sich schon wieder zurechtwachsen/-schrumpfen.
-|* Ersterstellung MA 11.03.92
-|* Letzte Aenderung AMA 2. Nov. 98
+|* Beschreibung Aendert die Grosse der direkt untergeordneten Frm's
+|* die eine Fixe Groesse haben, proportional zur Groessenaenderung der
+|* PrtArea des Frm's.
+|* Die Variablen Frm's werden auch proportional angepasst; sie werden
+|* sich schon wieder zurechtwachsen/-schrumpfen.
+|* Ersterstellung MA 11.03.92
+|* Letzte Aenderung AMA 2. Nov. 98
|*
|*************************************************************************/
void SwLayoutFrm::ChgLowersProp( const Size& rOldSize )
@@ -3149,12 +3149,12 @@ void SwLayoutFrm::ChgLowersProp( const Size& rOldSize )
/*************************************************************************
|*
-|* SwLayoutFrm::Format()
+|* SwLayoutFrm::Format()
|*
-|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea.
-|* Die Fixsize wird hier nicht eingestellt.
-|* Ersterstellung MA 28. Jul. 92
-|* Letzte Aenderung MA 21. Mar. 95
+|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea.
+|* Die Fixsize wird hier nicht eingestellt.
+|* Ersterstellung MA 28. Jul. 92
+|* Letzte Aenderung MA 21. Mar. 95
|*
|*************************************************************************/
void SwLayoutFrm::Format( const SwBorderAttrs *pAttrs )
@@ -3186,7 +3186,7 @@ void SwLayoutFrm::Format( const SwBorderAttrs *pAttrs )
const SwFmtFrmSize &rSz = GetFmt()->GetFrmSize();
SwTwips nMinHeight = rSz.GetHeightSizeType() == ATT_MIN_SIZE ? rSz.GetHeight() : 0;
do
- { bValidSize = TRUE;
+ { bValidSize = TRUE;
//Die Groesse in der VarSize wird durch den Inhalt plus den
//Raendern bestimmt.
@@ -3230,7 +3230,7 @@ void SwLayoutFrm::Format( const SwBorderAttrs *pAttrs )
else if ( GetType() & 0x0018 )
{
do
- { if ( Frm().Height() != pAttrs->GetSize().Height() )
+ { if ( Frm().Height() != pAttrs->GetSize().Height() )
ChgSize( Size( Frm().Width(), pAttrs->GetSize().Height()));
bValidSize = TRUE;
MakePos();
@@ -3243,10 +3243,10 @@ void SwLayoutFrm::Format( const SwBorderAttrs *pAttrs )
/*************************************************************************
|*
-|* SwLayoutFrm::InvalidatePercentLowers()
+|* SwLayoutFrm::InvalidatePercentLowers()
|*
-|* Ersterstellung MA 13. Jun. 96
-|* Letzte Aenderung MA 13. Jun. 96
+|* Ersterstellung MA 13. Jun. 96
+|* Letzte Aenderung MA 13. Jun. 96
|*
|*************************************************************************/
static void InvaPercentFlys( SwFrm *pFrm, SwTwips nDiff )
@@ -3316,10 +3316,10 @@ void SwLayoutFrm::InvaPercentLowers( SwTwips nDiff )
/*************************************************************************
|*
-|* SwLayoutFrm::CalcRel()
+|* SwLayoutFrm::CalcRel()
|*
-|* Ersterstellung MA 13. Jun. 96
-|* Letzte Aenderung MA 10. Oct. 96
+|* Ersterstellung MA 13. Jun. 96
+|* Letzte Aenderung MA 10. Oct. 96
|*
|*************************************************************************/
long SwLayoutFrm::CalcRel( const SwFmtFrmSize &rSz, BOOL ) const
@@ -3419,15 +3419,15 @@ void SwLayoutFrm::FormatWidthCols( const SwBorderAttrs &rAttrs,
//letzten Spalte ausgerichtet.
//1. Inhalt formatieren.
//2. Hoehe der letzten Spalte ermitteln, wenn diese zu
- // zu gross ist muss der Fly wachsen.
- // Der Betrag um den der Fly waechst ist aber nicht etwa
- // der Betrag des Ueberhangs, denn wir muessen davon
- // ausgehen, dass etwas Masse zurueckfliesst und so
- // zusaetzlicher Platz geschaffen wird.
- // Im Ersten Ansatz ist der Betrag um den gewachsen wird
- // der Ueberhang geteilt durch die Spaltenanzahl oder
- // der Ueberhang selbst wenn er kleiner als die Spalten-
- // anzahl ist.
+ // zu gross ist muss der Fly wachsen.
+ // Der Betrag um den der Fly waechst ist aber nicht etwa
+ // der Betrag des Ueberhangs, denn wir muessen davon
+ // ausgehen, dass etwas Masse zurueckfliesst und so
+ // zusaetzlicher Platz geschaffen wird.
+ // Im Ersten Ansatz ist der Betrag um den gewachsen wird
+ // der Ueberhang geteilt durch die Spaltenanzahl oder
+ // der Ueberhang selbst wenn er kleiner als die Spalten-
+ // anzahl ist.
//3. Weiter mit 1. bis zur Stabilitaet.
const SwFmtCol &rCol = rAttrs.GetAttrSet().GetCol();
@@ -3741,7 +3741,7 @@ void SwLayoutFrm::FormatWidthCols( const SwBorderAttrs &rAttrs,
//Es muss geeignet invalidiert werden, damit
//sich die Frms huebsch ausbalancieren
//- Der jeweils erste ab der zweiten Spalte bekommt
- // ein InvalidatePos();
+ // ein InvalidatePos();
pCol = (SwLayoutFrm*)Lower()->GetNext();
while ( pCol )
{
@@ -3784,10 +3784,10 @@ void SwLayoutFrm::FormatWidthCols( const SwBorderAttrs &rAttrs,
/*************************************************************************
|*
-|* SwRootFrm::InvalidateAllCntnt()
+|* SwRootFrm::InvalidateAllCntnt()
|*
-|* Ersterstellung MA 13. Feb. 98
-|* Letzte Aenderung MA 12. Aug. 00
+|* Ersterstellung MA 13. Feb. 98
+|* Letzte Aenderung MA 12. Aug. 00
|*
|*************************************************************************/