Jump to content

nikitha

Members
  • Posts

    25
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Posts posted by nikitha

  1. Hi,

    I have a requirement to add the page border for the report of type pdf, i need to display entire report in a box.

    How can i add the page border in Ireport ?

    Could any one help me on this.

     

     

  2. Hi,

    I have a requirement to set the default band height , so that when the record for atleast for one also, the band must show the with default height.

    If the no. of rows exceeds, the band height must increase.

    Is this possible, using ireport 3.1v.

    Please help me on this.

    Regards,

    Naveen Chanda

  3. Hi,

     

    I have a requirement to change the pdf report (English Language) to portuguese (Language) , for which the template is created from Ireport 3.0 version, and it is generated using the Java program.

    How exactly, i can change the language for the report, which is created with English verstion to Portuguese version.

     

    Is it Posssible using Ireport, and how exactly i can create a template and integrate for mulitlanguages.

     

    Please suggest me.

     

    Thanks and Regards,

    Naveen Chanda

  4. Hi,

    I have a requirement , to export  the report of pdf type in a separate browser, could anyone help me.

    Here, the code which i am using:

    if

     

    (format.equalsIgnoreCase("pdf")){new JRPdfExporter();JASPER_PRINT, jprint);OUTPUT_STREAM, pdfReport);contentType = "application/pdf"; fileName = jrFileName + "__" + ".pdf";

    The output, which i am getting is right, but it is opening in the Adobe reader window, please help me to open in a browser.

    Thanks and Regards, 

    Naveen Chanda                                 

    JRPdfExporter exporter =

    exporter.setParameter(JRExporterParameter.

    exporter.setParameter(JRExporterParameter.

    exporter.exportReport();

    bytes = pdfReport.toByteArray();

     

     

     

    }

  5. Hi,

    I facing a band problem while creating a report with Ireport 3.1.4 version. The detail band must be constant of length given when one row is retrived from the database.And, it should be stretchble when the detail overflows.

    And also, i am gettting an empty space b/w detail band and column fotter band.

    Please find the attached pdfs, which shows the

    1) Multiple

    2) Single row.

    Help me solve my issue.

    Thanks and Regards,

    Naveen Chanda

     

     

     

     

  6. Hi All,

     

    I have a requirement to create a local hyperlink for a report, my requirement is, i have a static text in the header section, now i need to keep an hyperlink for that text, so that when i press on that link, it has to taken( target) to Summary Section created in the report.

    Is this possible using IReport.

     

    Please help me to solve my problem.

     

    Thanks and Regards,

    Naveen Chanda

     

  7. Hi,

     

    I have a requirement to display the summary information of the entire report at the top of the report, i have created some variables and displayed at the summary band, which is at the end of the report.

    Could i make the summary band above the column header, is it possible in Ireport.

     

    If possible, please help to solve my above requirement.

     

    Thanks and Regards,

    Naveen Chanda

     

  8. Hi,

     

    I have successfully, generated a pdf report using jasper with ireport tool, with the java programming, i called the template created.

    My application is web, i called the report using servlet, it is downloading and printing fine, but my problem is it is downloading inthe same browser, i need to do that task in different browser( i have used an html tag target ="_blank") but not used.

     

    Please help me to slove my above issue.

     

     

    Thanks and Regards,

    Naveen

  9. Hi,

    I have a requirement to place an image in the jasper report, using ireport tool, i have used the image tool in the ireport but, facing the problem while accessing the image.

    The above problem is rectified, when i give the absoulte path of the image,  but facing the problem when it will be used in any web application.

    Please help me, how exactly, i have to give the path of the image, so that it can access in any web application.

     

  10. Hi,

    I have a requirement to get the pdf format report from the java code using jasper reports, i have seen many examples, we have only jasper viewer to view the report from the java program.

    My requirement, is when i compile  a java program, a report has to be viewed in pdf format.

    The code which i am using is:

     

    JasperPrint jprint = (JasperPrint) JasperFillManager.fillReport(jasperFileName, parameters, con);

    JasperExportManager.exportReportToPdfFile(jprint, pdfFileName);

    JasperViewer.viewReport(jprint,true)

    ----> here, this line says that to view in the jasper viewer.

    But, i need to view in PDF format.

    Please help me. 

     

     Thanks and Regards,

    Naveen 

     

     

     

     

     

     

  11. Hi,

    I have a requirement to get the pdf format report from the java code using jasper reports, i have seen many examples, we have only jasper viewer to view the report from the java program.

    My requirement, is when i compile  a java program, a report has to be viewed in pdf format.

    The code which i am using is:

     

    JasperPrint jprint = (JasperPrint) JasperFillManager.fillReport(jasperFileName, parameters, con);

    JasperExportManager.exportReportToPdfFile(jprint, pdfFileName);

    JasperViewer.viewReport(jprint,true)

    ----> here, this line says that to view in the jasper viewer.

    But, i need to view in PDF format.

    Please help me. 

     

     Thanks and Regards,

    Naveen 

     

     

     

     

     

     

  12. Hi All,

    I have a requirement to create a pie chart using ireport tool, the pie chart dynamically i.e,

    When i click an part (or division) in a pie chart, it should call another pie chart and shows the sub category of the first pie chart.

    Example:

    Main tasks( First pie chart)-> when i click a a task (for ex: task1) in the main pie chart, after clicking , another pie chart have to display with subtasks related to task1.

    is this dynamic interative reports are possible using ireport, please help me.

    Thanks,

    Naveen Chanda

     

  13. I am facing a problem whill printing my jasper report while printing with any page break. at the record end where as it is taking

    unusual format and printing out. 

    I am trying to print  a report (for example  employee pay slip)  it is suppose to print two records in a page (or  
     
    three/Page). and the next record should disply in next page. 

    And,

    How to add page breaks in detail section, Please help me to slove my above issue.

     
    Thanks & Regards 
     
    Naveen 
     

  14. Hi,

    How can i pass the ResultSet data( as parameters from Java program to Jasper Reports as parameters.

    Please give me the example, i need to pass the resultset( which contains two fields for example(word and description ) as parameters to report to display the data from database.

    I need to print entire result set as parameters to report in detail section.

    Thanks,

    Naveen

     

     

  15. By reference of your example, i have just changed the existing code as:

    import java.sql.Connection;

    import

    java.sql.DriverManager;

    import

    java.util.HashMap;

    import

    java.sql.ResultSet;

    import

    java.sql.SQLException;

    import

    java.sql.Statement;

    import

    net.sf.jasperreports.engine.JasperCompileManager;

    import

    net.sf.jasperreports.engine.JasperExportManager;

    import

    net.sf.jasperreports.engine.JasperFillManager;

    import

     

    net.sf.jasperreports.engine.JasperPrint;

    public

     

    HashMap hm =

     

    System.

     

    class ReportGenerator {public static void main(String[] args) {null;try {out.println("Start ....");// Get jasper report

    String jrxmlFileName =

    String jasperFileName =

    String pdfFileName =

     

    JasperCompileManager.compileReportToFile(jrxmlFileName, jasperFileName);

     

     

    "F:/TestDic/Test.jrxml";"F:/TestDic/Test.jasper";"F:/TestDic/Test.pdf";// String dbUrl = props.getProperty("jdbc.url");

    String dbUrl =

     

    "jdbc:oracle:thin:@localhost:1521:xe";// String dbDriver = props.getProperty("jdbc.driver");

    String dbDriver =

     

    "oracle.jdbc.driver.OracleDriver";// String dbUname = props.getProperty("db.username");

    String dbUname =

     

    "tad";// String dbPwd = props.getProperty("db.password");

    String dbPwd =

    String query =

     

    "softpro";"select word, description from dictionary";// Load the JDBC driver

    Class.forName(dbDriver);

     

    // Get the connection

    Connection conn = DriverManager.getConnection(dbUrl, dbUname, dbPwd);

    Statement stmt= conn.createStatement();

    ResultSet rs = stmt.executeQuery(query);

    String word=

    String des=

     

    word=rs.getString(1);

    System.

    des=rs.getString(2);

    System.

    hm =

    hm.put(

    hm.put(

    }

     

    System.

    "";"";while(rs.next()){out.println("Words are"+word);out.println("des are"+des);new HashMap();"WORD", word);"DESCRIPTIN", des);out.println("Filling report...");

    JasperPrint jprint = (JasperPrint) JasperFillManager.fillReport(jasperFileName, hm, conn);

     

     

    // Export pdf file

    JasperExportManager.exportReportToPdfFile(jprint, pdfFileName);

     

    System.

     

    }

    System.

    }

    }

    }

     

    out.println("Done exporting reports to pdf");catch (Exception e) {out.print("Exceptiion" + e);

    How can i display my result set data in to the report, what exactly i have to give in the jrxml template,

    Is it mandatory to write again, report query in the template ? Please  find the attached jrxml file.

    Please help me.

     

    Thanks and Regards,

    Naveen

  16. Hi All,

    I have a requirement to display an error message in a template designed using Ireport 2.0v.

    I have created a template and also displaying the data from database successfully by passing some parameters to report query.

    My issue is, when i passs some wrong data to report( wrong parameters) to report, by default it is displaying an empty page with out any data.

    if we pass correct parameters, the report is getting the output with results.

    But, i need to disply a message to user i.e,

    No Records to Display.

    Is this possible using ireport.

    Please help me

    Regards,

    Naveen

     

     

     

     

  17. Yes, i have tested but still it is not working with this format(#,##,##,##0.00).

    I have used with Text Field Expression as : java.math.Decimal with the pattern mentioned above.

    Here, i am attaching the file, please look in to this report.

    Please, hlep me.


    Naveen. [file name=RptC_OrderPO.pdf size=17206]

  18. Hi,

    I am using iReport 2.0, i have done a report which displays the price with thousand separtor(Exampple: 10,001,000.00) the regular expression used is(#,##0.00).

    Here, i have one problem, i want to display the format as (1,00,01,000.00)

    How can i set this format using iReport tool.

    Please reply me....

    Thanks and regards,
    Nikitha.

×
×
  • Create New...