*/
protected void generateRows(Document document) throws JspException, BadElementException, DocumentException, IOException {
// get the correct iterator (full or partial list according to the exportFull field)
RowIterator rowIterator = this.model.getRowIterator(this.exportFull);
int rowCnt = 0;
Column column = null;
Object value = null;
Cell cell = null;
while (rowIterator.hasNext()) {
Row row = rowIterator.next();
// iterator on columns
ColumnIterator columnIterator = row.getColumnIterator(this.model.getHeaderCellList());
while (columnIterator.hasNext()) {
column = columnIterator.nextColumn();
// Get the value to be displayed for the column
value = column.getValue(this.decorated);
cell = getCell(ObjectUtils.toString(value));
/* some eyecandy stuff */
if (rowCnt % 2 == 1) {
cell.setBackgroundColor(new Color(220, 223, 225));