Durkan, Ian wrote: > I'm working with XSL-FO transformed from Docbook via the Docbook XSL > package of stylesheets, targeting OOXML (.docx) output using the > com.xmlmind.fo.converter.Converter class in the xfc.jar Java library. > How does one go about setting up a table in XSL-FO so that XFC will > render the table "centered" on the page?
Your question is not related to our product XMLmind XSL-FO Converter. It is related to XSL-FO. The question is in fact: how to generate an fo:table which is to be centered on the page? Answer: I don't know. I never managed to do that in my own XSLT stylesheets. I always ended up generating tables having width="100%" as a workaround. A few months ago, Jean-Yves Belmonte posted this trick to this mailing list: --- Simply wrap the table in a 'table-and-caption' object. (The caption is actually optional.) Strangely the 'table' object has no alignment properties, whereas 'table-and-caption' does have the 'text-align' property which specifies the table and caption alignment relative to the content rectangle of the parent area. --- But I've never tried that. -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support

