158159160161162163164165166167168
HtmlProcessor pr = new HtmlProcessor(jfreeReport); pr.setStrictLayout(false); pr.setGenerateXHTML(true); pr.setFilesystem(new StreamHtmlFilesystem(out)); pr.processReport(); } output.setContent(out.toByteArray()); return output;