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
3639f80e
Kaydet (Commit)
3639f80e
authored
Haz 15, 2012
tarafından
Artur Dorda
Kaydeden (comit)
Markus Mohrhard
Tem 12, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Started dumping PolyPolygonBezierDescriptor service.Added PolygonKind property
Change-Id: I17461a86120f0d05137c8b8410c47f9fc3097e8f
üst
817b35a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
XShapeDumper.hxx
drawinglayer/inc/drawinglayer/XShapeDumper.hxx
+3
-0
XShapeDumper.cxx
drawinglayer/source/dumper/XShapeDumper.cxx
+13
-0
No files found.
drawinglayer/inc/drawinglayer/XShapeDumper.hxx
Dosyayı görüntüle @
3639f80e
...
@@ -165,6 +165,9 @@ private:
...
@@ -165,6 +165,9 @@ private:
void
dumpNavigationOrderAsAttribute
(
sal_Int32
aNavigationOrder
,
xmlTextWriterPtr
xmlWriter
);
void
dumpNavigationOrderAsAttribute
(
sal_Int32
aNavigationOrder
,
xmlTextWriterPtr
xmlWriter
);
void
dumpHyperlinkAsAttribute
(
rtl
::
OUString
sHyperlink
,
xmlTextWriterPtr
xmlWriter
);
void
dumpHyperlinkAsAttribute
(
rtl
::
OUString
sHyperlink
,
xmlTextWriterPtr
xmlWriter
);
// PolyPolygonBezierDescriptor.idl
void
dumpPolyPolygonBezierDescriptorService
(
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
beans
::
XPropertySet
>
xPropSet
,
xmlTextWriterPtr
xmlWriter
);
// XShape.idl
// XShape.idl
void
dumpPositionAsAttribute
(
const
com
::
sun
::
star
::
awt
::
Point
&
rPoint
,
xmlTextWriterPtr
xmlWriter
);
void
dumpPositionAsAttribute
(
const
com
::
sun
::
star
::
awt
::
Point
&
rPoint
,
xmlTextWriterPtr
xmlWriter
);
void
dumpSizeAsAttribute
(
const
com
::
sun
::
star
::
awt
::
Size
&
rSize
,
xmlTextWriterPtr
xmlWriter
);
void
dumpSizeAsAttribute
(
const
com
::
sun
::
star
::
awt
::
Size
&
rSize
,
xmlTextWriterPtr
xmlWriter
);
...
...
drawinglayer/source/dumper/XShapeDumper.cxx
Dosyayı görüntüle @
3639f80e
...
@@ -1488,6 +1488,16 @@ namespace {
...
@@ -1488,6 +1488,16 @@ namespace {
}
}
}
}
void
XShapeDumper
::
dumpPolyPolygonBezierDescriptorService
(
uno
::
Reference
<
beans
::
XPropertySet
>
xPropSet
,
xmlTextWriterPtr
xmlWriter
)
{
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"PolygonKind"
);
drawing
::
PolygonKind
ePolygonKind
;
if
(
anotherAny
>>=
ePolygonKind
)
dumpPolygonKindAsAttribute
(
ePolygonKind
,
xmlWriter
);
}
}
void
XShapeDumper
::
dumpXShape
(
uno
::
Reference
<
drawing
::
XShape
>
xShape
,
xmlTextWriterPtr
xmlWriter
)
void
XShapeDumper
::
dumpXShape
(
uno
::
Reference
<
drawing
::
XShape
>
xShape
,
xmlTextWriterPtr
xmlWriter
)
{
{
xmlTextWriterStartElement
(
xmlWriter
,
BAD_CAST
(
"XShape"
)
);
xmlTextWriterStartElement
(
xmlWriter
,
BAD_CAST
(
"XShape"
)
);
...
@@ -1541,6 +1551,9 @@ namespace {
...
@@ -1541,6 +1551,9 @@ namespace {
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.Shape"
))
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.Shape"
))
dumpShapeService
(
xPropSet
,
xmlWriter
);
dumpShapeService
(
xPropSet
,
xmlWriter
);
if
(
xServiceInfo
->
supportsService
(
"com.sun.star.drawing.PolyPolygonBezierDescriptor"
))
dumpPolyPolygonBezierDescriptorService
(
xPropSet
,
xmlWriter
);
#if DEBUG_DUMPER
#if DEBUG_DUMPER
sal_Int32
nServices
=
aServiceNames
.
getLength
();
sal_Int32
nServices
=
aServiceNames
.
getLength
();
for
(
sal_Int32
i
=
0
;
i
<
nServices
;
++
i
)
for
(
sal_Int32
i
=
0
;
i
<
nServices
;
++
i
)
...
...
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