* @author lacoste
*/
public class PrintCreators {
public static CombinedReportCreator createCombinedReportHeader(Class clazz) {
CombinedReportCreator parCreator = ReporterFactory.createCombinedReporter(clazz, 1);
CombinedReportOptions ops = new CombinedReportOptions();
ops.setPageA5();
ops.setOrentation(PageOrentation.horizontal);
ops.leftMargin =0;
ops.rightMargin = 0;
parCreator.setUpReport(null, ops, null);
FormReportCreator creator;
creator = parCreator.createFormReporter(PrintCreators.class, 1);
creator.createReport(new HashMap<String, Object>(), null);
creator.finish();
return parCreator;
}