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:
Andreas Beeker 2020-12-04 19:59:16 +00:00
parent 30556a2e58
commit 6d1a5e0db9
1 changed files with 2 additions and 1 deletions

View File

@ -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();