Page 1 of 1

How align a table in the center of a page

Posted: Tue Sep 27, 2011 3:57 pm
by shijanjorge
Hi

I need align a table in the center of a page. wht the sizes of the right and the left are the same with respect to the page.

I review the file tables-attr.xsl but i can“t found the attribute for give a solution to this problem.

Please, can help me?

Thanks

Re: How align a table in the center of a page

Posted: Tue Sep 27, 2011 5:30 pm
by Radu
Hi Jorge,

Centering tables does not seem so easy to accomplish using XSL-FO.

There seem to be some workarounds when Apache FOP is used to produce the final PDF output (default behavior in Oxygen):
http://xmlgraphics.apache.org/fop/fo.ht ... le-horizon

and with the commercial RenderX XEP:
http://services.renderx.com/lists/xep-support/1444.html

but this involves more complicated stylesheet modifications, you have to control generating the structure of the table, there seems to be no magic attribute to set to accomplish this.

Regards,
Radu

Re: How align a table in the center of a page

Posted: Sat Oct 15, 2011 2:00 am
by shijanjorge
Thanks Very much

Your information was important. I resolved the problem. Thanks