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
12ace506
Kaydet (Commit)
12ace506
authored
Nis 25, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
dump also drawinglayer shapes that are externally added
Change-Id: I0a5ba2db0fa09193803442b5771a1d6b0475c2c8
üst
a371f5de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
9 deletions
+23
-9
ChartView.cxx
chart2/source/view/main/ChartView.cxx
+23
-9
No files found.
chart2/source/view/main/ChartView.cxx
Dosyayı görüntüle @
12ace506
...
...
@@ -3059,17 +3059,31 @@ OUString ChartView::dump() throw (uno::RuntimeException, std::exception)
// Used for unit tests only, no need to drag in this when cross-compiling
// for non-desktop
impl_updateView
();
if
(
!
mxRootShape
.
is
())
mxRootShape
=
AbstractShapeFactory
::
getOrCreateShapeFactory
(
m_xShapeFactory
)
->
getOrCreateChartRootShape
(
m_xDrawPage
);
if
(
!
mxRootShape
.
is
())
return
OUString
();
else
uno
::
Reference
<
drawing
::
XShapes
>
xShapes
(
m_xDrawPage
,
uno
::
UNO_QUERY_THROW
);
sal_Int32
n
=
xShapes
->
getCount
();
OUStringBuffer
aBuffer
;
for
(
sal_Int32
i
=
0
;
i
<
n
;
++
i
)
{
XShapeDumper
dumper
;
return
dumper
.
dump
(
mxRootShape
);
uno
::
Reference
<
drawing
::
XShapes
>
xShape
(
xShapes
->
getByIndex
(
i
),
uno
::
UNO_QUERY
);
if
(
xShape
.
is
())
{
XShapeDumper
dumper
;
OUString
aString
=
dumper
.
dump
(
mxRootShape
);
aBuffer
.
append
(
aString
);
}
else
{
uno
::
Reference
<
drawing
::
XShape
>
xSingleShape
(
xShapes
->
getByIndex
(
i
),
uno
::
UNO_QUERY
);
if
(
!
xSingleShape
.
is
())
continue
;
XShapeDumper
dumper
;
OUString
aString
=
dumper
.
dump
(
xSingleShape
);
aBuffer
.
append
(
aString
);
}
aBuffer
.
append
(
"
\n\n
"
);
}
return
aBuffer
.
makeStringAndClear
();
#else
return
OUString
();
#endif
...
...
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