+ if ( ref $value eq 'ARRAY' ) {
+ # imitate the write_row() method: write the array into a column starting
+ # with $r.
+ # (currently only used in the footer; to use it anywhere else we'd need
+ # some way to return the number of rows written)
+ foreach my $v (@$value) {
+ $writer->($r, $c, $v, $format);
+ $r++;
+ }
+ return;
+ }
+
+ my $bold = 0;
+ my $date = 0;