Hi,
Thanks for the solution. I used the
text-align="outside" and it is working fine. But I
have a problem with the alignment. I have to display a
page number and some text in header in same line. The
text should always come in the center of the page and
page number should adjust automatically on the let and
right sides. Pls. advise.
********************************************************************************************************
<xsl:template name="header">
<fo:block text-align="outside" font-family="Times
Roman" font-size="10pt">
<fo:page-number/>
</fo:block>
<fo:block text-align="center" font-family="Times
Roman" font-size="10pt">
<xsl:value-of select="reporttype"/>
</fo:block>
<fo:block text-align="center" font-family="Times
Roman" font-size="10pt">
<xsl:value-of select="reportdate"/>
</fo:block>
</xsl:template>
********************************************************************************************************
Thanks,
Neha
--- Michael Sulyaev <msulyaev@renderx.com> wrote:
> Hello Neha,
>
> Wednesday, December 22, 2004, 1:19:27 AM, you wrote:
> NG> Hi,
>
> NG> I wish to display the page numbers on the basis
> of the even odd pages. If the page in publication is
> coming on the left side the page number should come
> on the left top and for the right hand
> NG> side pages i.e even pages the page number should
> come on the right top.
>
> Put the <fo:page-number/> element in a block with
> text-align="inside"
> into a static-content, that refers to
> xsl-region-before.
>
> See a short example attached.
>
> NG> Thanks,
> NG> Neha Parab
>
> --
> Best regards,
> Michael
mailto:msulyaev@renderx.com
> ATTACHMENT part 2 application/octet-stream
name=text-align-inside.fo
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Wed Jan 19 11:03:26 2005
This archive was generated by hypermail 2.1.8 : Wed Jan 19 2005 - 11:03:28 PST