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
163c28b1
Kaydet (Commit)
163c28b1
authored
Nis 30, 2015
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add test for plotVisOnly export to OOXML
Change-Id: I2dc49ec1c10da97f9b57ebff804cf403d2802beb
üst
d38b6043
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
chart2export.cxx
chart2/qa/extras/chart2export.cxx
+11
-0
hidden_cells.xlsx
chart2/qa/extras/data/xlsx/hidden_cells.xlsx
+0
-0
No files found.
chart2/qa/extras/chart2export.cxx
Dosyayı görüntüle @
163c28b1
...
@@ -95,6 +95,7 @@ public:
...
@@ -95,6 +95,7 @@ public:
void
testLegendManualLayoutXLSX
();
void
testLegendManualLayoutXLSX
();
void
testAxisCharacterPropertiesXLSX
();
void
testAxisCharacterPropertiesXLSX
();
void
testTitleCharacterPropertiesXLSX
();
void
testTitleCharacterPropertiesXLSX
();
void
testPlotVisOnlyXLSX
();
CPPUNIT_TEST_SUITE
(
Chart2ExportTest
);
CPPUNIT_TEST_SUITE
(
Chart2ExportTest
);
CPPUNIT_TEST
(
testErrorBarXLSX
);
CPPUNIT_TEST
(
testErrorBarXLSX
);
...
@@ -154,6 +155,7 @@ public:
...
@@ -154,6 +155,7 @@ public:
CPPUNIT_TEST
(
testLegendManualLayoutXLSX
);
CPPUNIT_TEST
(
testLegendManualLayoutXLSX
);
CPPUNIT_TEST
(
testAxisCharacterPropertiesXLSX
);
CPPUNIT_TEST
(
testAxisCharacterPropertiesXLSX
);
CPPUNIT_TEST
(
testTitleCharacterPropertiesXLSX
);
CPPUNIT_TEST
(
testTitleCharacterPropertiesXLSX
);
CPPUNIT_TEST
(
testPlotVisOnlyXLSX
);
CPPUNIT_TEST_SUITE_END
();
CPPUNIT_TEST_SUITE_END
();
protected
:
protected
:
...
@@ -1423,6 +1425,15 @@ void Chart2ExportTest::testTitleCharacterPropertiesXLSX()
...
@@ -1423,6 +1425,15 @@ void Chart2ExportTest::testTitleCharacterPropertiesXLSX()
assertXPath
(
pXmlDoc
,
"/c:chartSpace/c:chart/c:title/c:tx/c:rich/a:p/a:r/a:rPr"
,
"b"
,
"1"
);
assertXPath
(
pXmlDoc
,
"/c:chartSpace/c:chart/c:title/c:tx/c:rich/a:p/a:r/a:rPr"
,
"b"
,
"1"
);
}
}
void
Chart2ExportTest
::
testPlotVisOnlyXLSX
()
{
load
(
"/chart2/qa/extras/data/xlsx/"
,
"hidden_cells.xlsx"
);
xmlDocPtr
pXmlDoc
=
parseExport
(
"xl/charts/chart"
,
"Calc Office Open XML"
);
CPPUNIT_ASSERT
(
pXmlDoc
);
assertXPath
(
pXmlDoc
,
"/c:chartSpace/c:chart/c:plotVisOnly"
,
"val"
,
"0"
);
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
Chart2ExportTest
);
CPPUNIT_TEST_SUITE_REGISTRATION
(
Chart2ExportTest
);
CPPUNIT_PLUGIN_IMPLEMENT
();
CPPUNIT_PLUGIN_IMPLEMENT
();
...
...
chart2/qa/extras/data/xlsx/hidden_cells.xlsx
0 → 100644
Dosyayı görüntüle @
163c28b1
File added
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