At the moment POI HSLF supports only 20 built-in shapes out of 255 defined in the .ppt format. Shape outlines are defined in http://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/AutoShapes.java

Outlines are described in terms of java.awt.GeneralPath, this approach is more or less corresponds to how shapes are described in the specification.

AutoShapes.java is easily extendable, to add more shapes you are advised to read the Office Drawing Specification which is avaiable at http://www.microsoft.com/interop/docs/OfficeBinaryFormats.mspx and define more shape outlines.


I'm also interested in converting pptx files to images, but I still can't
find any working example; can anybody explain me how to do it?


Rendering of PPTX files is not yet supported. Implementation of the .pptx format is in our plans, but it won't be earlier than the end of 2009.

Regards,
Yegor


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

Reply via email to