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
7038c15e
Kaydet (Commit)
7038c15e
authored
Kas 13, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: prefix members of SwParaPortion
Change-Id: Id7d181c46b8504dbd8c82dd89009ef74015cc396
üst
5b1e22e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
61 deletions
+61
-61
porlay.cxx
sw/source/core/text/porlay.cxx
+8
-8
porlay.hxx
sw/source/core/text/porlay.hxx
+53
-53
No files found.
sw/source/core/text/porlay.cxx
Dosyayı görüntüle @
7038c15e
...
@@ -1955,16 +1955,16 @@ SwScriptInfo* SwScriptInfo::GetScriptInfo( const SwTextNode& rTNd,
...
@@ -1955,16 +1955,16 @@ SwScriptInfo* SwScriptInfo::GetScriptInfo( const SwTextNode& rTNd,
}
}
SwParaPortion
::
SwParaPortion
()
SwParaPortion
::
SwParaPortion
()
:
bFlag00
(
false
)
:
m_
bFlag00
(
false
)
,
bFlag11
(
false
)
,
m_
bFlag11
(
false
)
,
bFlag12
(
false
)
,
m_
bFlag12
(
false
)
,
bFlag13
(
false
)
,
m_
bFlag13
(
false
)
,
bFlag14
(
false
)
,
m_
bFlag14
(
false
)
,
bFlag15
(
false
)
,
m_
bFlag15
(
false
)
,
bFlag16
(
false
)
,
m_
bFlag16
(
false
)
{
{
FormatReset
();
FormatReset
();
bFlys
=
bFootnoteNum
=
bMargin
=
false
;
m_bFlys
=
m_bFootnoteNum
=
m_
bMargin
=
false
;
SetWhichPor
(
POR_PARA
);
SetWhichPor
(
POR_PARA
);
}
}
...
...
sw/source/core/text/porlay.hxx
Dosyayı görüntüle @
7038c15e
...
@@ -230,33 +230,33 @@ public:
...
@@ -230,33 +230,33 @@ public:
class
SwParaPortion
:
public
SwLineLayout
class
SwParaPortion
:
public
SwLineLayout
{
{
// Area that needs repainting
// Area that needs repainting
SwRepaint
aRepaint
;
SwRepaint
m_
aRepaint
;
// Area that needs reformatting
// Area that needs reformatting
SwCharRange
aReformat
;
SwCharRange
m_
aReformat
;
SwScriptInfo
aScriptInfo
;
SwScriptInfo
m_
aScriptInfo
;
// Fraction aZoom;
// Fraction aZoom;
long
nDelta
;
long
m_
nDelta
;
// If a SwTextFrm is locked, no changes occur to the formatting data (under
// If a SwTextFrm is locked, no changes occur to the formatting data (under
// pLine) (compare with Orphans)
// pLine) (compare with Orphans)
bool
bFlys
:
1
;
// Overlapping Flys?
bool
m_
bFlys
:
1
;
// Overlapping Flys?
bool
bPrep
:
1
;
// PREP_*
bool
m_
bPrep
:
1
;
// PREP_*
bool
bPrepWidows
:
1
;
// PREP_WIDOWS
bool
m_
bPrepWidows
:
1
;
// PREP_WIDOWS
bool
bPrepAdjust
:
1
;
// PREP_ADJUST_FRM
bool
m_
bPrepAdjust
:
1
;
// PREP_ADJUST_FRM
bool
bPrepMustFit
:
1
;
// PREP_MUST_FIT
bool
m_
bPrepMustFit
:
1
;
// PREP_MUST_FIT
bool
bFollowField
:
1
;
// We have a bit of field left for the Follow
bool
m_
bFollowField
:
1
;
// We have a bit of field left for the Follow
bool
bFixLineHeight
:
1
;
// Fixed line height
bool
m_
bFixLineHeight
:
1
;
// Fixed line height
bool
bFootnoteNum
:
1
;
// contains a footnotenumberportion
bool
m_
bFootnoteNum
:
1
;
// contains a footnotenumberportion
bool
bMargin
:
1
;
// contains a hanging punctuation in the margin
bool
m_
bMargin
:
1
;
// contains a hanging punctuation in the margin
bool
bFlag00
:
1
;
bool
m_
bFlag00
:
1
;
bool
bFlag11
:
1
;
bool
m_
bFlag11
:
1
;
bool
bFlag12
:
1
;
bool
m_
bFlag12
:
1
;
bool
bFlag13
:
1
;
bool
m_
bFlag13
:
1
;
bool
bFlag14
:
1
;
bool
m_
bFlag14
:
1
;
bool
bFlag15
:
1
;
bool
m_
bFlag15
:
1
;
bool
bFlag16
:
1
;
bool
m_
bFlag16
:
1
;
public
:
public
:
SwParaPortion
();
SwParaPortion
();
...
@@ -269,14 +269,14 @@ public:
...
@@ -269,14 +269,14 @@ public:
inline
void
ResetPreps
();
inline
void
ResetPreps
();
// Get/Set methods
// Get/Set methods
inline
SwRepaint
&
GetRepaint
()
{
return
aRepaint
;
}
inline
SwRepaint
&
GetRepaint
()
{
return
m_
aRepaint
;
}
inline
const
SwRepaint
&
GetRepaint
()
const
{
return
aRepaint
;
}
inline
const
SwRepaint
&
GetRepaint
()
const
{
return
m_
aRepaint
;
}
inline
SwCharRange
&
GetReformat
()
{
return
aReformat
;
}
inline
SwCharRange
&
GetReformat
()
{
return
m_
aReformat
;
}
inline
const
SwCharRange
&
GetReformat
()
const
{
return
aReformat
;
}
inline
const
SwCharRange
&
GetReformat
()
const
{
return
m_
aReformat
;
}
inline
long
&
GetDelta
()
{
return
nDelta
;
}
inline
long
&
GetDelta
()
{
return
m_
nDelta
;
}
inline
const
long
&
GetDelta
()
const
{
return
nDelta
;
}
inline
const
long
&
GetDelta
()
const
{
return
m_
nDelta
;
}
inline
SwScriptInfo
&
GetScriptInfo
()
{
return
aScriptInfo
;
}
inline
SwScriptInfo
&
GetScriptInfo
()
{
return
m_
aScriptInfo
;
}
inline
const
SwScriptInfo
&
GetScriptInfo
()
const
{
return
aScriptInfo
;
}
inline
const
SwScriptInfo
&
GetScriptInfo
()
const
{
return
m_
aScriptInfo
;
}
// For SwTextFrm::Format: returns the paragraph's current length
// For SwTextFrm::Format: returns the paragraph's current length
sal_Int32
GetParLen
()
const
;
sal_Int32
GetParLen
()
const
;
...
@@ -285,27 +285,27 @@ public:
...
@@ -285,27 +285,27 @@ public:
bool
UpdateQuoVadis
(
const
OUString
&
rQuo
);
bool
UpdateQuoVadis
(
const
OUString
&
rQuo
);
// Flags
// Flags
inline
void
SetFly
(
const
bool
bNew
=
true
)
{
bFlys
=
bNew
;
}
inline
void
SetFly
(
const
bool
bNew
=
true
)
{
m_
bFlys
=
bNew
;
}
inline
bool
HasFly
()
const
{
return
bFlys
;
}
inline
bool
HasFly
()
const
{
return
m_
bFlys
;
}
// Preps
// Preps
inline
void
SetPrep
(
const
bool
bNew
=
true
)
{
bPrep
=
bNew
;
}
inline
void
SetPrep
(
const
bool
bNew
=
true
)
{
m_
bPrep
=
bNew
;
}
inline
bool
IsPrep
()
const
{
return
bPrep
;
}
inline
bool
IsPrep
()
const
{
return
m_
bPrep
;
}
inline
void
SetPrepWidows
(
const
bool
bNew
=
true
)
{
bPrepWidows
=
bNew
;
}
inline
void
SetPrepWidows
(
const
bool
bNew
=
true
)
{
m_
bPrepWidows
=
bNew
;
}
inline
bool
IsPrepWidows
()
const
{
return
bPrepWidows
;
}
inline
bool
IsPrepWidows
()
const
{
return
m_
bPrepWidows
;
}
inline
void
SetPrepMustFit
(
const
bool
bNew
=
true
)
{
bPrepMustFit
=
bNew
;
}
inline
void
SetPrepMustFit
(
const
bool
bNew
=
true
)
{
m_
bPrepMustFit
=
bNew
;
}
inline
bool
IsPrepMustFit
()
const
{
return
bPrepMustFit
;
}
inline
bool
IsPrepMustFit
()
const
{
return
m_
bPrepMustFit
;
}
inline
void
SetPrepAdjust
(
const
bool
bNew
=
true
)
{
bPrepAdjust
=
bNew
;
}
inline
void
SetPrepAdjust
(
const
bool
bNew
=
true
)
{
m_
bPrepAdjust
=
bNew
;
}
inline
bool
IsPrepAdjust
()
const
{
return
bPrepAdjust
;
}
inline
bool
IsPrepAdjust
()
const
{
return
m_
bPrepAdjust
;
}
inline
void
SetFollowField
(
const
bool
bNew
=
true
)
{
bFollowField
=
bNew
;
}
inline
void
SetFollowField
(
const
bool
bNew
=
true
)
{
m_
bFollowField
=
bNew
;
}
inline
bool
IsFollowField
()
const
{
return
bFollowField
;
}
inline
bool
IsFollowField
()
const
{
return
m_
bFollowField
;
}
inline
void
SetFixLineHeight
(
const
bool
bNew
=
true
)
{
bFixLineHeight
=
bNew
;
}
inline
void
SetFixLineHeight
(
const
bool
bNew
=
true
)
{
m_
bFixLineHeight
=
bNew
;
}
inline
bool
IsFixLineHeight
()
const
{
return
bFixLineHeight
;
}
inline
bool
IsFixLineHeight
()
const
{
return
m_
bFixLineHeight
;
}
inline
void
SetFootnoteNum
(
const
bool
bNew
=
true
)
{
bFootnoteNum
=
bNew
;
}
inline
void
SetFootnoteNum
(
const
bool
bNew
=
true
)
{
m_
bFootnoteNum
=
bNew
;
}
inline
bool
IsFootnoteNum
()
const
{
return
bFootnoteNum
;
}
inline
bool
IsFootnoteNum
()
const
{
return
m_
bFootnoteNum
;
}
inline
void
SetMargin
(
const
bool
bNew
=
true
)
{
bMargin
=
bNew
;
}
inline
void
SetMargin
(
const
bool
bNew
=
true
)
{
m_
bMargin
=
bNew
;
}
inline
bool
IsMargin
()
const
{
return
bMargin
;
}
inline
bool
IsMargin
()
const
{
return
m_
bMargin
;
}
// Set nErgo in the QuoVadisPortion
// Set nErgo in the QuoVadisPortion
void
SetErgoSumNum
(
const
OUString
&
rErgo
);
void
SetErgoSumNum
(
const
OUString
&
rErgo
);
...
@@ -333,19 +333,19 @@ inline SwLineLayout::SwLineLayout()
...
@@ -333,19 +333,19 @@ inline SwLineLayout::SwLineLayout()
inline
void
SwParaPortion
::
ResetPreps
()
inline
void
SwParaPortion
::
ResetPreps
()
{
{
bPrep
=
bPrepWidows
=
bPrepAdjust
=
bPrepMustFit
=
false
;
m_bPrep
=
m_bPrepWidows
=
m_bPrepAdjust
=
m_
bPrepMustFit
=
false
;
}
}
inline
void
SwParaPortion
::
FormatReset
()
inline
void
SwParaPortion
::
FormatReset
()
{
{
nDelta
=
0
;
m_
nDelta
=
0
;
aReformat
=
SwCharRange
(
0
,
COMPLETE_STRING
);
m_
aReformat
=
SwCharRange
(
0
,
COMPLETE_STRING
);
// bFlys needs to be retained in SwTextFrm::_Format() so that empty
// bFlys needs to be retained in SwTextFrm::_Format() so that empty
// paragraphs that needed to avoid Frames with no flow, reformat
// paragraphs that needed to avoid Frames with no flow, reformat
// when the Frame disappears from the Area
// when the Frame disappears from the Area
// bFlys = false;
// bFlys = false;
ResetPreps
();
ResetPreps
();
bFollowField
=
bFixLineHeight
=
bMargin
=
false
;
m_bFollowField
=
m_bFixLineHeight
=
m_
bMargin
=
false
;
}
}
inline
SwLinePortion
*
SwLineLayout
::
GetFirstPortion
()
const
inline
SwLinePortion
*
SwLineLayout
::
GetFirstPortion
()
const
...
...
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