mirror of https://github.com/apache/poi.git
HSLF docs updated: added a note on using HSLF when graphical environment is not avaiable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@535929 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5c789d18d3
commit
8ffd79b368
|
@ -118,6 +118,13 @@
|
||||||
</section>
|
</section>
|
||||||
<anchor id="Shapes"/>
|
<anchor id="Shapes"/>
|
||||||
<section><title>Drawing a shape on a slide</title>
|
<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 environment
|
||||||
|
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>
|
||||||
<p>
|
<p>
|
||||||
When you add a shape, you usually specify the dimensions of the shape and the position
|
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
|
of the upper left corner of the bounding box for the shape relative to the upper left
|
||||||
|
|
Loading…
Reference in New Issue