Bug 38777 - fo:table without fo:table-column's leading to bad result
Summary: fo:table without fo:table-column's leading to bad result
Status: CLOSED DUPLICATE of bug 35656
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: trunk
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-24 04:15 UTC by Nils Meier
Modified: 2012-04-01 13:48 UTC (History)
0 users



Attachments
the FO with a fo:table without fo:table-column elements (981 bytes, text/plain)
2006-02-24 04:15 UTC, Nils Meier
Details
same FO with same fo:table but now containing two fo:table-column elements (1011 bytes, text/plain)
2006-02-24 04:16 UTC, Nils Meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Meier 2006-02-24 04:15:11 UTC
Hi

I have attached nocolumns.xml XSL FO. It includes a page 
flow with a simple table that has 100% fixed width.

Inside are 3 rows with 2 cells each. Note that there are
no fo:table-column elements inside (afaik that shouldn't
be necessary).

in the resulting PDF the first column gets 100% of the
table width, the second column 'sits' on the right 
reaching out of the page. The table is basically 
"100%+width of second column's content" wide.

Consider 2nd document withcolumns.xml - this XSLFO has
two fo:table-column elements inside the table and
renders fine... the 100% width of the table is equally
distributed amongst the two columns.

Shouldn't both cases have the same end-result?

Thanks
Nils
Comment 1 Nils Meier 2006-02-24 04:15:51 UTC
Created attachment 17789 [details]
the FO with a fo:table without fo:table-column elements
Comment 2 Nils Meier 2006-02-24 04:16:34 UTC
Created attachment 17790 [details]
same FO with same fo:table but now containing two fo:table-column elements
Comment 3 Manuel Mall 2006-02-24 06:21:51 UTC
In http://xmlgraphics.apache.org/fop/knownissues.html it says:

According to the spec the table-columns can be set up automatically based on 
values on the first row of a table. This is not implemented, yet.
See also: http://issues.apache.org/bugzilla/show_bug.cgi?id=35656 


*** This bug has been marked as a duplicate of 35656 ***
Comment 4 Glenn Adams 2012-04-01 13:48:01 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs