Native PPT charts (MS Chart control) are not supported. However, you can draw charts using a PPT Graphics2D driver included in HSLF. See slides 9-10 on http://people.apache.org/~yegor/apachecon_eu08/apachecon.ppt

This source code is in svn:
http://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/hslf/examples/ApacheconEU08.java

With this approach you can use a third-party chart library that supports rendering via java.awt.Graphics2D and translate AWT calls into PowerPoint primitives.


Yegor

hi,

I want to generate editable bar graphs, line charts, pie charts in ppt using
JAVA. I came to know that it is only possible to insert these as images but
not as editable datasheets on to ppt.

Can somebody please help me identify if there is a way to do so. If possible
please share snippets of the code.

Many thanks,
Wac


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to