make sure cells are really generated for all table cells, even those

that are left empty
fixes first of the problems reported in SF bug #727692
This commit is contained in:
Fred Drake 2003-09-04 21:25:03 +00:00
parent b79f343e61
commit ecbfceb31c
1 changed files with 10 additions and 0 deletions

View File

@ -1406,6 +1406,7 @@ sub do_cmd_lineii{
my $c2 = next_argument();
s/[\s\n]+//;
my($sfont, $efont) = get_table_col1_fonts();
$c1 = ' ' if ($c1 eq '');
$c2 = ' ' if ($c2 eq '');
my($c1align, $c2align) = split('\|', $aligns);
my $padding = '';
@ -1457,6 +1458,8 @@ sub do_cmd_lineiii{
my $c3 = next_argument();
s/[\s\n]+//;
my($sfont, $efont) = get_table_col1_fonts();
$c1 = ' ' if ($c1 eq '');
$c2 = ' ' if ($c2 eq '');
$c3 = ' ' if ($c3 eq '');
my($c1align, $c2align, $c3align) = split('\|', $aligns);
my $padding = '';
@ -1513,6 +1516,9 @@ sub do_cmd_lineiv{
my $c4 = next_argument();
s/[\s\n]+//;
my($sfont, $efont) = get_table_col1_fonts();
$c1 = ' ' if ($c1 eq '');
$c2 = ' ' if ($c2 eq '');
$c3 = ' ' if ($c3 eq '');
$c4 = ' ' if ($c4 eq '');
my($c1align, $c2align, $c3align, $c4align) = split('\|', $aligns);
my $padding = '';
@ -1574,6 +1580,10 @@ sub do_cmd_linev{
my $c5 = next_argument();
s/[\s\n]+//;
my($sfont, $efont) = get_table_col1_fonts();
$c1 = ' ' if ($c1 eq '');
$c2 = ' ' if ($c2 eq '');
$c3 = ' ' if ($c3 eq '');
$c4 = ' ' if ($c4 eq '');
$c5 = ' ' if ($c5 eq '');
my($c1align, $c2align, $c3align, $c4align, $c5align) = split('\|',$aligns);
my $padding = '';