a_paturi
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by a_paturi
-
-
I created a report and it displays correctly in PDF. When I am exporting the report to HTML i am having 2 issues.
1. When I export to HTML using "exportReportToHtmlFile " the layout of the report is not spread out like PDF. The report occupies the whole page in PDF but in HTML the report occupies only 50% of the page (center of the page)
2. When I try to ouput the report to browser directly the report contains blank images and does not display correctly.
I am attaching the displays in a zipped word document
Code i am using to display in browser:
PrintWriter out = response.getWriter(); JRHtmlExporter exporter = new JRHtmlExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jPrint); exporter.setParameter(JRExporterParameter.OUTPUT_WRITER, out); exporter.exportReport(); [file name=rpt_query.zip size=160064]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/rpt_query.zip[/file]
Post edited by: a_paturi, at: 2007/01/31 21:49
-
I am generating a report and printing the PDF output in the current browser window. But I want the PDF report to be printed in a separate browser window.
-
I recently started working on iReports 1.2.8 and Scriptlets within iReports and encountered a problem when integrating my report with a Java Struts Action
class. I have a report and scriptlet created in iReport.
The action class throws a runtime error saying “Error loading Scriptlet classâ€. I am not sure how to resolve this issue. Do i have to specify the path to the scriptlet in my action class?
Any help would be greatly appreciated.
Thank you in advance
export to HTML problem
in Products
Posted
I could fix the issue # 2. But i still have problem with 1.
I had to pass another parameter to the exportReport.
exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, new Boolean(false));