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
9fac61d2
Kaydet (Commit)
9fac61d2
authored
Haz 21, 2013
tarafından
Felix Zhang
Kaydeden (comit)
Jan Holesovsky
Haz 21, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bnc#593612: font size: override para prop with run prop
Change-Id: I4d0899c8f722150176cb3479bdb3b4a81c1b3eb8
üst
58541047
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
textparagraph.cxx
oox/source/drawingml/textparagraph.cxx
+1
-2
No files found.
oox/source/drawingml/textparagraph.cxx
Dosyayı görüntüle @
9fac61d2
...
@@ -103,19 +103,18 @@ void TextParagraph::insertAt(
...
@@ -103,19 +103,18 @@ void TextParagraph::insertAt(
PropertyMap
aioBulletList
;
PropertyMap
aioBulletList
;
Reference
<
XPropertySet
>
xProps
(
xAt
,
UNO_QUERY
);
Reference
<
XPropertySet
>
xProps
(
xAt
,
UNO_QUERY
);
float
fCharacterSize
=
nCharHeight
>
0
?
GetFontHeight
(
nCharHeight
)
:
18
;
if
(
pTextParagraphStyle
.
get
()
)
if
(
pTextParagraphStyle
.
get
()
)
{
{
TextParagraphProperties
aParaProp
;
TextParagraphProperties
aParaProp
;
aParaProp
.
apply
(
*
pTextParagraphStyle
);
aParaProp
.
apply
(
*
pTextParagraphStyle
);
aParaProp
.
apply
(
maProperties
);
aParaProp
.
apply
(
maProperties
);
fCharacterSize
=
pTextParagraphStyle
->
getCharHeightPoints
(
fCharacterSize
);
// bullets have same color as following texts by default
// bullets have same color as following texts by default
if
(
!
aioBulletList
.
hasProperty
(
PROP_BulletColor
)
&&
maRuns
.
size
()
>
0
if
(
!
aioBulletList
.
hasProperty
(
PROP_BulletColor
)
&&
maRuns
.
size
()
>
0
&&
(
*
maRuns
.
begin
())
->
getTextCharacterProperties
().
maCharColor
.
isUsed
()
)
&&
(
*
maRuns
.
begin
())
->
getTextCharacterProperties
().
maCharColor
.
isUsed
()
)
aioBulletList
[
PROP_BulletColor
]
<<=
(
*
maRuns
.
begin
())
->
getTextCharacterProperties
().
maCharColor
.
getColor
(
rFilterBase
.
getGraphicHelper
()
);
aioBulletList
[
PROP_BulletColor
]
<<=
(
*
maRuns
.
begin
())
->
getTextCharacterProperties
().
maCharColor
.
getColor
(
rFilterBase
.
getGraphicHelper
()
);
float
fCharacterSize
=
nCharHeight
>
0
?
GetFontHeight
(
nCharHeight
)
:
pTextParagraphStyle
->
getCharHeightPoints
(
18
);
aParaProp
.
pushToPropSet
(
&
rFilterBase
,
xProps
,
aioBulletList
,
&
pTextParagraphStyle
->
getBulletList
(),
sal_True
,
fCharacterSize
,
true
);
aParaProp
.
pushToPropSet
(
&
rFilterBase
,
xProps
,
aioBulletList
,
&
pTextParagraphStyle
->
getBulletList
(),
sal_True
,
fCharacterSize
,
true
);
}
}
...
...
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