Jump to content
We've recently updated our Privacy Statement, available here ×

indhira

Members
  • Posts

    7
  • 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

Everything posted by indhira

  1. Hi Andrei, I understood from the attached jrxml that u have used different fonts for each text component. But the pdf font which u have chosed is Helvitica. So if u export the jrml to pdf and view it in acrobat reader the font will be helvitica and not the one specified by u. But u can see the fonts specified by u by viewing the jrxml in reports viewer. Regards, Indhira P
  2. Hi If ur content in detail band is more it may generate an extra blank page. Try to split ur contents in to two details band. zIt may help u. Reg the back ground image can u be precise with wat is happening in ur reports now? Regards, Indhira P
  3. Hi all, I am trying to generate a HTML report with images. I am using image servlet. It is opening fine in same browser, but if i try to open it in different browser am not getting the images. When i tried to view the source i found the following error: javax.servlet.ServletException: No JasperPrint documents found on the HTTP session. net.sf.jasperreports.j2ee.servlets.ImageServlet.service(ImageServlet.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) Any help appreciated. Thanks and Regards, Indhira Pannirselvam.
  4. Hi, You can put the subreport in detail band and set the property strech with over flow. If u do in this way, you can have more than two sub reports without overlapping. And for print when expression the comand shld be in this way new Boolean( $P{detalle}.matches( "checked" ) ))? Boolean.TRUE : Boolean.FALSE Hope this shld help u. Regards, Indhira P :)
  5. Hi, You can open a csv file by using JRCsvExporter instance. set jasper print object to this instance and export the report. JRCsvExporter exporterCSV = new JRCsvExporter(); exporterCSV.setParameter(JRXlsExporterParameter.JASPER_PRINT, jasperPrint); exporterCSV.setParameter(JRXlsExporterParameter.OUTPUT_STREAM, byteArrayOutputStream); exporterCSV.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS, true); exporterCSV.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, true); exporterCSV.setParameter(JRXlsExporterParameter.IS_WHITE_PAGE_BACKGROUND, true); exporterCSV.setParameter(JRXlsExporterParameter.IS_AUTO_DETECT_CELL_TYPE, true); exporterCSV.exportReport(); Regards, Indhira P
  6. Hi Can u plz attach ur source code to this thread. Can i add ellipsis feature to the text field if it overflows? Thanks Indhira :)
  7. Hi All, I am using Two fields in a sub report which are aligned one below the other. I am using horizontal print order with 6 columns in a row. if the value in the text field is more it either get truncated(if i place each field in seperate detail band) or wraps down and over laps the second field(if i place both the fields in a single detail band), thus unable to see the second field value. I understood that strech band or strech with overflow and float property will be set false when print order is horizontal from below sources. http://jasperreports.sourceforge.net/sample.reference/horizontal/index.html http://stackoverflow.com/questions/1205410/stretch-a-row-if-data-overflows-in-jasper-reports Is der any other way to fix it. * I have attached a sample xml data source and jrxml. Thanks in advance Regards, Indhira :)
×
×
  • Create New...