xsl-list
[Top] [All Lists]

RE: xsl fo: tables : column width

2005-06-07 06:16:12
Hi Omprakash,

Thank-you for your offer but, I'm a little far along to switch formatters. The 
table width problem is not that high a priority.  However if the situation 
changes or we have time to spare, I'll contact you about your code.

Thanks again,

- Jerry 




________________________________

         Jerry Orabona
Senior Technical Consultant
Agency.com

20 Exchange Place
9th Floor
New York, NY 10005
Phone 212 358 2782
Fax 212 358 2604
www.agency.com

________________________________



-----Original Message-----
From: omprakash(_dot_)v(_at_)polaris(_dot_)co(_dot_)in 
[mailto:omprakash(_dot_)v(_at_)polaris(_dot_)co(_dot_)in] 
Sent: Monday, June 06, 2005 12:10 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] xsl fo: tables : column width


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(_at_)hotmail(_dot_)com






















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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>