// Create a new instance of a Locale type with the Locale you want to use:
Locale locale = new Locale("es", "AR");
// Add your Locale settings to the Report's parameters:
HashMap parameters = new HashMap();
// Put the new locale into the parameters
parameters.put(JRParameter.REPORT_LOCALE, locale);
REPORT_LOCALE是内建参数
本文介绍如何使用Java代码为报表设置特定的区域参数,通过创建Locale实例并将其添加到报表参数中,实现报表内容的区域定制。
1万+

被折叠的 条评论
为什么被折叠?



