The RtfShape provides the interface for adding shapes to
the RTF document. This will only work for Word 97+, older
Word versions are not supported by this class.
Only very simple shapes are directly supported by the RtfShape.
For more complex shapes you will have to read the RTF
specification (iText follows the 1.6 specification) and add
the desired properties via the RtfShapeProperty.
One thing to keep in mind is that distances are not expressed
in the standard iText point, but in EMU where 1 inch = 914400 EMU
or 1 cm = 360000 EMU.
version: $Id: RtfShape.java 2844 2007-06-19 11:41:07Z psoares33 $ author: Mark Hall (mhall@edu.uni-klu.ac.at) author: Thomas Bickel (tmb99@inode.at)
Constant for a free form shape. The shape verticies must
be specified with an array of Point objects in a
RtfShapeProperty with the name PROPERTY_VERTICIES.
Constructs a new RtfShape of a given shape at the given RtfShapePosition.
Parameters: type - The type of shape to create. Parameters: position - The RtfShapePosition to create this RtfShape at.
Writes the RtfShape. Some settings are automatically translated into
or require other properties and these are set first.
RtfShape.writeContent(OutputStream)