> > For the chart stuff, if you point me in the right direction, I'll try to > take a crack at the code. >
believe me, it won't be a easy task :) For a start you can take a sample .pptx file with a chart, unzip it and examine the contents. You want to look at slide.xml and its relationships. Start with a simple type (bar or pie chart) and see how the drawing area changes with the data, what happens when you change the legend, color, etc. To understand what all those xml tags mean you will need the OOXML spec which can be downloaded from http://www.ecma-international.org/publications/standards/Ecma-376.htm I used this reverse-engineering based approach when I wrote the pptx->png converter. Regards, Yegor > Thanks, > Lou > > Yegor Kozlov <[email protected]> wrote on 2012-08-08 02:44:30 AM: > >> Yegor Kozlov <[email protected]> >> 2012-08-08 02:44 AM >> >> Please respond to >> "POI Users List" <[email protected]> >> >> To >> >> POI Users List <[email protected]>, >> >> cc >> >> Subject >> >> Re: pptx->png missing chart and symbols >> >> > >> > 1. My chart disappears in the png. >> >> rendering charts is not yet supported >> >> > 2. Certain special characters (alpha, beta) are being rendered as > boxes >> > (guessing this is a font/Graphics2D issue). >> > >> >> What font are you using for the special characters? Java can render >> only unicode fonts. If you are using Wingdings or Symbol then try to >> find equivalents in Arial Unicode MS and make sure this font is >> avaliable to Java. >> >> Yegor >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
