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
1573315e
Kaydet (Commit)
1573315e
authored
May 12, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
export each axis only once non-deleted, related tdf#84347
Change-Id: Ia0e23faf43fd266b8314f807b77423e9a3e15797
üst
aec34850
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
chartexport.hxx
include/oox/export/chartexport.hxx
+4
-0
chartexport.cxx
oox/source/export/chartexport.cxx
+9
-1
No files found.
include/oox/export/chartexport.hxx
Dosyayı görüntüle @
1573315e
...
...
@@ -30,6 +30,8 @@
#include <com/sun/star/chart2/RelativePosition.hpp>
#include <com/sun/star/chart2/RelativeSize.hpp>
#include <set>
namespace
com
{
namespace
sun
{
namespace
star
{
namespace
chart
{
class
XDiagram
;
...
...
@@ -103,6 +105,8 @@ private:
bool
mbStacked
;
bool
mbPercent
;
std
::
set
<
sal_Int32
>
maExportedAxis
;
private
:
sal_Int32
getChartType
();
...
...
oox/source/export/chartexport.cxx
Dosyayı görüntüle @
1573315e
...
...
@@ -2611,6 +2611,7 @@ void ChartExport::_exportAxis(
pFS
->
startElement
(
FSNS
(
XML_c
,
XML_scaling
),
FSEND
);
// logBase, min, max
if
(
GetProperty
(
xAxisProp
,
"Logarithmic"
)
)
{
...
...
@@ -2671,8 +2672,15 @@ void ChartExport::_exportAxis(
OUString
(
"Visible"
))
>>=
bVisible
;
}
// only export each axis only once non-deleted
bool
bDeleted
=
std
::
find
(
maExportedAxis
.
begin
(),
maExportedAxis
.
end
(),
rAxisIdPair
.
nAxisType
)
!=
maExportedAxis
.
end
();
if
(
!
bDeleted
)
maExportedAxis
.
insert
(
rAxisIdPair
.
nAxisType
);
pFS
->
singleElement
(
FSNS
(
XML_c
,
XML_delete
),
XML_val
,
bVisible
?
"0"
:
"1"
,
XML_val
,
!
bDeleted
&&
bVisible
?
"0"
:
"1"
,
FSEND
);
// FIXME: axPos, need to check the property "ReverseDirection"
...
...
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