protected void exportRectangle(JRPrintGraphicElement element, JRExporterGridCell gridCell, int col, int row) throws JRException
{
addMergeRegion(gridCell, col, row);
Colour backcolor = WHITE;
Pattern mode = this.backgroundMode;
if (!isIgnoreCellBackground && gridCell.getCellBackcolor() != null)
{
mode = Pattern.SOLID;
backcolor = getWorkbookColour(gridCell.getCellBackcolor(), true);