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
This commit is contained in:
Nick Burch 2011-09-14 14:39:20 +00:00
parent 00e43b57ce
commit bd6b5d2494
3 changed files with 8 additions and 1 deletions

View File

@ -337,7 +337,6 @@ public class XMLSlideShow extends POIXMLDocument {
} }
return imageNumber - 1; return imageNumber - 1;
} }
public XSLFTableStyles getTableStyles(){ public XSLFTableStyles getTableStyles(){
return _tableStyles; return _tableStyles;
} }

View File

@ -55,4 +55,12 @@ public class TestXSLFBugs extends TestCase {
assertEquals("/ppt/slides/slide1.xml", slidePart.getRelationship("rId3").getTargetURI().toString()); assertEquals("/ppt/slides/slide1.xml", slidePart.getRelationship("rId3").getTargetURI().toString());
assertEquals("/ppt/media/image1.png", slidePart.getRelationship("rId4").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
}
} }

Binary file not shown.