version 1.14, 2010/11/01 10:52:09
|
version 1.15, 2010/11/18 17:12:14
|
Line 684 sub add_cell {
|
Line 684 sub add_cell {
|
|
|
if (defined($config)) { |
if (defined($config)) { |
foreach my $key (keys(%$config)) { |
foreach my $key (keys(%$config)) { |
|
if ($key eq 'colspan') { |
|
next if ($config->{$key} == 0); |
|
} |
$cell->{$key} = $config->{$key}; |
$cell->{$key} = $config->{$key}; |
} |
} |
} |
} |
Line 900 sub generate {
|
Line 903 sub generate {
|
} else { |
} else { |
$cw = $default_width; |
$cw = $default_width; |
} |
} |
my $cw = $cw * $cells->[$cell]->{'colspan'}; |
$cw = $cw * $cells->[$cell]->{'colspan'}; |
$col_align = "p{$cw $colunits}"; |
$col_align = "p{$cw $colunits}"; |
$contents = $embeddedAlignStart . $contents . $embeddedAlignEnd; |
$contents = $embeddedAlignStart . $contents . $embeddedAlignEnd; |
} |
} |