boolean layoutStarted = false;
while (layoutEngine.wantsMoreData() && rset.next()) {
if (statusDialog != null) {
if (statusDialog.isCancelled())
throw new UserCancellationException();
statusDialog.update(I18N.get("Report.processing_row") + ' '
+ rowNumber());
}
if (!layoutStarted) {
layoutEngine.start();