poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ye...@apache.org
Subject svn commit: r535929 - /jakarta/poi/trunk/src/documentation/content/xdocs/hslf/how-to-shapes.xml
Date Mon, 07 May 2007 17:09:34 GMT
Author: yegor
Date: Mon May  7 10:09:31 2007
New Revision: 535929

URL: http://svn.apache.org/viewvc?view=rev&rev=535929
HSLF docs updated: added a note on using HSLF when graphical environment is not avaiable


Modified: jakarta/poi/trunk/src/documentation/content/xdocs/hslf/how-to-shapes.xml
URL: http://svn.apache.org/viewvc/jakarta/poi/trunk/src/documentation/content/xdocs/hslf/how-to-shapes.xml?view=diff&rev=535929&r1=535928&r2=535929
--- jakarta/poi/trunk/src/documentation/content/xdocs/hslf/how-to-shapes.xml (original)
+++ jakarta/poi/trunk/src/documentation/content/xdocs/hslf/how-to-shapes.xml Mon May  7 10:09:31
@@ -118,6 +118,13 @@
                 <anchor id="Shapes"/>
                 <section><title>Drawing a shape on a slide</title>
+        <warning>
+    To work with graphic objects HSLF uses Java2D classes
+    that may throw exceptions if graphical environment is not available. In case if graphical
+    is not available, you must tell Java that you are running in headless mode and
+    set the following system property: <code> java.awt.headless=true </code>
+    (either via <code>-Djava.awt.headless=true</code> startup parameter or via
<code>System.setProperty("java.awt.headless", "true")</code>).
+        </warning>
                      When you add a shape, you usually specify the dimensions of the shape
and the position
                      of the upper left corner of the bounding box for the shape relative
to the upper left

To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

View raw message