[xep-support] Problem with the page numbers

Neha Gupta neha_parab2003 at yahoo.com
Wed Jan 19 10:04:14 PST 2005


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 at 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 at 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 at 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



More information about the Xep-support mailing list