Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
Graphics2DDemo - Apache POI PowerPoint Slides Example
What is Graphics2DDemo example in the Apache POI package? How to run Graphics2DDemo example?
✍: FYIcenter.com
Graphics2DDemo example in the Apache POI package is created by Yegor Kozlov.
It provides a simple bar chart demo in *.ppt format.
Graphics2DDemo example uses the Horrible Slide Layout Format (HSLF) API, which supports PowerPoint slides in *.ppt format only.
Here is the command to run Graphics2DDemo to generate PowerPoint slide file in *.ppt file format compatible with Microsoft PowerPoint 97 version.
C:\fyicenter>c:\local\jdk-1.8.0\bin\java -cp .;C:\local\poi-3.15\poi-examples-3.15.jar; C:\local\poi-3.15\poi-3.15.jar; C:\local\poi-3.15\poi-scratchpad-3.15.jar org.apache.poi.hslf.examples.Graphics2DDemo
If you open the output file, hslf-graphics.ppt, in PowerPoint, you will see a slide with a bar chart:
⇒ PPT2PNG - Apache POI PowerPoint Slides Example
⇐ BulletsDemo - Apache POI PowerPoint Slides Example
2017-02-08, ∼1948🔥, 0💬
Popular Posts:
JDK 17 jdk.localedata.jmod is the JMOD file for JDK 17 Localedata module. JDK 17 Locale Data module ...
ANTLR is a powerful parser generator for multiple programming languages including Java. ANTLR contai...
Apache Log4j SLF4J Binding allows applications coded to the SLF4J API to use Log4j 2 as the implemen...
JLayer is a library that decodes/plays/converts MPEG 1/2/2.5 Layer 1/2/3 (i.e. MP3) in real time for...
What Is poi-ooxml-3.5.jar? poi-ooxml-3.5.jar is one of the JAR files for Apache POI 3.5, which provi...