You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Eckbert P. Dollhofer" <li...@selbstdenker.ag> on 2005/03/09 21:37:50 UTC

Re: HTML Tables converted to FO Tables

Am 31.01.2005 um 10:00 Uhr schrieb Chris Bowditch:

> Chris Greene wrote:
>
>> Folks,
>> I'm hoping that someone has already solved this problem...
>> --- I have an input XML file that has a <Body> tag which contains an 
>> HTML <Table> as its content.
>> --- If I save the HTML content to a file and open it in a browser, 
>> the browser very nicely formats the table with, I suspect, some 
>> heuristically computed column widths.
>> --- Since FO requires that you explicitly specify the column-width of 
>> each column in a table I suppose that my XSL file needs to do 
>> something like a browser does to compute the column-widths.
>
> This is not true, the property table-layout="auto" will compute column 
> widths automatically. Note, however, that not all FO Formatters 
> implement automatic table layouts.

Hm? Are there any FO Formatters alternativ to apache-fop that will 
render tables with table-layout="auto" to pdf?
Would be off a big help!

>
> <snip/>
>
> Chris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: HTML Tables converted to FO Tables

Posted by Chris Bowditch <bo...@hotmail.com>.
Eckbert P. Dollhofer wrote:

<snip/>

> Hm? Are there any FO Formatters alternativ to apache-fop that will 
> render tables with table-layout="auto" to pdf?
> Would be off a big help!

Yes. Try XEP 4 from RenderX

Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org