Jump to content
Changes to the Jaspersoft community edition download ×

yogarajkhanal

Members
  • Posts

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

  1. Teodor, Any ideas for my problem listed below. http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=63599 Thanks a lot for your earlier guidance and help. Regards, Yogaraj
  2. Jasper Reports does it for free why do we need to pay for Aspose??
  3. Hi, I have a template created in word as .docx I am able to open the docx and do save as .doc This is a manual process that client doesn't like. Can I do anything from jasper programatically to automate this process. Its urgent and I appreciate your feedback in this matter. Thanks, Yogaraj
  4. dtoffe, Blank page is not problem for me any more. I was able to resolve it by setting first page height and width and then character height and width. Not the problems in that in some cases i am gettting single line spaces and in some cases i am getting two althogh i have allocated same pixel in all cases. i mean top left width and height are perfect in all cases so i don't know why does it take more gap in some cases while ok for other.
  5. Hi, I managed to set the parameters as below to look more closer to what i wanted. exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, baos); exporter.setParameter(JRTextExporterParameter.PAGE_HEIGHT, new Integer(55)); exporter.setParameter(JRTextExporterParameter.PAGE_WIDTH, new Integer(80)); exporter.setParameter(JRTextExporterParameter.CHARACTER_WIDTH, new Integer(8)); exporter.setParameter(JRTextExporterParameter.CHARACTER_HEIGHT, new Integer(19)); But sitll i see some spaces in some places where i don't want. May be some simple thing i am missing? Please find my template and results below. Thanks for your earlier suggestions and hope to hear back from you.
  6. my new template and jrxml for the reference. Thanks, Yogaraj
  7. Thanks C-Box for your response. According to your suggestion i have adjusted my page to A4 size now I am able to confine the reports in one page But now i am running into line spaces problem can you please tell me how do i resolve them These are the parameters i am setting now exporter.setParameter(JRTextExporterParameter.PAGE_HEIGHT, new Integer(55)); exporter.setParameter(JRTextExporterParameter.PAGE_WIDTH, new Integer(80)); i see that there is character width and height but i don't know how to set that to control line spacing here are my jrxml and template for your reference. Again thanks a lot for your suggestion. Regards, Yogaraj
  8. i am able to set page width and height on what basis do you set character width and height relative to page hope to hear back from you soon. Thanks, Yogaraj
  9. hi, I didn't figure out why i am getting the blank line after my documents. I got three page report with all my data in first page and later two blank. Can you please point what i might be missing? Again thanks a lot for suggestion i really appreciate your feedback. Yogaraj
  10. Any one have used JRDocxExporter and faced the issue so far? I am running out of the ideas what might be wrong here? From my side or Jasper Reports side. I am waiting for the feedback. Yogaraj Khanal
  11. Teodor, I am getting lines in the docx document.Am I doing something wrong? 1)Placed JR 3.5.3 jar in class path 2)Backing bean: JRDocxExporter exporter = new JRDocxExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, baos); 3)Jsp <ice:outputResource resource="#{blaCommunicationBackingBean.downloadRtfForBla}" label="Generate Template" styleClass="squarebutton" fileName="ccmtemplateforbla.docx"/>:
  12. Please find the attached generated DOCX document for reference.Also the corresponding jrxml. Yogaraj
  13. Hi, I tried newly released DOCX exporter and genenated report. Eeverything went well but i see grid coming in the document. Anything I am doing worng? 1)pleaces JR 3.5.3 jar on classpath 2)JSF/Jsp <ice:outputResource resource="#{blaCommunicationBackingBean.downloadRtfForBla}" label="Generate Template" styleClass="squarebutton" fileName="ccmtemplateforbla.docx" mimeType="application/docx" /> 3)Backing bean JRDocxExporter exporter = new JRDocxExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, baos); exporter.exportReport();
  14. Thanks Tedor, I was anxiously waiting for it. I appriciate your help and monitor works. Yogaraj
  15. Teodor, Do you have any good solution to this issue? I am having the same problem. Regards, Yogaraj
  16. I am sorry I should have tried all options first. Its getting 5 and i wanted to wrap my work so tried getting feedback from user community. Anyway figured that out before you send me the suggestions. I was opening new thread with the hope that if new users find the similar problems they will have more references. I will read next time before I post. Thanks for your suggestion. Yogaraj
  17. When will JR 3.5.3 released ?I am anxiously waiting for it. Yogaraj
  18. Hi, I was able to hide the static text for the null values using following code new Boolean($P{rtf}!=null) But now I have another problem how do i make up the space left by these blank field with corresponding letter dynamically? Regards, Yogaraj
  19. Keerthi, Do you know how do automatically shift the spaces up after i hide the static test by the field below it so that there is no gap in the page.Hope to hear back from you soon. Thanks, Yogaraj
  20. new Boolean($P{rtf}!=null) solved my problem if any one have similar problem please contact me
  21. Hi, I was wondering that if you have doc exporter availble. Somewhere I read that you are going to include it soon. Thanks, Yogaraj
  22. Hi Keerthi, I tried as below but didn't work.Anything I am doing wrong here? <staticText> <reportElement x="17" y="286" width="420" height="19" key="staticText-19" isRemoveLineWhenBlank="true"> <printWhenExpression><![CDATA[new Boolean($P{rtf}==null)]]></printWhenExpression> </reportElement> <box></box> <textElement> <font fontName="Times New Roman" pdfFontName="Helvetica-Bold" size="12" isBold="true"/> </textElement> <text><![CDATA[Refusal to File Reasons:]]></text> </staticText>
  23. hi, I have attached the jrxml that i am using to make fond size 12 font type times new roman and bold. When i compile on iReport i see those changes but when i am running from my program i see don't see those. Any ideas what i am doing wrong? I am exporting like this JRTextExporter exporter = new JRTextExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, baos); exporter.setParameter(JRTextExporterParameter.CHARACTER_WIDTH, new Integer(10)); exporter.setParameter(JRTextExporterParameter.CHARACTER_HEIGHT, new Integer(10)); exporter.exportReport(); Looking forward to hear from you. Thanks, Yogaraj
  24. hi, in my report template i have static text field for the labels and correspoding name filed for the parameter that i will pass from my program. So my use case is like this First Name:Yogaraj Middle Name:Null Last Name:Khanal I have to remove the static text field Middle Name when the value is null can you please tell me how do i achieve it? I saw something called print when expression in the properties of static text i am not sure if that will solve it ?can you please give me small example of print when expression if that solves it? Thanks, Yogaraj
  25. Teodor, I appreciate your suggestion and quick response. With good users community and valueable responses from development team like you I want to see JR as default reporting in future. Thanks, Yogaraj
×
×
  • Create New...