use of org.activityinfo.shared.report.content.NullContent in project activityinfo by bedatadriven.
the class ItextReportRendererTest method pageNumbers.
@Test
public void pageNumbers() throws IOException {
ReportContent content = new ReportContent();
content.setFilterDescriptions(Collections.EMPTY_LIST);
Report report = new Report();
report.setContent(content);
for (int i = 0; i != 1000; ++i) {
TextReportElement element = new TextReportElement();
element.setText("Quick brown fox, texte français");
element.setContent(new NullContent());
report.addElement(element);
}
renderToPdf(report, "pagenumbers.pdf");
}
Aggregations