> - Is it possible to embed Fonts in a PowerPoint file by using the API? It's
> possible to do it by using an existing PowerPoint file master, but I would
> like to do it when I encounter a Font which does not exist in the
> FontCollection. For example is it possible to create a new PPFont "from
>

HSLF does not support embedding of fonts, you can only reference external
fonts by name.


> scratch" using an existing TTF file, and add it to the collection?
> - Is it possible to group Shapes? I tried to use ShapeGroups, but the
> resulting PPT file still did not have groups of Shapes
>

Yes, you can do that.

There are many examples in the HSLF unit tests, for example,
https://svn.apache.org/repos/asf/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestShapes.java#
testShapeGroup()


Regards,
Yegor

Reply via email to