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
ed39df13
Kaydet (Commit)
ed39df13
authored
Agu 07, 2014
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Doughnut charts don't support label placement option. Don't export it.
Change-Id: I6d0e2c099869120bdf594813468a3c5ba4bb46fd
üst
96f890c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
chartexport.cxx
oox/source/export/chartexport.cxx
+17
-2
No files found.
oox/source/export/chartexport.cxx
Dosyayı görüntüle @
ed39df13
...
@@ -2615,9 +2615,24 @@ void ChartExport::exportDataLabels(
...
@@ -2615,9 +2615,24 @@ void ChartExport::exportDataLabels(
uno
::
Sequence
<
sal_Int32
>
aAttrLabelIndices
;
uno
::
Sequence
<
sal_Int32
>
aAttrLabelIndices
;
xPropSet
->
getPropertyValue
(
"AttributedDataPoints"
)
>>=
aAttrLabelIndices
;
xPropSet
->
getPropertyValue
(
"AttributedDataPoints"
)
>>=
aAttrLabelIndices
;
// We must not export label placement property when the chart type doesn't
// support this option in MS Office, else MS Office would think the file
// is corrupt & refuse to open it.
bool
bLabelPlacement
=
!
mbIs3DChart
;
bool
bLabelPlacement
=
!
mbIs3DChart
;
if
(
eChartType
==
chart
::
TYPEID_PIE
)
eChartType
=
getChartType
();
bLabelPlacement
=
true
;
switch
(
eChartType
)
{
case
chart
:
:
TYPEID_PIE
:
// All pie charts support label placement.
bLabelPlacement
=
true
;
break
;
case
chart
:
:
TYPEID_DOUGHNUT
:
// Doughnut charts don't support label placement.
bLabelPlacement
=
false
;
break
;
default
:
;
}
const
sal_Int32
*
p
=
aAttrLabelIndices
.
getConstArray
();
const
sal_Int32
*
p
=
aAttrLabelIndices
.
getConstArray
();
const
sal_Int32
*
pEnd
=
p
+
aAttrLabelIndices
.
getLength
();
const
sal_Int32
*
pEnd
=
p
+
aAttrLabelIndices
.
getLength
();
...
...
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