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
b83881ac
Kaydet (Commit)
b83881ac
authored
Tem 03, 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
Added properties RotateAngle & RotationCenter
Change-Id: I97d52be4904657eacb7cea4ebec789e6dd9a4722
üst
f104a364
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
EnhancedShapeDumper.hxx
drawinglayer/inc/drawinglayer/EnhancedShapeDumper.hxx
+2
-0
EnhancedShapeDumper.cxx
drawinglayer/source/dumper/EnhancedShapeDumper.cxx
+26
-0
No files found.
drawinglayer/inc/drawinglayer/EnhancedShapeDumper.hxx
Dosyayı görüntüle @
b83881ac
...
...
@@ -66,6 +66,8 @@ public:
void
dumpSecondLightDirectionAsElement
(
com
::
sun
::
star
::
drawing
::
Direction3D
aSecondLightDirection
);
void
dumpMetalAsAttribute
(
sal_Bool
bMetal
);
void
dumpShadeModeAsAttribute
(
com
::
sun
::
star
::
drawing
::
ShadeMode
eShadeMode
);
void
dumpRotateAngleAsElement
(
com
::
sun
::
star
::
drawing
::
EnhancedCustomShapeParameterPair
aRotateAngle
);
void
dumpRotationCenterAsElement
(
com
::
sun
::
star
::
drawing
::
Direction3D
aRotationCenter
);
private
:
xmlTextWriterPtr
xmlWriter
;
...
...
drawinglayer/source/dumper/EnhancedShapeDumper.cxx
Dosyayı görüntüle @
b83881ac
...
...
@@ -122,6 +122,18 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeExtrusionService(uno::Reference
if
(
anotherAny
>>=
eShadeMode
)
dumpShadeModeAsAttribute
(
eShadeMode
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"RotateAngle"
);
drawing
::
EnhancedCustomShapeParameterPair
aRotateAngle
;
if
(
anotherAny
>>=
aRotateAngle
)
dumpRotateAngleAsElement
(
aRotateAngle
);
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"RotationCenter"
);
drawing
::
Direction3D
aRotationCenter
;
if
(
anotherAny
>>=
aRotationCenter
)
dumpRotationCenterAsElement
(
aRotationCenter
);
}
}
void
EnhancedShapeDumper
::
dumpExtrusionAsAttribute
(
sal_Bool
bExtrusion
)
{
...
...
@@ -265,4 +277,18 @@ void EnhancedShapeDumper::dumpShadeModeAsAttribute(drawing::ShadeMode eShadeMode
}
}
void
EnhancedShapeDumper
::
dumpRotateAngleAsElement
(
drawing
::
EnhancedCustomShapeParameterPair
aRotateAngle
)
{
xmlTextWriterStartElement
(
xmlWriter
,
BAD_CAST
(
"RotateAngle"
));
dumpEnhancedCustomShapeParameterPair
(
aRotateAngle
);
xmlTextWriterEndElement
(
xmlWriter
);
}
void
EnhancedShapeDumper
::
dumpRotationCenterAsElement
(
drawing
::
Direction3D
aRotationCenter
)
{
xmlTextWriterStartElement
(
xmlWriter
,
BAD_CAST
(
"RotationCenter"
));
dumpDirection3D
(
aRotationCenter
);
xmlTextWriterEndElement
(
xmlWriter
);
}
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