* @param transform transform to apply to the template prior to adding it.
     */
    public void addImage(final Image image, final AffineTransform transform) throws DocumentException {
    	double matrix[] = new double[6];
    	transform.getMatrix(matrix);
    	addImage( image, (float)matrix[0], (float)matrix[1], (float)matrix[2],
    			  (float)matrix[3], (float)matrix[4],(float) matrix[5], false );
    }