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
e4f982f5
Kaydet (Commit)
e4f982f5
authored
Şub 08, 2014
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool to bool
Change-Id: I7472b6fad91fc349dc4cea2b490cb6cb7796fd34
üst
7e798c2a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
20 deletions
+20
-20
porfly.cxx
sw/source/core/text/porfly.cxx
+6
-6
porfly.hxx
sw/source/core/text/porfly.hxx
+5
-5
porhyph.hxx
sw/source/core/text/porhyph.hxx
+3
-3
porlay.cxx
sw/source/core/text/porlay.cxx
+2
-2
txthyph.cxx
sw/source/core/text/txthyph.cxx
+4
-4
No files found.
sw/source/core/text/porfly.cxx
Dosyayı görüntüle @
e4f982f5
...
...
@@ -65,7 +65,7 @@ bool SwFlyPortion::Format( SwTxtFormatInfo &rInf )
// resetting
rInf
.
SetFly
(
0
);
rInf
.
Width
(
rInf
.
RealWidth
()
);
rInf
.
GetParaPortion
()
->
SetFly
(
sal_T
rue
);
rInf
.
GetParaPortion
()
->
SetFly
(
t
rue
);
// trailing blank:
if
(
rInf
.
GetIdx
()
<
rInf
.
GetTxt
().
getLength
()
&&
1
<
rInf
.
GetIdx
()
...
...
@@ -130,7 +130,7 @@ bool SwFlyCntPortion::Format( SwTxtFormatInfo &rInf )
}
}
rInf
.
GetParaPortion
()
->
SetFly
(
sal_T
rue
);
rInf
.
GetParaPortion
()
->
SetFly
(
t
rue
);
return
bFull
;
}
...
...
@@ -262,8 +262,8 @@ SwFlyCntPortion::SwFlyCntPortion( const SwTxtFrm& rFrm,
long
nFlyAsc
,
long
nFlyDesc
,
objectpositioning
::
AsCharFlags
nFlags
)
:
pContact
(
pFly
),
bDraw
(
sal_F
alse
),
bMax
(
sal_F
alse
),
bDraw
(
f
alse
),
bMax
(
f
alse
),
nAlign
(
0
)
{
OSL_ENSURE
(
pFly
,
"SwFlyCntPortion::SwFlyCntPortion: no SwFlyInCntFrm!"
);
...
...
@@ -280,8 +280,8 @@ SwFlyCntPortion::SwFlyCntPortion( const SwTxtFrm& rFrm,
long
nFlyAsc
,
long
nFlyDesc
,
objectpositioning
::
AsCharFlags
nFlags
)
:
pContact
(
pDrawContact
),
bDraw
(
sal_T
rue
),
bMax
(
sal_F
alse
),
bDraw
(
t
rue
),
bMax
(
f
alse
),
nAlign
(
0
)
{
OSL_ENSURE
(
pDrawContact
,
"SwFlyCntPortion::SwFlyCntPortion: no SwDrawContact!"
);
...
...
sw/source/core/text/porfly.hxx
Dosyayı görüntüle @
e4f982f5
...
...
@@ -54,8 +54,8 @@ class SwFlyCntPortion : public SwLinePortion
{
void
*
pContact
;
// bDraw ? DrawContact : FlyInCntFrm
Point
aRef
;
// Relatively to this point we calculate the AbsPos
sal_B
ool
bDraw
:
1
;
// DrawContact?
sal_B
ool
bMax
:
1
;
// Line adjustment and height == line height
b
ool
bDraw
:
1
;
// DrawContact?
b
ool
bMax
:
1
;
// Line adjustment and height == line height
sal_uInt8
nAlign
:
3
;
// Line adjustment? No, above, middle, bottom
virtual
sal_Int32
GetCrsrOfst
(
const
KSHORT
nOfst
)
const
;
...
...
@@ -77,11 +77,11 @@ public:
inline
SwDrawContact
*
GetDrawContact
()
{
return
(
SwDrawContact
*
)
pContact
;
}
inline
const
SwDrawContact
*
GetDrawContact
()
const
{
return
(
SwDrawContact
*
)
pContact
;
}
inline
sal_B
ool
IsDraw
()
const
{
return
bDraw
;
}
inline
sal_B
ool
IsMax
()
const
{
return
bMax
;
}
inline
b
ool
IsDraw
()
const
{
return
bDraw
;
}
inline
b
ool
IsMax
()
const
{
return
bMax
;
}
inline
sal_uInt8
GetAlign
()
const
{
return
nAlign
;
}
inline
void
SetAlign
(
sal_uInt8
nNew
)
{
nAlign
=
nNew
;
}
inline
void
SetMax
(
sal_B
ool
bNew
)
{
bMax
=
bNew
;
}
inline
void
SetMax
(
b
ool
bNew
)
{
bMax
=
bNew
;
}
// OD 29.07.2003 #110978# - use new datatype for parameter <nFlags>
void
SetBase
(
const
SwTxtFrm
&
rFrm
,
const
Point
&
rBase
,
long
nLnAscent
,
long
nLnDescent
,
...
...
sw/source/core/text/porhyph.hxx
Dosyayı görüntüle @
e4f982f5
...
...
@@ -69,7 +69,7 @@ public:
class
SwSoftHyphPortion
:
public
SwHyphPortion
{
sal_B
ool
bExpand
;
b
ool
bExpand
;
KSHORT
nViewWidth
;
KSHORT
nHyphWidth
;
...
...
@@ -80,8 +80,8 @@ public:
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
;
virtual
bool
Format
(
SwTxtFormatInfo
&
rInf
);
virtual
void
FormatEOL
(
SwTxtFormatInfo
&
rInf
);
inline
void
SetExpand
(
const
sal_B
ool
bNew
)
{
bExpand
=
bNew
;
}
sal_B
ool
IsExpand
()
const
{
return
bExpand
;
}
inline
void
SetExpand
(
const
b
ool
bNew
)
{
bExpand
=
bNew
;
}
b
ool
IsExpand
()
const
{
return
bExpand
;
}
virtual
KSHORT
GetViewWidth
(
const
SwTxtSizeInfo
&
rInf
)
const
;
...
...
sw/source/core/text/porlay.cxx
Dosyayı görüntüle @
e4f982f5
...
...
@@ -450,7 +450,7 @@ void SwLineLayout::CalcLine( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf )
if
(
pPos
->
IsFlyCntPortion
()
&&
((
SwFlyCntPortion
*
)
pPos
)
->
GetAlign
()
)
{
((
SwFlyCntPortion
*
)
pPos
)
->
SetMax
(
sal_F
alse
);
((
SwFlyCntPortion
*
)
pPos
)
->
SetMax
(
f
alse
);
if
(
!
pFlyCnt
||
pPos
->
Height
()
>
pFlyCnt
->
Height
()
)
pFlyCnt
=
(
SwFlyCntPortion
*
)
pPos
;
}
...
...
@@ -490,7 +490,7 @@ void SwLineLayout::CalcLine( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf )
{
if
(
pFlyCnt
->
Height
()
==
Height
()
)
{
pFlyCnt
->
SetMax
(
sal_T
rue
);
pFlyCnt
->
SetMax
(
t
rue
);
if
(
Height
()
>
nMaxDescent
+
nAscent
)
{
if
(
3
==
pFlyCnt
->
GetAlign
()
)
// Bottom
...
...
sw/source/core/text/txthyph.cxx
Dosyayı görüntüle @
e4f982f5
...
...
@@ -431,7 +431,7 @@ void SwHyphStrPortion::HandlePortion( SwPortionHandler& rPH ) const
SwLinePortion
*
SwSoftHyphPortion
::
Compress
()
{
return
this
;
}
SwSoftHyphPortion
::
SwSoftHyphPortion
()
:
bExpand
(
sal_F
alse
),
nViewWidth
(
0
),
nHyphWidth
(
0
)
bExpand
(
f
alse
),
nViewWidth
(
0
),
nHyphWidth
(
0
)
{
SetLen
(
1
);
SetWhichPor
(
POR_SOFTHYPH
);
...
...
@@ -533,9 +533,9 @@ bool SwSoftHyphPortion::Format( SwTxtFormatInfo &rInf )
}
rInf
.
SetSoftHyphPos
(
0
);
SetExpand
(
sal_T
rue
);
SetExpand
(
t
rue
);
bFull
=
SwHyphPortion
::
Format
(
rInf
);
SetExpand
(
sal_F
alse
);
SetExpand
(
f
alse
);
if
(
!
bFull
)
{
// default-maessig besitzen wir keine Breite, aber eine Hoehe
...
...
@@ -554,7 +554,7 @@ void SwSoftHyphPortion::FormatEOL( SwTxtFormatInfo &rInf )
{
if
(
!
IsExpand
()
)
{
SetExpand
(
sal_T
rue
);
SetExpand
(
t
rue
);
if
(
rInf
.
GetLast
()
==
this
)
rInf
.
SetLast
(
FindPrevPortion
(
rInf
.
GetRoot
()
)
);
...
...
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