Zahidul Islam wrote:
I am trying to make the footer as follows:
1) at left corner “Chapter 1” will be shown
2) at middle “Page No” will be shown.
3) at right “Created by Zahid” will be shown
...
<fo:inline font-style="italic" text-align="start">

The XML Bible is in error, the text-align property only applies to block level FOs and has no effect on inline FOs. See: http://www.w3.org/TR/xsl/slice7.html#text-align

You have to use a table:

<fo:static-content flow-name="xsl-region-after">
  <fo:block font-weight="bold" font-size="10pt"
            font-family="Arial, Helvetica, sans">
    <fo:table table-layout="fixed">
      <fo:table-column column-width="proportional-column-width(1)"/>
      <fo:table-column column-width="proportional-column-width(1)"/>
      <fo:table-column column-width="proportional-column-width(1)"/>
      <fo:table-body>
        <fo:table-row>
          <fo:table-cell>
            <fo:block font-style="italic" text-align="start">
               Chapter 1
            </fo:block>
          </fo:table-cell>
          <fo:table-cell>
            <fo:block text-align="centered">
               Page <fo:page-number/>
            </fo:block>
          </fo:table-cell>
          <fo:table-cell>
            <fo:block text-align="right">
              Created By Zahid
            </fo:block>
          </fo:table-cell>
        </fo:table-row>
      </fo:table-body>
    </fo:table>
  </fo:block>
</fo:static-content>

The column width may need some fine tuning.

J.Pietschmann



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



Reply via email to