Hi Matt, you can set the row height with the height property. Here is what I did:
This is my page layout: <fo:simple-page-master margin-right="2.5cm" margin-left="2.5cm" margin-bottom="2.5cm" margin-top="2.5cm" page-width="21cm" page-height="29.7cm" master-name="document"> <fo:region-before extent="1cm" region-name="region-before"/> <fo:region-body margin-top="1cm" margin-bottom="1cm"/> <fo:region-after extent="1cm" region-name="region-after"/> </fo:simple-page-master> If element 'body' is the root of the partial tree that is put into the page body via xsl, my xsl contains this template: <xsl:template match="body"> <fo:table> <fo:table-column column-width="16cm"/> <fo:table-body> <fo:table-row height="23.7cm"> <fo:table-cell display-align="center"> <fo:block> <fo:table> <!-- inner table or whatever shall be centered --> </fo:table> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </xsl:template> That's all! HTH, Corinna ----- Original Message ----- From: "Savino, Matt C" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 29, 2001 1:32 AM Subject: RE: problem : centered table in FO [FAQ] > Hey Corrinna, this might actually help for my problem as well (see Subj: min > table or table-cell height?). My only question is, how do I create a table > as large as the page body? I knwo how to set the column width, but is there > any way to set the row or cell height? > > thx, > Matt > > > > -----Original Message----- > From: Corinna Hischke [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 28, 2001 3:50 AM > To: [EMAIL PROTECTED] > Subject: Re: problem : centered table in FO [FAQ] > > > Hi, > > please have a look at the FOP FAQs, I think the solution should be in there: > > - create a table as large as the page-body with only one cell > - put your table into the block inside that cell > - center the block in that cell > > HTH, Corinna > > ----- Original Message ----- > From: Cyril <mailto:[EMAIL PROTECTED]> Rognon > To: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > Sent: Tuesday, November 27, 2001 2:25 PM > Subject: problem : centered table in FO > > > Hi list, > > I am looking for a way to center a table (not the data in the table cells) > in a page. > > I have tried to set padding and margin to a surrounding block but FOP > doesn't pay attention to this... > > I have also tried a start-indent but it changes nothing. I am using FOP > 0.20.2RC. > > What am I doing wrong ? > > Thanks > > Cyril Rognon > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]