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
f4483d31
Kaydet (Commit)
f4483d31
authored
Ock 17, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
VML import of TextFrame border width
Change-Id: I9c0cf277e17c02c2de564d48ba79e1c25ea23db5
üst
88ebaff7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
vmlshape.cxx
oox/source/vml/vmlshape.cxx
+7
-1
No files found.
oox/source/vml/vmlshape.cxx
Dosyayı görüntüle @
f4483d31
...
...
@@ -18,6 +18,7 @@
*/
#include <algorithm>
#include <boost/optional.hpp>
#include "oox/vml/vmlshape.hxx"
...
...
@@ -370,7 +371,10 @@ void ShapeBase::convertShapeProperties( const Reference< XShape >& rxShape ) con
aPropMap
.
setProperty
(
PROP_BackColor
,
aPropMap
[
PROP_FillColor
]);
aPropMap
.
erase
(
PROP_FillColor
);
}
// And no LineColor property; individual borders can have colors
// And no LineColor property; individual borders can have colors and widths
boost
::
optional
<
sal_Int32
>
oLineWidth
;
if
(
maTypeModel
.
maStrokeModel
.
moWeight
.
has
())
oLineWidth
.
reset
(
ConversionHelper
::
decodeMeasureToHmm
(
rGraphicHelper
,
maTypeModel
.
maStrokeModel
.
moWeight
.
get
(),
0
,
false
,
false
));
if
(
aPropMap
.
hasProperty
(
PROP_LineColor
))
{
uno
::
Reference
<
beans
::
XPropertySet
>
xPropertySet
(
rxShape
,
uno
::
UNO_QUERY
);
...
...
@@ -381,6 +385,8 @@ void ShapeBase::convertShapeProperties( const Reference< XShape >& rxShape ) con
{
table
::
BorderLine2
aBorderLine
=
xPropertySet
->
getPropertyValue
(
PropertyMap
::
getPropertyName
(
aBorders
[
i
])).
get
<
table
::
BorderLine2
>
();
aBorderLine
.
Color
=
aPropMap
[
PROP_LineColor
].
get
<
sal_Int32
>
();
if
(
oLineWidth
)
aBorderLine
.
LineWidth
=
*
oLineWidth
;
aPropMap
.
setProperty
(
aBorders
[
i
],
uno
::
makeAny
(
aBorderLine
));
}
aPropMap
.
erase
(
PROP_LineColor
);
...
...
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