diff options
author | Nick Burch <nick@apache.org> | 2011-09-14 14:39:20 +0000 |
---|---|---|
committer | Nick Burch <nick@apache.org> | 2011-09-14 14:39:20 +0000 |
commit | bd6b5d24947b58629a0f816fb464994a7ac829ea (patch) | |
tree | 0b591c25dfb8ef5abb69d6a950b2f6939653ec9a | |
parent | 00e43b57cebfcfe87732d61fd7569fbf5907550e (diff) | |
download | poi-bd6b5d24947b58629a0f816fb464994a7ac829ea.tar.gz poi-bd6b5d24947b58629a0f816fb464994a7ac829ea.zip |
Start on a testcase for TIKA-705 (more work needed though)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170648 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/ooxml/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java | 1 | ||||
-rw-r--r-- | src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java | 8 | ||||
-rw-r--r-- | test-data/slideshow/with_japanese.pptx | bin | 0 -> 48011 bytes |
3 files changed, 8 insertions, 1 deletions
diff --git a/src/ooxml/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java b/src/ooxml/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java index 2491f68a78..b376d1f783 100644 --- a/src/ooxml/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java +++ b/src/ooxml/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java @@ -337,7 +337,6 @@ public class XMLSlideShow extends POIXMLDocument { } return imageNumber - 1; } - public XSLFTableStyles getTableStyles(){ return _tableStyles; } diff --git a/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java b/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java index 332164f8fa..ba49341a2e 100644 --- a/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java +++ b/src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java @@ -55,4 +55,12 @@ public class TestXSLFBugs extends TestCase { assertEquals("/ppt/slides/slide1.xml", slidePart.getRelationship("rId3").getTargetURI().toString()); assertEquals("/ppt/media/image1.png", slidePart.getRelationship("rId4").getTargetURI().toString()); } + + /** + * Slide relations with anchors in them + */ + public void testTIKA705() { + XMLSlideShow ss = XSLFTestDataSamples.openSampleDocument("with_japanese.pptx"); + // TODO Check the details including the links + } } diff --git a/test-data/slideshow/with_japanese.pptx b/test-data/slideshow/with_japanese.pptx Binary files differnew file mode 100644 index 0000000000..432a8061a3 --- /dev/null +++ b/test-data/slideshow/with_japanese.pptx |