Jump to content
Changes to the Jaspersoft community edition download ×

tremal

Members
  • Posts

    3
  • Joined

  • Last visited

tremal's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, I have an Eclipse Project which generates Reports with Times New Roman. When I execute the form in iReport, the document is correct because I have add the font as custom. But the problem arrives at the eclipse project. I have generated a JAR file from iReport, later the JAR has been attached to the classpath project but when the PDF is generated, always uses the SansSerif font instead Times New Roman. Is it necessary another change in my project? Thanks.
  2. Hi, I have the next code ResourceBundle resourceBundle = ResourceBundle.getBundle("com.package.langs");[/code]rep.addParameter(JRParameter.REPORT_RESOURCE_BUNDLE, resourceBundle);[/code]But in the execution, always this parameter is't read and all my properties tag appears like "null". The langs.properties are in the package, but continues without works. Where can be the problem? Thanks Code:ResourceBundle resourceBundle = ResourceBundle.getBundle("com.package.langs");rep.addParameter(JRParameter.REPORT_RESOURCE_BUNDLE, resourceBundle);[/code]
  3. Hi everybody! I has created a report with iReport 4.5.1 and I has the next properties file configured: <jasperReport xmlns= ... resourceBundle="prop_file"> ... The properties and jasper files are in the same folder and works fine. The problem is in Eclipse qhere I have the same estructure into a folder, but when I execute it, I have the next error: java.util.MissingResourceException: Can't find bundle for base name prop_file, locale en_US¿Must I change the path at the jasper file? Yhanks
×
×
  • Create New...