* @return
* @throws reportgen.exception.ReportException
*/
@Override
public void toHTML(PrintStream stream) throws ReportException {
ResultGroup group = new ResultGroup(getMetaData());
for(int i=0; i<results.getRowCount(); i++) {
group.merge(results.getRow(i));
}
stream.append(getHeader(title));
group.format(stream, 2, "", data.isMakeSumRows());
stream.append(getTail());
}