diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2020-12-04 19:59:16 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2020-12-04 19:59:16 +0000 |
commit | 6d1a5e0db92e0c354791fd960e99e0b7a1c7e82b (patch) | |
tree | 3233c04de82315074205276377a9d05adbc58b68 /src | |
parent | 30556a2e58efa0cccdea31f71f515a9cd42a7fd8 (diff) | |
download | poi-6d1a5e0db92e0c354791fd960e99e0b7a1c7e82b.tar.gz poi-6d1a5e0db92e0c354791fd960e99e0b7a1c7e82b.zip |
add more classes for LinkVideoToPptx example
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884114 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFExamples.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFExamples.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFExamples.java index b0a36beb4f..87d73c96ea 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFExamples.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFExamples.java @@ -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(); |