2004 IR Help Posted August 20, 2006 Share Posted August 20, 2006 By: Moss - moss123 Rendering HtmlExporter's Output JeditorPane 2005-02-21 04:16 Hi, I wish to render the HTML output of exportReportToHtmlFile() in a JEditorPane The rendered HTML looks unpresentable because of following reasons. 1. The HTML Report is always centre aligned. This leaves quite a lot of white space (25%) to the left of the JEditor Pane. How can I make the report Left Aligned ? 2. There exists a lot of white space/Lines between the rows of the report. How can I eliminate empty spaces. I have already tried exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN,Boolean.FALSE); exporter.setParameter(JRHtmlExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS,Boolean.TRUE); without much success with jeditorPane's Renderring of the resulting HTML. The HTML output given by Jasper renders perfectly fine using IE or Netscape. Can one get an HTML output from Jasper Reports Exportl manager which can be rendered using JEditor Pane's limitations ? Thanks, Moss. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now