You can set the alignment properties on the blocks within the table cells, 
thus:

<fo:table table-layout="fixed">
  <fo:table-column column-width="2in"/>
  <fo:table-column column-width="2.5in"/>
  <fo:table-column column-width="2in"/>
  <fo:table-body>
    <fo:table-row>
      <fo:table-cell>
         <fo:block text-align="left">Left footer stuff here</fo:block>
      </fo:table-cell>
      <fo:table-cell>
         <fo:block text-align="center">Center footer stuff here</fo:block>
      </fo:table-cell>
      <fo:table-cell>
         <fo:block text-align="right">Right footer stuff here</fo:block>
      </fo:table-cell>
    </fo:table-row>
  </fo:table-body>
</fo:table>


The footer definition I actually use for most of the documents for this 
client is:

          <fo:table table-layout="fixed">
            <fo:table-column column-width="2in"/>
            <fo:table-column column-width="2.5in"/>
            <fo:table-column column-width="2in"/>
            <fo:table-body>
              <fo:table-row>
                <fo:table-cell>
                  <fo:block xsl:use-attribute-sets="footerleft">
                    Date prepared: <xsl:value-of 
select="format-date(current-date(),'[D1] [MNn] [Y0001]')"/>
                  </fo:block>
                </fo:table-cell>
                <fo:table-cell>
                  <fo:block xsl:use-attribute-sets="footercenter">
                    Confidential and Proprietary
                  </fo:block>
                </fo:table-cell>
                <fo:table-cell>
                  <fo:block xsl:use-attribute-sets="footerright">
                    <fo:page-number />
                  </fo:block>
                </fo:table-cell>
              </fo:table-row>
              <fo:table-row>
                <fo:table-cell number-columns-spanned="3">
                  <fo:block xsl:use-attribute-sets="footercenter">
                    Copyright <xsl:value-of select="$copyrightYears"/>, 
<xsl:value-of select="$copyrightOwner"/>. All Rights Reserved
                  </fo:block>
                </fo:table-cell>
              </fo:table-row>
            </fo:table-body>
          </fo:table>

Then I define the alignment in the named attribute set (which I keep in a 
separate XSL file and import into several kinds of documents).

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to