remove test debug stuff

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722556 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andreas Beeker 2016-01-01 19:45:30 +00:00
parent 9072855208
commit f5a24203b8

View File

@ -418,19 +418,4 @@ public class TestXSLFBugs {
ss.close();
}
@Test
public void testLayout() throws IOException {
XMLSlideShow ppt = new XMLSlideShow();
InputStream picIn = POIDataSamples.getSlideShowInstance().openResourceAsStream("clock.jpg");
XSLFPictureData pd = ppt.addPicture(IOUtils.toByteArray(picIn), PictureType.JPEG);
picIn.close();
XSLFSlide slide = ppt.createSlide();
XSLFPictureShape ps = slide.createPicture(pd);
ps.setAnchor(new Rectangle(100, 100, 100, 100));
FileOutputStream fos = new FileOutputStream("picbla.pptx");
ppt.write(fos);
fos.close();
ppt.close();
}
}