Kodandapani A. wrote:
Is there any way to align table right with width 45%.
The best way is to use a 55% column like
fo:table table-layout=fixed width=100%
fo:table-column column-width=proportional-column-width(55)/
fo:table-column column-width=proportional-column-width(45)/
Hi,
I have created a table with 45% of the total page width, which should
be aligned right. The problem is, the table comes-up with 100% width,
when pdf get generated.
Following is the xsl snippet which i am trying,
fo:table start-indent=(8.5in - 0.6in - 0.6in) - (((8.5in - 0.6in - 0.6in) *
Easiest is probably using nested tables. First establish a blind table
with two columns and put your 45%-table in a table-cell in the second
column.
Maybe the following link could also provide some inspiration:
http://xml.apache.org/fop/fo.html#fo-center-table-horizon
I hope that helps.
On