version 1.87, 2004/02/11 21:15:01
|
version 1.88, 2004/02/12 14:47:55
|
Line 833 sub excel_initialize {
|
Line 833 sub excel_initialize {
|
undef ($total_formula); |
undef ($total_formula); |
# |
# |
my $total_columns = scalar(&get_student_fields_to_show()); |
my $total_columns = scalar(&get_student_fields_to_show()); |
|
|
foreach my $seq (&Apache::lonstatistics::Sequences_with_Assess()) { |
foreach my $seq (&Apache::lonstatistics::Sequences_with_Assess()) { |
|
if ($chosen_output->{'every_problem'}) { |
|
$total_columns += $seq->{'num_assess_parts'}; |
|
} |
# Add 2 because we need a 'sequence_sum' and 'total' column for each |
# Add 2 because we need a 'sequence_sum' and 'total' column for each |
$total_columns += $seq->{'num_assess_parts'}+2; |
$total_columns += 2; |
} |
} |
if ($chosen_output->{'base'} eq 'tries' && $total_columns > 255) { |
if ($chosen_output->{'base'} eq 'tries' && $total_columns > 255) { |
$r->print(<<END); |
$r->print(<<END); |