mirror of https://github.com/apache/poi.git
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:
parent
00e43b57ce
commit
bd6b5d2494
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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.
Loading…
Reference in New Issue