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