Browse Source

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
tags/REL_3_8_BETA5
Nick Burch 12 years ago
parent
commit
bd6b5d2494

+ 0
- 1
src/ooxml/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java View File

@@ -337,7 +337,6 @@ public class XMLSlideShow extends POIXMLDocument {
}
return imageNumber - 1;
}

public XSLFTableStyles getTableStyles(){
return _tableStyles;
}

+ 8
- 0
src/ooxml/testcases/org/apache/poi/xslf/TestXSLFBugs.java View File

@@ -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
}
}

BIN
test-data/slideshow/with_japanese.pptx View File


Loading…
Cancel
Save