You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2020/12/04 14:17:55 UTC

svn commit: r1884096 - /poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java

Author: fanningpj
Date: Fri Dec  4 14:17:55 2020
New Revision: 1884096

URL: http://svn.apache.org/viewvc?rev=1884096&view=rev
Log:
try to add missing classes to poi-ooxml-schemas (needed for new example)

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java?rev=1884096&r1=1884095&r2=1884096&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/TestNecessaryOOXMLClasses.java Fri Dec  4 14:17:55 2020
@@ -19,8 +19,7 @@ package org.apache.poi.xslf;
 
 import org.junit.Assert;
 import org.junit.Test;
-import org.openxmlformats.schemas.presentationml.x2006.main.CTHeaderFooter;
-import org.openxmlformats.schemas.presentationml.x2006.main.STPlaceholderSize;
+import org.openxmlformats.schemas.presentationml.x2006.main.*;
 
 // aim is to get these classes loaded and included in poi-ooxml-schemas.jar
 public class TestNecessaryOOXMLClasses {
@@ -31,5 +30,22 @@ public class TestNecessaryOOXMLClasses {
         Assert.assertNotNull(stPlaceholderSize);
         CTHeaderFooter ctHeaderFooter = CTHeaderFooter.Factory.newInstance();
         Assert.assertNotNull(ctHeaderFooter);
+        //the following are used in LinkVideoToPptx example
+        STTLTimeIndefinite sttlTimeIndefinite = STTLTimeIndefinite.Factory.newInstance();
+        Assert.assertNotNull(sttlTimeIndefinite);
+        STTLTimeNodeFillType sttlTimeNodeFillType = STTLTimeNodeFillType.Factory.newInstance();
+        Assert.assertNotNull(sttlTimeNodeFillType);
+        STTLTimeNodeRestartType sttlTimeNodeRestartType = STTLTimeNodeRestartType.Factory.newInstance();
+        Assert.assertNotNull(sttlTimeNodeRestartType);
+        STTLTimeNodeType sttlTimeNodeType = STTLTimeNodeType.Factory.newInstance();
+        Assert.assertNotNull(sttlTimeNodeType);
+        CTExtension ctExtension = CTExtension.Factory.newInstance();
+        Assert.assertNotNull(ctExtension);
+        CTTLCommonMediaNodeData cttlCommonMediaNodeData = CTTLCommonMediaNodeData.Factory.newInstance();
+        Assert.assertNotNull(cttlCommonMediaNodeData);
+        CTTLCommonTimeNodeData cttlCommonTimeNodeData = CTTLCommonTimeNodeData.Factory.newInstance();
+        Assert.assertNotNull(cttlCommonTimeNodeData);
+        CTTimeNodeList ctTimeNodeList = CTTimeNodeList.Factory.newInstance();
+        Assert.assertNotNull(ctTimeNodeList);
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org