final ReportParameterValues parameterValues)
throws ReportProcessingException
{
final ReportParameterValues retval = new ReportParameterValues();
// for the sake of backward compatiblity ..
final ReportProperties reportProperties = report.getProperties();
final String[] propertyKeys = reportProperties.keyArray();
for (int i = 0; i < propertyKeys.length; i++)
{
final String string = propertyKeys[i];
retval.put(string, reportProperties.get(string));
}
retval.putAll(parameterValues);
retval.put(MasterReport.REPORT_DATE_PROPERTY, new Date());
return retval;