]> source.dussan.org Git - poi.git/commitdiff
try to add more chart related classes to poi-ooxml-lite
authorPJ Fanning <fanningpj@apache.org>
Thu, 19 Sep 2024 16:13:27 +0000 (16:13 +0000)
committerPJ Fanning <fanningpj@apache.org>
Thu, 19 Sep 2024 16:13:27 +0000 (16:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1920795 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/test/java/org/apache/poi/xddf/usermodel/TestNecessaryOOXMLClasses.java
src/resources/ooxml-lite-report.clazz
src/resources/ooxml-lite-report.xsb

index 77971ba982e1aff2a76d665e78362517723cc8b2..548b456c9455df25580190eb9f1a77f9423352dd 100644 (file)
@@ -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
index ebecc115411668d16a5e6c54eeac22d570a446db..144216dba8a968199250e03ce61ec15cfa3e44e8 100644 (file)
@@ -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
index dbe2b16d00c7a04c81a37c152ed7b5db1134ee95..e058876cc78d0ad0520981b96de510817760c224 100644 (file)
@@ -1183,3 +1183,5 @@ ctpivotarea26cetype
 ctpivotareareferencesaef6type
 ctpivotareareferencee5a5type
 ctindex5371type
+stholesizepercenta3d2type
+stholesizeubyte577atype