RE: [xsl] fo:table

Subject: RE: [xsl] fo:table
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 01 Jun 2006 13:17:21 +0900
At 2006-06-01 12:07 +1000, SINGH Navpreet wrote:
Still waiting for any valuable suggestion.

I think Rick's suggestion is the most valuable you can get given you cannot use fo:table-and-caption ... it is the pattern I've seen most popularly used as a work-around.


. . . . . . . . . . . . . . Ken

At 2006-05-31 16:40 -0600, Rick Roen wrote:
I saw a work-around for this when I was looking for answers to another
problem.

Make your table, or a surrounding table three columns wide.  Make the first
and third columns width="proportional-column-width(1)" and the second column
the width you want.

Then put your data, or embed another table in the second column.

I think if you google using some of the keywords above you can find some
more exact help.

HTH,

Rick

-----Original Message-----
From: SINGH Navpreet [mailto:Navpreet.SINGH@xxxxxxxxx]
Sent: Wednesday, May 31, 2006 4:16 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] fo:table

Hi,
I am using fop-0.90alpha1 engine from apache to generate PDF document from
xml. I want to center my tables of variable width on the page. I am getting
the column width at runtime from the xml document. This engine does not
support fo:table-and-caption. So can you please suggest me, how to center a
table.

Thanks,
Navpreet




-- Registration open for XSLT/XSL-FO training: Wash.,DC 2006-06-12/16 Also for XSL-FO/XSLT training: Minneapolis, MN 2006-07-31/08-04 Also for XML/XSLT/XSL-FO/UBL training: Varo,Denmark 06-09-25/10-06 World-wide corporate, govt. & user group UBL, XSL, & XML training. G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal

Current Thread