}
else if ( rec.getSid() == RowRecord.sid )
{
- RowRecord row = (RowRecord)rec;
- if (!isfirstrow) rec = null; //only add the aggregate once
-
+ RowRecord row = (RowRecord)rec;
+ if (!isfirstrow) rec = null; //only add the aggregate once
+
if ( isfirstrow )
{
retval.rows = new RowRecordsAggregate();
}
}
retval.records = records;
- if (retval.rows == null)
- {
- retval.rows = new RowRecordsAggregate();
- }
- if (retval.cells == null)
- {
- retval.cells = new ValueRecordsAggregate();
- }
+// if (retval.rows == null)
+// {
+// retval.rows = new RowRecordsAggregate();
+// }
+ retval.checkCells();
+ retval.checkRows();
+// if (retval.cells == null)
+// {
+// retval.cells = new ValueRecordsAggregate();
+// }
log.log(log.DEBUG, "sheet createSheet (existing file) exited");
return retval;
}
{
checkCells();
log.logFormatted(log.DEBUG, "remove value record row,dimsloc %,%",
- new int[]
- {
- row, dimsloc
- });
+ new int[]{row, dimsloc} );
loc = dimsloc;
cells.removeCell(col);