aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2024-09-19 16:13:27 +0000
committerPJ Fanning <fanningpj@apache.org>2024-09-19 16:13:27 +0000
commit89ef0de42e92951a5641d2d77523e6b25e789b25 (patch)
tree8ab9455f964fb51de714bdbee36b3a7c14003120
parente1379d37251dc20b7a40f22d5b59f780247452dd (diff)
downloadpoi-89ef0de42e92951a5641d2d77523e6b25e789b25.tar.gz
poi-89ef0de42e92951a5641d2d77523e6b25e789b25.zip
try to add more chart related classes to poi-ooxml-lite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920795 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/TestNecessaryOOXMLClasses.java13
-rw-r--r--src/resources/ooxml-lite-report.clazz2
-rw-r--r--src/resources/ooxml-lite-report.xsb2
3 files changed, 15 insertions, 2 deletions
diff --git a/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/TestNecessaryOOXMLClasses.java b/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/TestNecessaryOOXMLClasses.java
index 77971ba982..548b456c94 100644
--- a/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/TestNecessaryOOXMLClasses.java
+++ b/poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/TestNecessaryOOXMLClasses.java
@@ -103,8 +103,19 @@ class TestNecessaryOOXMLClasses {
assertNotNull(ctArea3DChart);
CTSurfaceChart ctSurfaceChart = CTSurfaceChart.Factory.newInstance();
assertNotNull(ctSurfaceChart);
+
CTDoughnutChart ctDoughnutChart = CTDoughnutChart.Factory.newInstance();
assertNotNull(ctDoughnutChart);
+ CTHoleSize ctHoleSize = CTHoleSize.Factory.newInstance();
+ assertNotNull(ctHoleSize);
+ STHoleSize stHoleSize = STHoleSize.Factory.newInstance();
+ assertNotNull(stHoleSize);
+ ctHoleSize.xsetVal(stHoleSize);
+ STHoleSizePercent stHoleSizePercent = STHoleSizePercent.Factory.newInstance();
+ assertNotNull(stHoleSizePercent);
+ STHoleSizeUByte stHoleSizeUByte = STHoleSizeUByte.Factory.newInstance();
+ assertNotNull(stHoleSizeUByte);
+
CTBar3DChart ctBar3DChart = CTBar3DChart.Factory.newInstance();
assertNotNull(ctBar3DChart);
CTLine3DChart ctLine3DChart = CTLine3DChart.Factory.newInstance();
@@ -197,8 +208,6 @@ class TestNecessaryOOXMLClasses {
assertNotNull(stDepthPercent);
STHPercent sthPercent = STHPercent.Factory.newInstance();
assertNotNull(sthPercent);
- STHoleSize stHoleSize = STHoleSize.Factory.newInstance();
- assertNotNull(stHoleSize);
}
@Test
diff --git a/src/resources/ooxml-lite-report.clazz b/src/resources/ooxml-lite-report.clazz
index ebecc11541..144216dba8 100644
--- a/src/resources/ooxml-lite-report.clazz
+++ b/src/resources/ooxml-lite-report.clazz
@@ -2549,3 +2549,5 @@ org/openxmlformats/schemas/drawingml/x2006/chart/impl/STAxisUnitImpl
org/openxmlformats/schemas/drawingml/x2006/chart/STAxisUnit
org/openxmlformats/schemas/drawingml/x2006/main/impl/CTAudioFileImpl
org/openxmlformats/schemas/drawingml/x2006/main/CTAudioFile
+org/openxmlformats/schemas/drawingml/x2006/chart/impl/STHoleSizePercentImpl
+org/openxmlformats/schemas/drawingml/x2006/chart/impl/STHoleSizeUByteImpl
diff --git a/src/resources/ooxml-lite-report.xsb b/src/resources/ooxml-lite-report.xsb
index dbe2b16d00..e058876cc7 100644
--- a/src/resources/ooxml-lite-report.xsb
+++ b/src/resources/ooxml-lite-report.xsb
@@ -1183,3 +1183,5 @@ ctpivotarea26cetype
ctpivotareareferencesaef6type
ctpivotareareferencee5a5type
ctindex5371type
+stholesizepercenta3d2type
+stholesizeubyte577atype