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
89683e60
Kaydet (Commit)
89683e60
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
Added CustomShapeData property
Change-Id: I9b41a8b427098126224bff268bf0b9be9ec3e2ef
üst
3d766ba8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
XShapeDumper.hxx
drawinglayer/inc/drawinglayer/XShapeDumper.hxx
+1
-0
XShapeDumper.cxx
drawinglayer/source/dumper/XShapeDumper.cxx
+12
-0
No files found.
drawinglayer/inc/drawinglayer/XShapeDumper.hxx
Dosyayı görüntüle @
89683e60
...
@@ -171,6 +171,7 @@ private:
...
@@ -171,6 +171,7 @@ private:
// CustomShape.idl
// CustomShape.idl
void
dumpCustomShapeEngineAsAttribute
(
rtl
::
OUString
sCustomShapeEngine
,
xmlTextWriterPtr
xmlWriter
);
void
dumpCustomShapeEngineAsAttribute
(
rtl
::
OUString
sCustomShapeEngine
,
xmlTextWriterPtr
xmlWriter
);
void
dumpCustomShapeDataAsAttribute
(
rtl
::
OUString
sCustomShapeData
,
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
);
...
...
drawinglayer/source/dumper/XShapeDumper.cxx
Dosyayı görüntüle @
89683e60
...
@@ -1002,6 +1002,12 @@ namespace {
...
@@ -1002,6 +1002,12 @@ namespace {
rtl
::
OUStringToOString
(
sCustomShapeEngine
,
RTL_TEXTENCODING_UTF8
).
getStr
());
rtl
::
OUStringToOString
(
sCustomShapeEngine
,
RTL_TEXTENCODING_UTF8
).
getStr
());
}
}
void
XShapeDumper
::
dumpCustomShapeDataAsAttribute
(
rtl
::
OUString
sCustomShapeData
,
xmlTextWriterPtr
xmlWriter
)
{
xmlTextWriterWriteFormatAttribute
(
xmlWriter
,
BAD_CAST
(
"customShapeData"
),
"%s"
,
rtl
::
OUStringToOString
(
sCustomShapeData
,
RTL_TEXTENCODING_UTF8
).
getStr
());
}
// methods dumping whole services
// methods dumping whole services
void
XShapeDumper
::
dumpTextPropertiesService
(
uno
::
Reference
<
beans
::
XPropertySet
>
xPropSet
,
xmlTextWriterPtr
xmlWriter
)
void
XShapeDumper
::
dumpTextPropertiesService
(
uno
::
Reference
<
beans
::
XPropertySet
>
xPropSet
,
xmlTextWriterPtr
xmlWriter
)
...
@@ -1548,6 +1554,12 @@ namespace {
...
@@ -1548,6 +1554,12 @@ namespace {
if
(
anotherAny
>>=
sCustomShapeEngine
)
if
(
anotherAny
>>=
sCustomShapeEngine
)
dumpCustomShapeEngineAsAttribute
(
sCustomShapeEngine
,
xmlWriter
);
dumpCustomShapeEngineAsAttribute
(
sCustomShapeEngine
,
xmlWriter
);
}
}
{
uno
::
Any
anotherAny
=
xPropSet
->
getPropertyValue
(
"CustomShapeData"
);
rtl
::
OUString
sCustomShapeData
;
if
(
anotherAny
>>=
sCustomShapeData
)
dumpCustomShapeDataAsAttribute
(
sCustomShapeData
,
xmlWriter
);
}
}
}
void
XShapeDumper
::
dumpXShape
(
uno
::
Reference
<
drawing
::
XShape
>
xShape
,
xmlTextWriterPtr
xmlWriter
)
void
XShapeDumper
::
dumpXShape
(
uno
::
Reference
<
drawing
::
XShape
>
xShape
,
xmlTextWriterPtr
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