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

gsteyaert

Members
  • Posts

    2
  • Joined

  • Last visited

gsteyaert's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Thanks for your reply. I've used these properties for my textfield; it works fine when ran from iReport, but not from my java app. this is the way I call the report : public static void prnStyledText(Connection conn, int nm1, int nm2, long nm3) { try { HashMap reportParam = new HashMap(); reportParam.put("par1,", nm1); reportParam.put("par2", nm2); reportParam.put("par3", nm3); reportParam.put("SUBREPORT_DIR", "./dir/subdir/"); JasperPrint jPrint = JasperFillManager.fillReport(new FileInputStream("./dir/subdir/TestStyledText.jasper"), reportParam, conn); JasperPrintManager.printReport(jPrint, false); } catch (Exception e) { ErrorHandler errorHandler = new ErrorHandler((Exception) e); errorHandler.log(); } } gr. Geert Post Edited by Geert Steyaert at 11/20/08 06:58
  2. Hi, I am working on a report that has to have some parts of a textfield formatted in bold or italic. When I run the report from within the reportdesigner it is ok, but when I call the compiled .jasper-report from my java application, it just prints the tags <b> and not formatted as I would like it to. I have tried all possible solutions mentioned in the forum, but I rather think it has something to do with my call to the report from my java application... Any suggestions or help would be great ! Geert Post Edited by Geert Steyaert at 11/19/08 13:58 Post Edited by Geert Steyaert at 11/20/08 06:52
×
×
  • Create New...