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
42532d42
Kaydet (Commit)
42532d42
authored
Eyl 14, 2010
tarafından
Florian Reuter
Kaydeden (comit)
Cédric Bosdonnat
Eyl 14, 2010
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw-allow-negative-spacing.diff: correctly display linespacing < 100%
n#364534
üst
cd954198
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
itrform2.cxx
sw/source/core/text/itrform2.cxx
+22
-0
No files found.
sw/source/core/text/itrform2.cxx
Dosyayı görüntüle @
42532d42
...
@@ -1746,6 +1746,28 @@ void SwTxtFormatter::CalcRealHeight( sal_Bool bNewLine )
...
@@ -1746,6 +1746,28 @@ void SwTxtFormatter::CalcRealHeight( sal_Bool bNewLine )
switch
(
pSpace
->
GetLineSpaceRule
()
)
switch
(
pSpace
->
GetLineSpaceRule
()
)
{
{
case
SVX_LINE_SPACE_AUTO
:
case
SVX_LINE_SPACE_AUTO
:
if
(
pSpace
->
GetInterLineSpaceRule
()
==
SVX_INTER_LINE_SPACE_PROP
)
{
long
nTmp
=
pSpace
->
GetPropLineSpace
();
if
(
nTmp
<
100
)
{
// code adaped from fixed line height
nTmp
*=
nLineHeight
;
nTmp
/=
100
;
if
(
!
nTmp
)
++
nTmp
;
nLineHeight
=
(
KSHORT
)
nTmp
;
/*
//@TODO figure out how WW maps ascent and descent
//in case of prop line spacing <100%
KSHORT nAsc = ( 4 * nLineHeight ) / 5; // 80%
if( nAsc < pCurr->GetAscent() ||
nLineHeight - nAsc < pCurr->Height() -
pCurr->GetAscent() )
pCurr->SetClipping( sal_True );
pCurr->SetAscent( nAsc );
*/
pCurr
->
Height
(
nLineHeight
);
pInf
->
GetParaPortion
()
->
SetFixLineHeight
();
}
}
break
;
break
;
case
SVX_LINE_SPACE_MIN
:
case
SVX_LINE_SPACE_MIN
:
{
{
...
...
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