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
90d4ead8
Kaydet (Commit)
90d4ead8
authored
Haz 13, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
an object may support several services, so dump all supported ones
Change-Id: Id5d8a9591fc4448f3ea3390fa728e37b2753aea4
üst
22d86345
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
XShapeDumper.cxx
drawinglayer/source/dumper/XShapeDumper.cxx
+9
-8
No files found.
drawinglayer/source/dumper/XShapeDumper.cxx
Dosyayı görüntüle @
90d4ead8
...
...
@@ -35,7 +35,7 @@
#include <rtl/strbuf.hxx>
#define DEBUG_DUMPER
0
#define DEBUG_DUMPER
1
using
namespace
com
::
sun
::
star
;
//class XShapeDumper
...
...
@@ -1004,7 +1004,7 @@ namespace {
if
(
!
aText
.
isEmpty
())
xmlTextWriterWriteFormatAttribute
(
xmlWriter
,
BAD_CAST
(
"text"
),
"%s"
,
rtl
::
OUStringToOString
(
aText
,
RTL_TEXTENCODING_UTF8
).
getStr
());
}
else
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.TextProperties"
))
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.TextProperties"
))
{
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"IsNumbering"
);
...
...
@@ -1145,12 +1145,12 @@ namespace {
dumpTextWritingModeAsAttribute
(
eTextWritingMode
,
xmlWriter
);
}
}
else
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.GroupShape"
))
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.GroupShape"
))
{
uno
::
Reference
<
drawing
::
XShapes
>
xShapes
(
xShape
,
uno
::
UNO_QUERY_THROW
);
dumpXShapes
(
xShapes
,
xmlWriter
);
}
else
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.FillProperties"
))
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.FillProperties"
))
{
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"FillStyle"
);
...
...
@@ -1298,7 +1298,7 @@ namespace {
}
}
else
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.LineProperties"
))
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.LineProperties"
))
{
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"LineStyle"
);
...
...
@@ -1392,7 +1392,7 @@ namespace {
}
}
else
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.PolyPolygonDescriptor"
))
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.PolyPolygonDescriptor"
))
{
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"PolygonKind"
);
...
...
@@ -1414,7 +1414,7 @@ namespace {
}
}
else
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.ShadowProperties"
))
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.ShadowProperties"
))
{
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"Shadow"
);
...
...
@@ -1447,7 +1447,8 @@ namespace {
dumpShadowYDistanceAsAttribute
(
aShadowYDistance
,
xmlWriter
);
}
}
else
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.Shape"
))
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.Shape"
))
{
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"ZOrder"
);
...
...
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