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

sudheer

Members
  • Posts

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

  1. very thank you, that worked very well. i am already using single frame, but i placed all properties line by line... now as u said i placed them overlapped.one upon other.and set the "print qwhen expression". so at any time my frame will show only property that matches the expression result. thanks once again. (There's no bounds..so think out of limits..i never ever ,just for testing purpose also ..have not tried with over lapping fields). it's a lession for me..we are softwre builders so we never dont need to bother about what if it fails..you can implement and try it for several times ..but other engineers ..say for example civil engineers they can build n test ...
  2. hi all, i think i should use the word form or frame kind...instead template. i have a list of items, if item type is "A" then i want to use first template/form/frame and if item type is "B" then use second template/form/frame... how can i achieve this. thanks, Sudheer. Post Edited by sudheer at 07/14/2011 06:38
  3. "Print When Detail Overflows" solved my problem.... thank you
  4. hey thanks for the reply.. text is getting wrapped and everything is working fine..except.. if my text is "some lengthy text ..... (15)Other non-relatuion (specify)"then its not displaying the end line properly in docx file. it is displaying horizantal upper part of the string..ref to attached image file if i change text to "some lengthy text + some more string"then it is working fine. i am not getting whats the problem. thanks, Sudheer
  5. i am using JasperReports 4.0.2. when i check the preview in internal preview of iReport it is showing properly.some text is missing. i am using "Srtetch with over flow". but the same is not showing properly in my MSWord document. what would be the cause.
  6. hi all, i have put all the bean properties in a frame. i have a bean with property TYPE. Depending on the type i need to change the back ground. also please suggest me if there is any alternative to frame.
  7. i am displaying two dynamic text fields one after one.first one is overlapping with the second text field. some times text is missing when i pre viewed in docx but showing completely in internal preview. what will be the problem....
  8. i found it..its in properties window only.. but its not a dropdown option..its given as check box
  9. yeah it is some what use ful.. i can set back ground color for this fram..so that i can show elements grouped. can grow/decrease size dynamically.
  10. i have a list of beans which contains 3 to 6 properties. i want to display them as a block set and block size should be fit to the elements .. which element should i use..what is the use of Frame..is it suitable for my requirement.
  11. hi all thanks..i found it..it's in tool --> options --> iReport --> compilation and execution --> compilation directory
  12. i created a report and compiled. i can find the location of .jrxml file ... how can i get the jasper file...am i need to compile programaticcally?
  13. i didnt fine "Stretch with overflow" option in my iReport UI tool..am i need to add any plugins ..iReport is updated only. there are only three stretch type .. 1.No Strech 2.Relative to Band Hieght 3.Relative to tallest Object but i didnt find "Stretch with overflow" ..i think some thing missing in my iReport UI tool??
  14. i added a text field and it is not showing full text..it is showing only upto the length of which i set in designer. in real time i will get very lengthy(several lines some times) text's how can i set ..so that all text is displayed ..also needed to go to next line
  15. hi all...in my requirement each record contains three to four elements. i need to show records in alternare colors. how can i achieve that. thanks..sudheer.k
  16. <?xml version="1.0" encoding="UTF-8"?> <root> <furniture> <chair> <cost> 1111 </cost> </chair> <chair> <cost> 2222 </cost> </chair> <table> <cost> 3333 </cost> <make>00#123</make> </table> <furniture> </root> how can i show a list of furniture using xml as data source...and setting xpath. if i need to display them in same order as in xml file. i can display list of chars and list of tables but not both. please suggest....
  17. hi all .. can i send a DefaultmutableTreeNode as java bean source..i need to show the details of jtree. thanks sudheer
  18. hi all i am trying to put data source as jdbc connection. in ireport -- services --drivers i could see org.h2.Driver driver. even i connected to data base and executed some quries. but the org.h2.Driver driver is not visible in the drop down of JDBC Driver in Data Base JDBC Connection window.
  19. ReportDataSourceService is in which jar. i am getting class not found. jasperreports-4.0.2.jar is in class path.
  20. hi all i am trying to connec to Spring loaded hibernate connection in iReport. what needs to be filled in name, Spring Configuration and session factory bean id fields. thanks.
  21. i have a tree like.. root --parent(narme,age) --child(name, age,...) please suggest me which method to follow..use xml as data source or sending hibernate objects? please suggest me any link if possible. thanks.
  22. JasperFillManager.fillReportToFile("C:/test/templates/CustomersReport.jasper", params); how can i solve this problem. calling this is giving me the exception.when i searched in net that i need to set dependencies. but i am using a simple java program in eclise..not runnning thru ant task how to set dependencies. i am adding the code snippet also. i just added the jars which are given in jasperreports-4.0.2-project. thanks, Sudheer Code:import java.io.File;import java.util.HashMap;import java.util.Locale;import java.util.Map;import net.sf.jasperreports.engine.JRExporterParameter;import net.sf.jasperreports.engine.JRParameter;import net.sf.jasperreports.engine.JasperFillManager;import net.sf.jasperreports.engine.JasperPrint;import net.sf.jasperreports.engine.export.ooxml.JRDocxExporter;import net.sf.jasperreports.engine.query.JRXPathQueryExecuterFactory;import net.sf.jasperreports.engine.util.JRLoader;import net.sf.jasperreports.engine.util.JRXmlUtils;import org.w3c.dom.Document;public class JXLReport { public static void main(String[] args) { try { fill(); docx(); } catch (Exception e) { e.printStackTrace(); } } public static void docx() throws Exception{ File sourceFile = new File("C:/test/templates/CustomersReport.jrprint"); JasperPrint jasperPrint = (JasperPrint)JRLoader.loadObject(sourceFile); File destFile = new File(sourceFile.getParent(), jasperPrint.getName() + ".docx"); JRDocxExporter exporter = new JRDocxExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, destFile.toString()); exporter.exportReport(); } @SuppressWarnings("unchecked") public static void fill() throws Exception{ //map data Map params = new HashMap(); Document document = JRXmlUtils.parse(JRLoader.getLocationInputStream("C:/test/data/northwind.xml")); params.put(JRXPathQueryExecuterFactory.PARAMETER_XML_DATA_DOCUMENT, document); params.put(JRXPathQueryExecuterFactory.XML_DATE_PATTERN, "yyyy-MM-dd"); params.put(JRXPathQueryExecuterFactory.XML_NUMBER_PATTERN, "#,##0.##"); params.put(JRXPathQueryExecuterFactory.XML_LOCALE, Locale.ENGLISH); params.put(JRParameter.REPORT_LOCALE, Locale.US); try{ JasperFillManager.fillReportToFile("C:/test/templates/CustomersReport.jasper", params); }catch (Exception e){ System.out.println("----------------"); e.printStackTrace(); } }} Post Edited by sudheer at 06/20/2011 11:02
  23. what are the extensions or jar files needed to create a doc file with jasper reports
×
×
  • Create New...