Move the text-align property to the fo:block element (and you can then
remove the inline wrapper, since text-align is its only attribute).
Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)
"Jaysheel Bhavsar" <[EMAIL PROTECTED]>
02/16/2005 02:48 PM
Please respond to
[EMAIL PROTECTED]
To
<[EMAIL PROTECTED]>
cc
Subject
RE: printing page numbers
Hi,
Here is part of my xsl sheet it is working fine, I get it to display
page 1 of x. Now the problem I am running into is I cannot align my text
for some reason. I have tried "end" and "right" but my text "page 1 of
x" always stays on the left. Is there something I am missing. Is this
because its in the footer of the page?
--------------------------------------
fo:layout-master-set>
<!-- layout for the first page -->
<fo:simple-page-master
master-name="test"
page-height="11in"
page-width="8.5in"
margin-bottom="0.25in"
margin-top="0.25in"
>
<fo:region-before extent="1.5cm"/>
<fo:region-body margin-top="0.2in"/>
<fo:region-start
extent="1.0in"/>
<fo:region-end
extent="0.3in"/>
<fo:region-after
extent='1.0cm'
region-name="footer"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="test" initial-page-number="1">
<!-- usage of page layout -->
<!-- header -->
<fo:static-content
flow-name="footer">
<fo:block font-family="Helvetica"
font-size="7pt">
<fo:inline text-align="end">
Page <fo:page-number/>
of
<fo:page-number-citation ref-id="last-page"/>
</fo:inline>
</fo:block>
</fo:static-content>
<fo:flow
flow-name="xsl-region-body">
<fo:block>
<xsl:apply-templates/>
</fo:block>
<fo:block
id="last-page"/>
</fo:flow>
</fo:page-sequence>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]