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

srikanthssridhar

Members
  • Posts

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

Posts posted by srikanthssridhar

  1. Hi,

    I want to convert the number pattern to Indian number pattern that is if the value is 100,000 it should display as 1,00,000.

    I tried changing the pattern which did not work. I wrote my own method which does the conversion. I need to integrate this in jasper source code.

    After going through the source code, I tried including my method in JRAbstractExporter.java Here we have a method protected TextValue getTextValue(JRPrintText text, String textStr)

    which calls getNumberCellValue() method. I am calling my Format method inside getNumberCellValue method like this

    indianCurrencyFormat = this.inidianCurrencyFormat(textStr);
    textValue = getTextValueString(text, indianCurrencyFormat);

    After all these, still nothing seems to work. Could some one please help

    Thanks

  2. Hi,

    We are using iReports tool 3.7.4 for creating reports. I am applying styles to the reports by creating a .jrtx file. But reports seems to take time to load from my application. Narrowing down we found that for every text, the font and other properties of html is getting embedded in the source code. So we thought of creating a css file with the properties and use it. 

    colspan="4" rowspan="2">style="font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; color: #000000; font-size: 12px;">PERMANENT

    I am trying to replace the with my css style. Like 

    href="/_assets/css/style.css" rel="stylesheet" type="text/css" />

    Is it possible to do this using iReports ? 

     

×
×
  • Create New...