mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
remove temp test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925871 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
35a6ae72be
commit
d189f69333
@ -1,21 +0,0 @@
|
||||
package org.apache.poi.hslf;
|
||||
|
||||
import org.apache.poi.hslf.usermodel.*;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import java.io.FileOutputStream;
|
||||
|
||||
public class TestHSLF {
|
||||
@Test
|
||||
public void testHSLF() throws Exception {
|
||||
HSLFSlideShow ppt = new HSLFSlideShow();
|
||||
HSLFSlide slide = ppt.createSlide();
|
||||
//HSLFTextBox title = slide.createTextBox();
|
||||
HSLFTextBox title = slide.addTitle();
|
||||
title.setText("Hello, World!");
|
||||
// save changes
|
||||
FileOutputStream out = new FileOutputStream("slideshow.ppt");
|
||||
ppt.write(out);
|
||||
out.close();
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user