Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
e7c09647
Kaydet (Commit)
e7c09647
authored
Ara 22, 2011
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: translate some comments, and s/sal_Bool/bool/
üst
062eaeff
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
53 deletions
+63
-53
flowfrm.hxx
sw/source/core/inc/flowfrm.hxx
+1
-1
calcmove.cxx
sw/source/core/layout/calcmove.cxx
+28
-21
flowfrm.cxx
sw/source/core/layout/flowfrm.cxx
+4
-4
tabfrm.cxx
sw/source/core/layout/tabfrm.cxx
+30
-27
No files found.
sw/source/core/inc/flowfrm.hxx
Dosyayı görüntüle @
e7c09647
...
@@ -138,7 +138,7 @@ protected:
...
@@ -138,7 +138,7 @@ protected:
void
LockJoin
()
{
bLockJoin
=
sal_True
;
}
void
LockJoin
()
{
bLockJoin
=
sal_True
;
}
void
UnlockJoin
()
{
bLockJoin
=
sal_False
;
}
void
UnlockJoin
()
{
bLockJoin
=
sal_False
;
}
sal_Bool
CheckMoveFwd
(
sal_Bool
&
rbMakePage
,
sal_Bool
bKeep
,
sal_Bool
bMovedBwd
);
sal_Bool
CheckMoveFwd
(
bool
&
rbMakePage
,
sal_Bool
bKeep
,
sal_Bool
bMovedBwd
);
sal_Bool
MoveFwd
(
sal_Bool
bMakePage
,
sal_Bool
bPageBreak
,
sal_Bool
bMoveAlways
=
sal_False
);
sal_Bool
MoveFwd
(
sal_Bool
bMakePage
,
sal_Bool
bPageBreak
,
sal_Bool
bMoveAlways
=
sal_False
);
virtual
sal_Bool
ShouldBwdMoved
(
SwLayoutFrm
*
pNewUpper
,
sal_Bool
bHead
,
sal_Bool
&
rReformat
)
=
0
;
virtual
sal_Bool
ShouldBwdMoved
(
SwLayoutFrm
*
pNewUpper
,
sal_Bool
bHead
,
sal_Bool
&
rReformat
)
=
0
;
sal_Bool
MoveBwd
(
sal_Bool
&
rbReformat
);
sal_Bool
MoveBwd
(
sal_Bool
&
rbReformat
);
...
...
sw/source/core/layout/calcmove.cxx
Dosyayı görüntüle @
e7c09647
...
@@ -1168,12 +1168,13 @@ void SwCntntFrm::MakeAll()
...
@@ -1168,12 +1168,13 @@ void SwCntntFrm::MakeAll()
//uebernimmt im DTor die Benachrichtigung
//uebernimmt im DTor die Benachrichtigung
SwCntntNotify
*
pNotify
=
new
SwCntntNotify
(
this
);
SwCntntNotify
*
pNotify
=
new
SwCntntNotify
(
this
);
sal_Bool
bMakePage
=
sal_True
;
//solange sal_True kann eine neue Seite
// as long as bMakePage is true, a new page can be created (exactly once)
//angelegt werden (genau einmal)
bool
bMakePage
=
true
;
sal_Bool
bMovedBwd
=
sal_False
;
//Wird sal_True wenn der Frame zurueckfliesst
// bMovedBwd gets set to true when the frame flows backwards
sal_Bool
bMovedFwd
=
sal_False
;
//solange sal_False kann der Frm zurueck-
bool
bMovedBwd
=
false
;
//fliessen (solange, bis er einmal
// as long as bMovedFwd is false, the Frm may flow backwards (until
//vorwaerts ge'moved wurde).
// it has been moved forward once)
bool
bMovedFwd
=
false
;
sal_Bool
bFormatted
=
sal_False
;
//Fuer die Witwen und Waisen Regelung
sal_Bool
bFormatted
=
sal_False
;
//Fuer die Witwen und Waisen Regelung
//wird der letzte CntntFrm einer Kette
//wird der letzte CntntFrm einer Kette
//u.U. zum Formatieren angeregt, dies
//u.U. zum Formatieren angeregt, dies
...
@@ -1250,7 +1251,7 @@ void SwCntntFrm::MakeAll()
...
@@ -1250,7 +1251,7 @@ void SwCntntFrm::MakeAll()
GetUpper
()
->
GetUpper
()
->
IsCellFrm
()
)
)
&&
GetUpper
()
->
GetUpper
()
->
IsCellFrm
()
)
)
&&
IsMoveable
()
)
IsMoveable
()
)
{
{
bMovedFwd
=
sal_T
rue
;
bMovedFwd
=
t
rue
;
MoveFwd
(
bMakePage
,
sal_False
);
MoveFwd
(
bMakePage
,
sal_False
);
}
}
}
}
...
@@ -1259,7 +1260,7 @@ void SwCntntFrm::MakeAll()
...
@@ -1259,7 +1260,7 @@ void SwCntntFrm::MakeAll()
//gleich verschoben werden.
//gleich verschoben werden.
if
(
lcl_Prev
(
this
)
&&
((
SwTxtFrm
*
)
this
)
->
IsFollow
()
&&
IsMoveable
()
)
if
(
lcl_Prev
(
this
)
&&
((
SwTxtFrm
*
)
this
)
->
IsFollow
()
&&
IsMoveable
()
)
{
{
bMovedFwd
=
sal_T
rue
;
bMovedFwd
=
t
rue
;
// OD 2004-03-02 #106629# - If follow frame is in table, it's master
// OD 2004-03-02 #106629# - If follow frame is in table, it's master
// will be the last in the current table cell. Thus, invalidate the
// will be the last in the current table cell. Thus, invalidate the
// printing area of the master,
// printing area of the master,
...
@@ -1286,7 +1287,7 @@ void SwCntntFrm::MakeAll()
...
@@ -1286,7 +1287,7 @@ void SwCntntFrm::MakeAll()
pFtnBossOfFtn
!=
pFtnBossOfRef
&&
pFtnBossOfFtn
!=
pFtnBossOfRef
&&
pFtnBossOfFtn
->
IsBefore
(
pFtnBossOfRef
)
)
pFtnBossOfFtn
->
IsBefore
(
pFtnBossOfRef
)
)
{
{
bMovedFwd
=
sal_T
rue
;
bMovedFwd
=
t
rue
;
MoveFwd
(
bMakePage
,
sal_False
);
MoveFwd
(
bMakePage
,
sal_False
);
}
}
}
}
...
@@ -1305,7 +1306,7 @@ void SwCntntFrm::MakeAll()
...
@@ -1305,7 +1306,7 @@ void SwCntntFrm::MakeAll()
if
(
CheckMoveFwd
(
bMakePage
,
bKeep
,
bMovedBwd
)
)
if
(
CheckMoveFwd
(
bMakePage
,
bKeep
,
bMovedBwd
)
)
{
{
SWREFRESHFN
(
this
)
SWREFRESHFN
(
this
)
bMovedFwd
=
sal_T
rue
;
bMovedFwd
=
t
rue
;
if
(
bMovedBwd
)
if
(
bMovedBwd
)
{
{
//Beim zurueckfliessen wurde der Upper angeregt sich
//Beim zurueckfliessen wurde der Upper angeregt sich
...
@@ -1434,10 +1435,10 @@ void SwCntntFrm::MakeAll()
...
@@ -1434,10 +1435,10 @@ void SwCntntFrm::MakeAll()
#endif
#endif
}
}
//
Wenn ich der erste einer Kette bin koennte ich mal sehen ob
//
If this is the first one in a chain, check if this can flow
//
ich zurueckfliessen kann (wenn ich mich ueberhaupt bewegen so
ll).
//
backwards (if this is movable at a
ll).
//
Damit es keine Oszillation gibt, darf ich nicht gerade vorwaerts
//
To prevent oscillations/loops, check that this has not just
//
geflossen sein
.
//
flowed forwards
.
sal_Bool
bDummy
;
sal_Bool
bDummy
;
if
(
!
lcl_Prev
(
this
)
&&
if
(
!
lcl_Prev
(
this
)
&&
!
bMovedFwd
&&
!
bMovedFwd
&&
...
@@ -1446,13 +1447,13 @@ void SwCntntFrm::MakeAll()
...
@@ -1446,13 +1447,13 @@ void SwCntntFrm::MakeAll()
&&
MoveBwd
(
bDummy
)
)
&&
MoveBwd
(
bDummy
)
)
{
{
SWREFRESHFN
(
this
)
SWREFRESHFN
(
this
)
bMovedBwd
=
sal_T
rue
;
bMovedBwd
=
t
rue
;
bFormatted
=
sal_False
;
bFormatted
=
sal_False
;
if
(
bKeep
&&
bMoveable
)
if
(
bKeep
&&
bMoveable
)
{
{
if
(
CheckMoveFwd
(
bMakePage
,
sal_False
,
bMovedBwd
)
)
if
(
CheckMoveFwd
(
bMakePage
,
sal_False
,
bMovedBwd
)
)
{
{
bMovedFwd
=
sal_T
rue
;
bMovedFwd
=
t
rue
;
bMoveable
=
IsMoveable
();
bMoveable
=
IsMoveable
();
SWREFRESHFN
(
this
)
SWREFRESHFN
(
this
)
}
}
...
@@ -1593,7 +1594,7 @@ void SwCntntFrm::MakeAll()
...
@@ -1593,7 +1594,7 @@ void SwCntntFrm::MakeAll()
{
{
if
(
bMovedFwd
)
if
(
bMovedFwd
)
pNotify
->
SetInvaKeep
();
pNotify
->
SetInvaKeep
();
bMovedFwd
=
sal_F
alse
;
bMovedFwd
=
f
alse
;
}
}
}
}
}
}
...
@@ -1696,13 +1697,15 @@ void SwCntntFrm::MakeAll()
...
@@ -1696,13 +1697,15 @@ void SwCntntFrm::MakeAll()
pOldUp
->
GetUpper
()
->
GetUpper
()
->
IsSctFrm
()
&&
pOldUp
->
GetUpper
()
->
GetUpper
()
->
IsSctFrm
()
&&
(
pPre
||
pOldUp
->
GetUpper
()
->
GetPrev
()
)
&&
(
pPre
||
pOldUp
->
GetUpper
()
->
GetPrev
()
)
&&
((
SwSectionFrm
*
)
pOldUp
->
GetUpper
()
->
GetUpper
())
->
MoveAllowed
(
this
)
)
((
SwSectionFrm
*
)
pOldUp
->
GetUpper
()
->
GetUpper
())
->
MoveAllowed
(
this
)
)
bMovedFwd
=
sal_False
;
{
bMovedFwd
=
false
;
}
const
sal_Bool
bCheckForGrownBody
=
pOldUp
->
IsBodyFrm
();
const
sal_Bool
bCheckForGrownBody
=
pOldUp
->
IsBodyFrm
();
const
long
nOldBodyHeight
=
(
pOldUp
->
Frm
().
*
fnRect
->
fnGetHeight
)();
const
long
nOldBodyHeight
=
(
pOldUp
->
Frm
().
*
fnRect
->
fnGetHeight
)();
if
(
!
bMovedFwd
&&
!
MoveFwd
(
bMakePage
,
sal_False
)
)
if
(
!
bMovedFwd
&&
!
MoveFwd
(
bMakePage
,
sal_False
)
)
bMakePage
=
sal_F
alse
;
bMakePage
=
f
alse
;
SWREFRESHFN
(
this
)
SWREFRESHFN
(
this
)
// If MoveFwd moves the paragraph to the next page, a following
// If MoveFwd moves the paragraph to the next page, a following
...
@@ -1713,9 +1716,13 @@ void SwCntntFrm::MakeAll()
...
@@ -1713,9 +1716,13 @@ void SwCntntFrm::MakeAll()
// Therefore we only check for growing body frames.
// Therefore we only check for growing body frames.
if
(
bCheckForGrownBody
&&
!
bMovedBwd
&&
pOldUp
!=
GetUpper
()
&&
if
(
bCheckForGrownBody
&&
!
bMovedBwd
&&
pOldUp
!=
GetUpper
()
&&
(
pOldUp
->
Frm
().
*
fnRect
->
fnGetHeight
)()
>
nOldBodyHeight
)
(
pOldUp
->
Frm
().
*
fnRect
->
fnGetHeight
)()
>
nOldBodyHeight
)
bMovedFwd
=
sal_False
;
{
bMovedFwd
=
false
;
}
else
else
bMovedFwd
=
sal_True
;
{
bMovedFwd
=
true
;
}
bFormatted
=
sal_False
;
bFormatted
=
sal_False
;
if
(
bMoveOrFit
&&
GetUpper
()
==
pOldUp
)
if
(
bMoveOrFit
&&
GetUpper
()
==
pOldUp
)
...
...
sw/source/core/layout/flowfrm.cxx
Dosyayı görüntüle @
e7c09647
...
@@ -1779,7 +1779,7 @@ SwTwips SwFlowFrm::CalcAddLowerSpaceAsLastInTableCell(
...
@@ -1779,7 +1779,7 @@ SwTwips SwFlowFrm::CalcAddLowerSpaceAsLastInTableCell(
|*************************************************************************/
|*************************************************************************/
sal_Bool
SwFlowFrm
::
CheckMoveFwd
(
sal_Bool
&
rbMakePage
,
sal_Bool
bKeep
,
sal_Bool
)
sal_Bool
SwFlowFrm
::
CheckMoveFwd
(
bool
&
rbMakePage
,
sal_Bool
bKeep
,
sal_Bool
)
{
{
const
SwFrm
*
pNxt
=
rThis
.
GetIndNext
();
const
SwFrm
*
pNxt
=
rThis
.
GetIndNext
();
...
@@ -1829,7 +1829,7 @@ sal_Bool SwFlowFrm::CheckMoveFwd( sal_Bool &rbMakePage, sal_Bool bKeep, sal_Bool
...
@@ -1829,7 +1829,7 @@ sal_Bool SwFlowFrm::CheckMoveFwd( sal_Bool &rbMakePage, sal_Bool bKeep, sal_Bool
{
{
bMovedFwd
=
sal_True
;
bMovedFwd
=
sal_True
;
if
(
!
MoveFwd
(
rbMakePage
,
sal_False
)
)
if
(
!
MoveFwd
(
rbMakePage
,
sal_False
)
)
rbMakePage
=
sal_F
alse
;
rbMakePage
=
f
alse
;
}
}
else
else
{
{
...
@@ -1837,7 +1837,7 @@ sal_Bool SwFlowFrm::CheckMoveFwd( sal_Bool &rbMakePage, sal_Bool bKeep, sal_Bool
...
@@ -1837,7 +1837,7 @@ sal_Bool SwFlowFrm::CheckMoveFwd( sal_Bool &rbMakePage, sal_Bool bKeep, sal_Bool
{
{
while
(
MoveFwd
(
rbMakePage
,
sal_True
)
)
while
(
MoveFwd
(
rbMakePage
,
sal_True
)
)
/* do nothing */
;
/* do nothing */
;
rbMakePage
=
sal_F
alse
;
rbMakePage
=
f
alse
;
bMovedFwd
=
sal_True
;
bMovedFwd
=
sal_True
;
}
}
else
if
(
IsColBreak
(
sal_False
)
)
else
if
(
IsColBreak
(
sal_False
)
)
...
@@ -1856,7 +1856,7 @@ sal_Bool SwFlowFrm::CheckMoveFwd( sal_Bool &rbMakePage, sal_Bool bKeep, sal_Bool
...
@@ -1856,7 +1856,7 @@ sal_Bool SwFlowFrm::CheckMoveFwd( sal_Bool &rbMakePage, sal_Bool bKeep, sal_Bool
break
;
break
;
}
while
(
IsColBreak
(
sal_False
)
);
}
while
(
IsColBreak
(
sal_False
)
);
if
(
pPage
!=
rThis
.
FindPageFrm
()
)
if
(
pPage
!=
rThis
.
FindPageFrm
()
)
rbMakePage
=
sal_F
alse
;
rbMakePage
=
f
alse
;
}
}
}
}
}
}
...
...
sw/source/core/layout/tabfrm.cxx
Dosyayı görüntüle @
e7c09647
...
@@ -1859,14 +1859,15 @@ void SwTabFrm::MakeAll()
...
@@ -1859,14 +1859,15 @@ void SwTabFrm::MakeAll()
pLayout
->
GetBrowseWidthByTabFrm
(
*
this
),
sal_False
);
pLayout
->
GetBrowseWidthByTabFrm
(
*
this
),
sal_False
);
}
}
// as long as bMakePage is true, a new page can be created (exactly once)
sal_Bool
bMakePage
=
sal_True
;
//solange sal_True kann eine neue Seite
bool
bMakePage
=
true
;
//angelegt werden (genau einmal)
// bMovedBwd gets set to true when the frame flows backwards
sal_Bool
bMovedBwd
=
sal_False
;
//Wird sal_True wenn der Frame zurueckfliesst
bool
bMovedBwd
=
false
;
sal_Bool
bMovedFwd
=
sal_False
;
//solange sal_False kann der Frm zurueck-
// as long as bMovedFwd is false, the Frm may flow backwards (until
//fliessen (solange, bis er einmal
// it has been moved forward once)
//vorwaerts ge'moved wurde).
bool
bMovedFwd
=
false
;
sal_Bool
bSplit
=
sal_False
;
//Wird sal_True wenn der Frm gesplittet wurde.
// gets set to true when the Frm is split
bool
bSplit
=
false
;
const
sal_Bool
bFtnsInDoc
=
0
!=
GetFmt
()
->
GetDoc
()
->
GetFtnIdxs
().
Count
();
const
sal_Bool
bFtnsInDoc
=
0
!=
GetFmt
()
->
GetDoc
()
->
GetFtnIdxs
().
Count
();
sal_Bool
bMoveable
;
sal_Bool
bMoveable
;
const
sal_Bool
bFly
=
IsInFly
();
const
sal_Bool
bFly
=
IsInFly
();
...
@@ -1937,15 +1938,15 @@ void SwTabFrm::MakeAll()
...
@@ -1937,15 +1938,15 @@ void SwTabFrm::MakeAll()
}
}
}
}
//
Einen Frischling moven wir gleich schon einmal vorwaerts...
//
a new one is moved forwards immediately
if
(
!
Frm
().
Top
()
&&
IsFollow
()
)
if
(
!
Frm
().
Top
()
&&
IsFollow
()
)
{
{
SwFrm
*
pPre
=
GetPrev
();
SwFrm
*
pPre
=
GetPrev
();
if
(
pPre
&&
pPre
->
IsTabFrm
()
&&
((
SwTabFrm
*
)
pPre
)
->
GetFollow
()
==
this
)
if
(
pPre
&&
pPre
->
IsTabFrm
()
&&
((
SwTabFrm
*
)
pPre
)
->
GetFollow
()
==
this
)
{
{
if
(
!
MoveFwd
(
bMakePage
,
sal_False
)
)
if
(
!
MoveFwd
(
bMakePage
,
sal_False
)
)
bMakePage
=
sal_F
alse
;
bMakePage
=
f
alse
;
bMovedFwd
=
sal_T
rue
;
bMovedFwd
=
t
rue
;
}
}
}
}
...
@@ -1956,12 +1957,12 @@ void SwTabFrm::MakeAll()
...
@@ -1956,12 +1957,12 @@ void SwTabFrm::MakeAll()
if
(
sal_True
==
(
bMoveable
=
IsMoveable
())
)
if
(
sal_True
==
(
bMoveable
=
IsMoveable
())
)
if
(
CheckMoveFwd
(
bMakePage
,
bKeep
&&
KEEPTAB
,
bMovedBwd
)
)
if
(
CheckMoveFwd
(
bMakePage
,
bKeep
&&
KEEPTAB
,
bMovedBwd
)
)
{
{
bMovedFwd
=
sal_T
rue
;
bMovedFwd
=
t
rue
;
bCalcLowers
=
sal_True
;
bCalcLowers
=
sal_True
;
// #i99267#
// #i99267#
// reset <bSplit> after forward move to assure that follows
// reset <bSplit> after forward move to assure that follows
// can be joined, if further space is available.
// can be joined, if further space is available.
bSplit
=
sal_F
alse
;
bSplit
=
f
alse
;
}
}
Point
aOldPos
(
(
Frm
().
*
fnRect
->
fnGetPos
)()
);
Point
aOldPos
(
(
Frm
().
*
fnRect
->
fnGetPos
)()
);
...
@@ -1992,7 +1993,7 @@ void SwTabFrm::MakeAll()
...
@@ -1992,7 +1993,7 @@ void SwTabFrm::MakeAll()
// #i99267#
// #i99267#
// reset <bSplit> after forward move to assure that follows
// reset <bSplit> after forward move to assure that follows
// can be joined, if further space is available.
// can be joined, if further space is available.
bSplit
=
sal_F
alse
;
bSplit
=
f
alse
;
}
}
}
}
...
@@ -2029,18 +2030,17 @@ void SwTabFrm::MakeAll()
...
@@ -2029,18 +2030,17 @@ void SwTabFrm::MakeAll()
aNotify
.
SetLowersComplete
(
sal_False
);
aNotify
.
SetLowersComplete
(
sal_False
);
}
}
//
Wenn ich der erste einer Kette bin koennte ich mal sehen ob
//
If this is the first one in a chain, check if this can flow
//
ich zurueckfliessen kann (wenn ich mich ueberhaupt bewegen so
ll).
//
backwards (if this is movable at a
ll).
//
Damit es keine Oszillation gibt, darf ich nicht gerade vorwaerts
//
To prevent oscillations/loops, check that this has not just
//
geflosssen sein
.
//
flowed forwards
.
if
(
!
bMovedFwd
&&
(
bMoveable
||
bFly
)
&&
lcl_NoPrev
(
*
this
)
)
if
(
!
bMovedFwd
&&
(
bMoveable
||
bFly
)
&&
lcl_NoPrev
(
*
this
)
)
{
{
//Bei Follows muss der Master benachrichtigt
// for Follows notify Master.
//werden. Der Follow muss nur dann Moven, wenn er leere Blaetter
// only move Follow if it has to skip empty pages.
//ueberspringen muss.
if
(
IsFollow
()
)
if
(
IsFollow
()
)
{
{
//
Nur wenn die Hoehe der ersten Zeile kleiner geworder ist
.
//
Only if the height of the first line got smaller
.
SwFrm
*
pFrm
=
GetFirstNonHeadlineRow
();
SwFrm
*
pFrm
=
GetFirstNonHeadlineRow
();
if
(
pFrm
&&
n1StLineHeight
>
(
pFrm
->
Frm
().
*
fnRect
->
fnGetHeight
)()
)
if
(
pFrm
&&
n1StLineHeight
>
(
pFrm
->
Frm
().
*
fnRect
->
fnGetHeight
)()
)
{
{
...
@@ -2055,7 +2055,7 @@ void SwTabFrm::MakeAll()
...
@@ -2055,7 +2055,7 @@ void SwTabFrm::MakeAll()
if
(
MoveBwd
(
bReformat
)
)
if
(
MoveBwd
(
bReformat
)
)
{
{
SWREFRESHFN
(
this
)
SWREFRESHFN
(
this
)
bMovedBwd
=
sal_T
rue
;
bMovedBwd
=
t
rue
;
aNotify
.
SetLowersComplete
(
sal_False
);
aNotify
.
SetLowersComplete
(
sal_False
);
if
(
bFtnsInDoc
)
if
(
bFtnsInDoc
)
MoveLowerFtns
(
0
,
pOldBoss
,
0
,
sal_True
);
MoveLowerFtns
(
0
,
pOldBoss
,
0
,
sal_True
);
...
@@ -2425,7 +2425,7 @@ void SwTabFrm::MakeAll()
...
@@ -2425,7 +2425,7 @@ void SwTabFrm::MakeAll()
if
(
(
*
fnRect
->
fnYDiff
)(
nDeadLine
,
nBreakLine
)
>=
0
||
!
pIndPrev
)
if
(
(
*
fnRect
->
fnYDiff
)(
nDeadLine
,
nBreakLine
)
>=
0
||
!
pIndPrev
)
{
{
aNotify
.
SetLowersComplete
(
sal_False
);
aNotify
.
SetLowersComplete
(
sal_False
);
bSplit
=
sal_T
rue
;
bSplit
=
t
rue
;
//
//
// An existing follow flow line has to be removed.
// An existing follow flow line has to be removed.
...
@@ -2551,14 +2551,16 @@ void SwTabFrm::MakeAll()
...
@@ -2551,14 +2551,16 @@ void SwTabFrm::MakeAll()
GetUpper
()
->
GetUpper
()
->
GetUpper
()
->
IsSctFrm
()
&&
GetUpper
()
->
GetUpper
()
->
GetUpper
()
->
IsSctFrm
()
&&
(
GetUpper
()
->
GetUpper
()
->
GetPrev
()
||
GetIndPrev
()
)
&&
(
GetUpper
()
->
GetUpper
()
->
GetPrev
()
||
GetIndPrev
()
)
&&
((
SwSectionFrm
*
)
GetUpper
()
->
GetUpper
()
->
GetUpper
())
->
MoveAllowed
(
this
)
)
((
SwSectionFrm
*
)
GetUpper
()
->
GetUpper
()
->
GetUpper
())
->
MoveAllowed
(
this
)
)
bMovedFwd
=
sal_False
;
{
bMovedFwd
=
false
;
}
// #i29771# Reset bTryToSplit flag on change of upper
// #i29771# Reset bTryToSplit flag on change of upper
const
SwFrm
*
pOldUpper
=
GetUpper
();
const
SwFrm
*
pOldUpper
=
GetUpper
();
//Mal sehen ob ich irgenwo Platz finde...
//Mal sehen ob ich irgenwo Platz finde...
if
(
!
bMovedFwd
&&
!
MoveFwd
(
bMakePage
,
sal_False
)
)
if
(
!
bMovedFwd
&&
!
MoveFwd
(
bMakePage
,
sal_False
)
)
bMakePage
=
sal_F
alse
;
bMakePage
=
f
alse
;
// #i29771# Reset bSplitError flag on change of upper
// #i29771# Reset bSplitError flag on change of upper
if
(
GetUpper
()
!=
pOldUpper
)
if
(
GetUpper
()
!=
pOldUpper
)
...
@@ -2568,7 +2570,8 @@ void SwTabFrm::MakeAll()
...
@@ -2568,7 +2570,8 @@ void SwTabFrm::MakeAll()
}
}
SWREFRESHFN
(
this
)
SWREFRESHFN
(
this
)
bMovedFwd
=
bCalcLowers
=
sal_True
;
bCalcLowers
=
sal_True
;
bMovedFwd
=
true
;
aNotify
.
SetLowersComplete
(
sal_False
);
aNotify
.
SetLowersComplete
(
sal_False
);
if
(
IsFollow
()
)
if
(
IsFollow
()
)
{
//Um Oszillationen zu vermeiden sollte kein ungueltiger Master
{
//Um Oszillationen zu vermeiden sollte kein ungueltiger Master
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment