mirror of https://github.com/apache/poi.git
add more classes for LinkVideoToPptx example
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884114 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
30556a2e58
commit
6d1a5e0db9
|
@ -28,6 +28,7 @@ import java.net.URISyntaxException;
|
|||
|
||||
import javax.xml.namespace.QName;
|
||||
|
||||
import org.apache.poi.POIDataSamples;
|
||||
import org.apache.poi.openxml4j.opc.PackagePart;
|
||||
import org.apache.poi.openxml4j.opc.PackageRelationship;
|
||||
import org.apache.poi.openxml4j.opc.TargetMode;
|
||||
|
@ -55,7 +56,7 @@ public class TestXSLFExamples {
|
|||
@Test
|
||||
public void LinkVideoToPptx() throws IOException, URISyntaxException {
|
||||
String videoFileName = "file_example_MP4_640_3MG.mp4";
|
||||
File previewJpg = new File("test-data/document/abstract1.jpg");
|
||||
File previewJpg = POIDataSamples.getDocumentInstance().getFile("abstract1.jpg");
|
||||
|
||||
XMLSlideShow pptx = new XMLSlideShow();
|
||||
|
||||
|
|
Loading…
Reference in New Issue