Re: [css2xslfo-support] [FOP] workarounds for xhtml table ?
Brought to you by:
wdonne
From: <wer...@re...> - 2005-06-02 09:03:59
|
Hi Matthias, You should add a "col" element to your table with the "width" attribute set to something. In this case the value I propose is "1*", which indicates the column will occupy the complete table. Regards, Werner. Matthias Wessendorf wrote: > Hi, > > I come back to css2xslfo. I have currently the problem, that I need to generate a PDF that > contains a xhtml table. > > my xhtml is > > <?xml version="1.0"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <title>Foo</title> > <style type="text/css"> > > body, h1, h2, h3, p, div, ol, li, table, thead, tbody, th, tr, td { > hyphenate: false; > } > > > </style> > </head> > <body> > > <table> > <thead> > <tr> > <th>User</th> > </tr> > </thead> > <tbody> > <tr> > <td> > MW > </td> > </tr> > </tbody> > </table> > > </body> > </html> > > > > > > > > I guess it is valid. But the FOP tells me: > > [INFO] building formatting object tree > [INFO] setting up fonts > [ERROR] property - "text-transform" is not implemented yet. > [ERROR] property - "text-transform" is not implemented yet. > [INFO] [1] > [WARNING] table-layout=auto is not supported, using fixed! > [WARNING] current implementation of tables requires a table-column for each column, indicating column-width > [INFO] Parsing of document complete, stopping renderer > > > and the PDF is blank, no table there :-( > > Does anybody know a workaround to output that table using FOP ? > > Thanks, > Matthias > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr_______________________________________________ > css2xslfo-support mailing list > css...@li... > https://lists.sourceforge.net/lists/listinfo/css2xslfo-support > > -- Werner Donné -- Re BVBA Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: wer...@re... |