Subject: [xsl] xsl fo: tables : column width From: omprakash.v@xxxxxxxxxxxxx Date: Mon, 6 Jun 2005 09:39:33 +0530 |
Hi Jerry, Auto-table layout is supported by only a few formatters at present. I have written a formatter that converts a fo file with auto-layout into one having fixed layout. I will be glad to make available to you a jar file together with the api to invoke the formatter. Please contact me off-list if you are interested. My formatter takes as input an fo file and inserts the appropriate number of fo:table-column tags along with the fo:column-width attribute with their values populated based on the content of the table cell. At present, it supports text and images in the table cell. The layout is very fast (though I haven't measured it) as it uses a sophisticated adaptive step-size algorithm to do the layouting. The layout step is in addition to the xslt transformation and the formatting step. Also, the formatter is written using JDOM and I plan to incorporate the layout program into a custom built formatter, possibly one that uses SAX, sometime in the near future. Let me know if you are interested. Cheers, Omprakash.V Senior Architect, Polaris software Lab, Email: ompravish@xxxxxxxxxxx Hi Folks, I'm relatively new to FO transformations so please forgive me, if this is a newbie question. I am dynamically generating tables and don't know the number of columns a given table may contain. I'd like to fix the width of the table and let the columns size relative to the content within them. A good example would be the default behavior of HTML tables. Currently I am able to output tables of fixed width, but the column widths are proportional to the table. Here's an example of what I mean: http://simplewebservices.net/fo_table/. Any help is appreciated. Thanks, Jerry Orabona This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited. Visit Us at http://www.polaris.co.in
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] xsl fo: tables : column width, Jerry Orabona | Thread | RE: [xsl] xsl fo: tables : column w, Jerry Orabona |
[xsl] xsl:call-template , strange b, Mukul Gandhi | Date | Re: [xsl] xsl:call-template , stran, Colin Paul Adams |
Month |