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
fc93c17a
Kaydet (Commit)
fc93c17a
authored
Ara 18, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: prefix SwTabFrm members
Change-Id: If2de38d23c5753e703517b5ef82d0f00070c2f34
üst
8599b29b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
43 deletions
+43
-43
tabfrm.hxx
sw/source/core/inc/tabfrm.hxx
+40
-40
fly.cxx
sw/source/core/layout/fly.cxx
+3
-3
tabfrm.cxx
sw/source/core/layout/tabfrm.cxx
+0
-0
No files found.
sw/source/core/inc/tabfrm.hxx
Dosyayı görüntüle @
fc93c17a
...
...
@@ -36,43 +36,43 @@ class SwTabFrm: public SwLayoutFrm, public SwFlowFrm
using
SwFrm
::
GetLeaf
;
SwLayoutFrm
*
GetLeaf
(
MakePageType
eMakePage
,
bool
bFwd
);
SwTable
*
pTable
;
SwTable
*
m_
pTable
;
bool
bComplete
:
1
;
/// Set entries for Repaint without needing to
bool
m_bComplete
:
1
;
/// Set entries for Repaint without needing to
/// set the base class' CompletePaint
/// With that we would want to avoid unnecessary
/// table repaints
bool
bCalcLowers
:
1
;
/// For stability of the content in MakeAll
bool
bLowersFormatted
:
1
;
/// Communication between MakeAll and Layact
bool
bLockBackMove
:
1
;
/// The Master took care of the BackMove test
bool
bResizeHTMLTable
:
1
;
/// Call the Resize of the HTMLTableLayout in the MakeAll
bool
m_bCalcLowers
:
1
;
/// For stability of the content in MakeAll
bool
m_bLowersFormatted
:
1
;
/// Communication between MakeAll and Layact
bool
m_bLockBackMove
:
1
;
/// The Master took care of the BackMove test
bool
m_bResizeHTMLTable
:
1
;
/// Call the Resize of the HTMLTableLayout in the MakeAll
/// This is an optimization, so that we don't have to call
/// it in CntntFrm::Grow; there it might be called for
/// _every_ Cell
bool
bONECalcLowers
:
1
;
/// Primarily for the StarONE SS
bool
m_bONECalcLowers
:
1
;
/// Primarily for the StarONE SS
/// The Cntnts are formatted via Calc() on MakeAll in any
/// case. There are no further invalidations and that path can
/// hardly give any guarantees
bool
bHasFollowFlowLine
:
1
;
/// Means that the first line in the follow
bool
m_
bHasFollowFlowLine
:
1
;
/// Means that the first line in the follow
/// is indented to contain content from a broken
/// cell
bool
bIsRebuildLastLine
:
1
;
/// Means that currently the last line of the
bool
m_
bIsRebuildLastLine
:
1
;
/// Means that currently the last line of the
/// TabFrame is rebuilt. In this case we do not
// want any notification to the master table
bool
bRestrictTableGrowth
:
1
;
// Usually, the table may grow infinitely,
bool
m_bRestrictTableGrowth
:
1
;
// Usually, the table may grow infinitely,
// as the table can be split in SwTabFrm::MakeAll
// In MakeAll, this flag is set to indicate that
// the table may only grow inside its upper. This
// is necessary, in order to let the text flow into
// the FollowFlowLine
bool
bRemoveFollowFlowLinePending
:
1
;
bool
m_
bRemoveFollowFlowLinePending
:
1
;
// #i26945#
bool
bConsiderObjsForMinCellHeight
:
1
;
// Usually, the floating screen objects
bool
m_
bConsiderObjsForMinCellHeight
:
1
;
// Usually, the floating screen objects
// are considered during the calculation
// for the minimal cell height.
// For the splitting table rows algorithm
...
...
@@ -81,10 +81,10 @@ class SwTabFrm: public SwLayoutFrm, public SwFlowFrm
// of the re-calculation of the
// last table row.
// #i26945#
bool
bObjsDoesFit
:
1
;
// For splitting table rows algorithm, this boolean
bool
m_
bObjsDoesFit
:
1
;
// For splitting table rows algorithm, this boolean
// indicates, if the floating screen objects fits
bool
mbInRecalcLowerRow
:
1
;
bool
m
_
bInRecalcLowerRow
:
1
;
/**
* Split() splits the Frm at the specified position: a Follow is
...
...
@@ -137,63 +137,63 @@ public:
SwCntntFrm
*
FindLastCntnt
();
inline
const
SwCntntFrm
*
FindLastCntnt
()
const
;
const
SwTable
*
GetTable
()
const
{
return
pTable
;
}
SwTable
*
GetTable
()
{
return
pTable
;
}
const
SwTable
*
GetTable
()
const
{
return
m_
pTable
;
}
SwTable
*
GetTable
()
{
return
m_
pTable
;
}
bool
IsComplete
()
{
return
bComplete
;
}
void
SetComplete
()
{
bComplete
=
true
;
}
void
ResetComplete
()
{
bComplete
=
false
;
}
bool
IsComplete
()
{
return
m_
bComplete
;
}
void
SetComplete
()
{
m_
bComplete
=
true
;
}
void
ResetComplete
()
{
m_
bComplete
=
false
;
}
bool
IsLowersFormatted
()
const
{
return
bLowersFormatted
;
}
void
SetLowersFormatted
(
bool
b
)
{
bLowersFormatted
=
b
;
}
bool
IsLowersFormatted
()
const
{
return
m_
bLowersFormatted
;
}
void
SetLowersFormatted
(
bool
b
)
{
m_
bLowersFormatted
=
b
;
}
void
SetCalcLowers
()
{
bCalcLowers
=
true
;
}
// use rarely
void
SetResizeHTMLTable
()
{
bResizeHTMLTable
=
true
;
}
// same
void
SetONECalcLowers
()
{
bONECalcLowers
=
true
;
}
void
SetCalcLowers
()
{
m_
bCalcLowers
=
true
;
}
// use rarely
void
SetResizeHTMLTable
()
{
m_
bResizeHTMLTable
=
true
;
}
// same
void
SetONECalcLowers
()
{
m_
bONECalcLowers
=
true
;
}
// Start: New stuff for breaking table rows
bool
HasFollowFlowLine
()
const
{
return
bHasFollowFlowLine
;
}
void
SetFollowFlowLine
(
bool
bNew
)
{
bHasFollowFlowLine
=
bNew
;
}
bool
HasFollowFlowLine
()
const
{
return
m_
bHasFollowFlowLine
;
}
void
SetFollowFlowLine
(
bool
bNew
)
{
m_
bHasFollowFlowLine
=
bNew
;
}
//return the SwTabFrm (if any) that this SwTabFrm is a follow flow line for
SwTabFrm
*
GetFollowFlowLineFor
();
bool
IsRebuildLastLine
()
const
{
return
bIsRebuildLastLine
;
}
void
SetRebuildLastLine
(
bool
bNew
)
{
bIsRebuildLastLine
=
bNew
;
}
bool
IsRebuildLastLine
()
const
{
return
m_
bIsRebuildLastLine
;
}
void
SetRebuildLastLine
(
bool
bNew
)
{
m_
bIsRebuildLastLine
=
bNew
;
}
bool
IsRestrictTableGrowth
()
const
{
return
bRestrictTableGrowth
;
}
void
SetRestrictTableGrowth
(
bool
bNew
)
{
bRestrictTableGrowth
=
bNew
;
}
bool
IsRestrictTableGrowth
()
const
{
return
m_
bRestrictTableGrowth
;
}
void
SetRestrictTableGrowth
(
bool
bNew
)
{
m_
bRestrictTableGrowth
=
bNew
;
}
bool
IsRemoveFollowFlowLinePending
()
const
{
return
bRemoveFollowFlowLinePending
;
}
void
SetRemoveFollowFlowLinePending
(
bool
bNew
)
{
bRemoveFollowFlowLinePending
=
bNew
;
}
bool
IsRemoveFollowFlowLinePending
()
const
{
return
m_
bRemoveFollowFlowLinePending
;
}
void
SetRemoveFollowFlowLinePending
(
bool
bNew
)
{
m_
bRemoveFollowFlowLinePending
=
bNew
;
}
bool
IsInRecalcLowerRow
()
const
{
return
mbInRecalcLowerRow
;
return
m
_
bInRecalcLowerRow
;
}
void
SetInRecalcLowerRow
(
bool
bNew
)
{
mbInRecalcLowerRow
=
bNew
;
m
_
bInRecalcLowerRow
=
bNew
;
}
// #i26945#
bool
IsConsiderObjsForMinCellHeight
()
const
{
return
bConsiderObjsForMinCellHeight
;
return
m_
bConsiderObjsForMinCellHeight
;
}
void
SetConsiderObjsForMinCellHeight
(
bool
_bNewConsiderObjsForMinCellHeight
)
void
SetConsiderObjsForMinCellHeight
(
bool
const
bConsiderObjsForMinCellHeight
)
{
bConsiderObjsForMinCellHeight
=
_bNew
ConsiderObjsForMinCellHeight
;
m_bConsiderObjsForMinCellHeight
=
b
ConsiderObjsForMinCellHeight
;
}
// #i26945#
bool
DoesObjsFit
()
const
{
return
bObjsDoesFit
;
return
m_
bObjsDoesFit
;
}
void
SetDoesObjsFit
(
bool
_bNewObjsDoesFit
)
void
SetDoesObjsFit
(
bool
const
bObjsDoesFit
)
{
bObjsDoesFit
=
_bNew
ObjsDoesFit
;
m_bObjsDoesFit
=
b
ObjsDoesFit
;
}
bool
RemoveFollowFlowLine
();
...
...
sw/source/core/layout/fly.cxx
Dosyayı görüntüle @
fc93c17a
...
...
@@ -1439,14 +1439,14 @@ void CalcCntnt( SwLayoutFrm *pLay,
if
(
pFrm
->
IsTabFrm
()
)
{
static_cast
<
SwTabFrm
*>
(
pFrm
)
->
bCalcLowers
=
true
;
static_cast
<
SwTabFrm
*>
(
pFrm
)
->
m_
bCalcLowers
=
true
;
// OD 26.08.2003 #i18103# - lock move backward of follow table,
// if no section content is formatted or follow table belongs
// to the section, which content is formatted.
if
(
static_cast
<
SwTabFrm
*>
(
pFrm
)
->
IsFollow
()
&&
(
!
pSect
||
pSect
==
pFrm
->
FindSctFrm
()
)
)
{
static_cast
<
SwTabFrm
*>
(
pFrm
)
->
bLockBackMove
=
true
;
static_cast
<
SwTabFrm
*>
(
pFrm
)
->
m_
bLockBackMove
=
true
;
}
}
...
...
@@ -1613,7 +1613,7 @@ void CalcCntnt( SwLayoutFrm *pLay,
if
(
pFrm
->
IsTabFrm
()
)
{
if
(
static_cast
<
SwTabFrm
*>
(
pFrm
)
->
IsFollow
()
)
static_cast
<
SwTabFrm
*>
(
pFrm
)
->
bLockBackMove
=
false
;
static_cast
<
SwTabFrm
*>
(
pFrm
)
->
m_
bLockBackMove
=
false
;
}
pFrm
=
bPrevInvalid
?
pTmpPrev
:
pFrm
->
FindNext
();
...
...
sw/source/core/layout/tabfrm.cxx
Dosyayı görüntüle @
fc93c17a
This diff is collapsed.
Click to expand it.
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