Features
@@ -549,7 +550,54 @@
-
+
+
+ Export PowerPoint slides into java.awt.Graphics2D
+
+ HSLF provides a way to export slides into images. You can capture slides into java.awt.Graphics2D object (or any other)
+ and serialize it into a PNG or JPEG format. Please note, although HSLF attempts to render slides as close to PowerPoint as possible,
+ the output might look differently from PowerPoint due to the following reasons:
+
+
+
Java2D renders fonts differently vs PowerPoint. There are always some differences in the way the font glyphs are painted
+
HSLF uses java.awt.font.LineBreakMeasurer to break text into lines. PowerPoint may do it in a different way.
+
If a font from the presentation is not avaiable, then the JDK default font will be used.
+
+
+ Current Limitations:
+
+
+
Some types of shapes are not yet supported (WordArt, complex auto-shapes)
+
Only Bitmap images (PNG, JPEG, DIB) can be rendered in Java