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

jimjohn

Members
  • Posts

    22
  • Joined

  • Last visited

jimjohn's Achievements

Contributor

Contributor (5/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Hi How can i give names to excel sheet generating using Jasper ? I am using JExcelApiExporter for generating excel. Thanks in Advace
  2. Hii For devlopment environment we are using tomcat and windows as OS.But we have deployed our application in Webspher and linux server. The problem is i am facing is defference in sapce in Jasper Reports. Ie in live it is taking more space than in devlopment . For the same report Vertical spacings are different. How can i fix this problem?Wat is the root cause of this problem? Can anybody help me Thnaks in Advance
  3. Hii Can u canvert a JasperPrint object to JPEG or TIF dynamically ? Thanks In Advance Jim John
  4. Hii I am converting my Jasper to excel using the following code. JExcelApiExporter exporterXLS = new JExcelApiExporter(); exporterXLS.setParameter(JExcelApiExporterParameter.JASPER_PRINT,jsperPrintObject); exporterXLS.setParameter( JExcelApiExporterParameter.IS_DETECT_CELL_TYPE,Boolean.TRUE); exporterXLS.setParameter(JExcelApiExporterParameter.IS_WHITE_PAGE_BACKGROUND,Boolean.TRUE); exporterXLS.setParameter(JExcelApiExporterParameter.IS_FONT_SIZE_FIX_ENABLED,Boolean.TRUE); exporterXLS.setParameter(JExcelApiExporterParameter.IS_AUTO_DETECT_CELL_TYPE,Boolean.TRUE); exporterXLS.setParameter(JExcelApiExporterParameter.IS_ONE_PAGE_PER_SHEET,Boolean.TRUE); exporterXLS.setParameter(JExcelApiExporterParameter.OUTPUT_FILE_NAME,fileName + ".xls"); exporterXLS.setParameter(JExcelApiExporterParameter.OUTPUT_STREAM,output); In Ms excel output format is fine .But in Open office alignment get lost.. Is there any other things which i hve to add in Code in Order to get same out put in Open Office.? Thanking You Jim
  5. Hii I have a JasperReport instance with me. I want to convert it to Excel format and obtain the result as JasperPrint instance. Can anybody help me? Thanks in Advance.. Jim John
  6. Hiii As per my knowledge we cannot use if else in ireport. But you can achive the same result by using formulas ( <condition> ? exp1 : exp2 ) it is equalent to if(condion) { exp1 } else { exp2 } Further questions pls feel free to contact .Next time give with example. Thanks jim
  7. jimjohn

    New Page

    pls try this A group's minHeightToStartNewPage attribute works in the following manner: when the group header is to be rendered, if the remaining vertical space on the page is less than the value of this attribute, then a page break occurs and the group header is rendered on the new page. Is this what you intended? Setting the minHeightToStartNewPage attribute to a value lower than the group header's height does not make sense. If you want to group to start a new page, set the isStartNewPage attribute to "true". HTH, Lucian
  8. jimjohn

    New Page

    Hii friends I my group height is 37. i have checked start on a new page option to true and set minimum height to start a new page as 35. but it is not starting on a new page . i am strugling with the problem for 2 days. is there any other way to accomplish the same without using /n? can anybody help me ? Thanks in advance Post Edited by jim john at 12/06/08 09:24
  9. jimjohn

    WordWrap

    OUTSTANDING DOCUMENT - AUTOÂREMINDERÂTOÂWORKSHOPÂFORÂNONÂSUBMISSIONÂOFÂSCENEÂOFÂACCIDENTÂPHOTOGRAPHS, BUSINESSÂREGISTRATIONÂCARDÂFORMÂ24, BUSINESSÂREGISTRATIONÂCARDÂFORMÂ9, ENDTÂ2FÂ-ÂDRIVINGÂLICENSEÂLESSÂTHANÂ2ÂYEARS When i put the above text in text box worrd wraping is not wokring.Can u help me
  10. jimjohn

    WordWrap

    Hii I am using iReport 3.0 .Is it possible to add word wrap feacture for TextBox control? I am binding data into text box dynamically. Thanks in advance Jim
  11. Hi i want to do cheque printing using Jasper Design? Did any body know the diamention i have to give in Jasper Design? I am using international standeard size cheque. Thanks in advance
  12. Hiii.. I have put an image in report .But is not getting displayed .No error is throwing. Report is returned as bytes. My code is as follows Code:<image evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="32" width="141" height="43" backcolor="#CCCCCC" key="image-3" stretchType="RelativeToBandHeight" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"> <printWhenExpression><![CDATA[new Boolean($P{HeaderFooter}.equalsIgnoreCase("TRUE")?true:false)]]></printWhenExpression> </reportElement> <box></box> <graphicElement stretchType="RelativeToBandHeight"/> <imageExpression class="java.io.File"><![CDATA[new File($P{ContextPath},"/images/img.jpg")]]></imageExpression> </image>
  13. Hi How can i display a static subreport in a report.? What i should i give in the connection/data source field? Thaks in advance Jim
  14. Hi I want to display a static subrepor. Now i have include the subreport and set DataSourceExpression as Dont use connection or data source. I am not getting the subreport displayed. No error is throwing Help me Thanks in advance Jim John
×
×
  • Create New...