Table column-width property
Hi, I have a table with different column width. I get column width in a variable. How do i assign to the column-width property? I gave it as, fo:table-column column-width={$colwidth}cm/ where colwidth is a variable name holding the column width value. But this value is not accepting and it gives the error : Error in column-width property value {$colwidth} Can anybody tell me how can i assign the variable to column-width property Thanks and Regards, Sujata - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Table column-width property
Oleg Tkachenko wrote: Seems to me you are trying to use variables in xsl-fo document instead of xsl stylesheet. Am I right? Sujata wrote: Exactly.. I need to give the column-width dynamically. Is it possbile to do that? If yes how can i do that? -Thanks and Regards Sujata - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Table column width
Hi, I have a problem in displaying the data in the pdf table. Each column width in a table should be different from the other column depending on the data. Since I am using the same fop stylesheet for different tables, I cannot hardcode the column width in the stylesheet. Is there any option we can set so that the PDF table columns get adjusted with the data you pass (like HTML table)? If not, how can I go head to solve this problem? Thanks and Regards, Sujata - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Table column width
Thanks for the reply. How do you take the column width in a stylesheet. I don't want to take each column width data as a separate parameter because the no of columns vary from table to table. My Logic is get a string with all the column width s of the table seperated by coma. In xsl split it and use it for the defining the column width. But I did not find any methods in xsl to split a string and put it in an array? Can u please tell me, how can i do this? Thanks and Regards, Sujata Oleg Tkachenko wrote: sujata wrote: I have a problem in displaying the data in the pdf table. Each column width in a table should be different from the other column depending on the data. Since I am using the same fop stylesheet for different tables, I cannot hardcode the column width in the stylesheet. Is there any option we can set so that the PDF table columns get adjusted with the data you pass (like HTML table)? table-layout=auto is not implemented yet unfortunately. If not, how can I go head to solve this problem? Move table-column width calculation logic to xslt stage. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Table Alignment
Hi Evrybody, I have a PDF table created. Now the table is placed in one corner of the page. I want my table to be aligned at the center. Is there any table property where I can set align = center? Please help me out in this. Thanks and Regards, Sujata __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]