version 1.26, 2004/11/08 15:14:52
|
version 1.28, 2004/11/19 19:44:39
|
Line 654 sub prepare_excel_output {
|
Line 654 sub prepare_excel_output {
|
} |
} |
} |
} |
} |
} |
|
# Fill in the remaining rows with the students data |
|
for (my $row = $student_row+1;$row<=$max_row;$row++) { |
|
my $cols = 0; |
|
foreach my $field (@StudentColumns) { |
|
$worksheet->write($row,$cols++, |
|
$student->{$field}); |
|
} |
|
} |
$rows_output++; |
$rows_output++; |
&Apache::lonhtmlcommon::Increment_PrgWin($r,\%prog_state, |
&Apache::lonhtmlcommon::Increment_PrgWin($r,\%prog_state, |
'last student'); |
'last student'); |
Line 817 sub prepare_csv_output {
|
Line 825 sub prepare_csv_output {
|
# |
# |
# Main loop |
# Main loop |
foreach my $student (@$students) { |
foreach my $student (@$students) { |
|
last if ($c->aborted()); |
my @rows; |
my @rows; |
my $prob_start_idx = 0; |
my $prob_start_idx = 0; |
foreach my $prob (@$problems) { |
foreach my $prob (@$problems) { |