Hi,
fo:block text-align=center
fo:external-graphic src="">
/fo:block
This should work!
Swanil Roopa
Rodolphe VAGNER [EMAIL PROTECTED]
05/22/02 04:21 PM
Please respond to fop-user
To:[EMAIL PROTECTED]
cc:
Subject:center a graphic in a table cell
Hi,
In that case, fo:table-cell display-align=center
is the only other option I can think of for centering vertically. I don't think it should be a problem if your external-graphic is placed within a fo:block and then within the fo:table-cell tag.
Regards,
Roopa
Rodolphe VAGNER
Hi David,
I had the same problem. This problem occurs only if the template name given in the fo for the fo:root does not match any of the tags in the xml input given. In the sample given below, the fo:root is within the xsl:template matching the name TestPage. So the xml input given should
Hi Andre,
Try defining it in the fo:page-sequence. Your code within the fo:root should look something like below..
fo:layout-master-set
fo:simple-page-master master-name=Test
page-height=29.3cm
page-width=21cm
margin-top=1cm