From: PJ Fanning Date: Thu, 19 Sep 2024 16:13:27 +0000 (+0000) Subject: try to add more chart related classes to poi-ooxml-lite X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=89ef0de42e92951a5641d2d77523e6b25e789b25;p=poi.git 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 --- 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