我用 ireport 4.0.2 创建了一个模板文件,并在代码中设置了模板文件:
drb.setTemplateFile("report1.jrxml");
但是,当我这样做时,我无法设置模板的标题:
drb.setTitle("Comptes du client") //defines the title of the report
.setSubtitle("Détails Compte ")
第二个问题,当我添加一个时GlobalFooterVariable(columnSolde, DJCalculation.SUM)
,它可以工作,但我有一个标签“全球”出现在左边
我怎样才能解决这个问题 ?任何答案谢谢
您可以在此 url 上找到报告的外观