I want to achieve 'page x of y' in a paragraph, so that paragraph style could be applied to these values, like:
<place x="14cm" y="20cm" height="2cm" width="5cm"> <para style="mystyle">Page x of y</para> </place>
The snippet below displays page number, but does not display total page count, looks like pageCount is not rendered at all:
<place x="14cm" y="20cm" height="2cm" width="5cm"> <para style="mystyle">Page <pageNumber/> of <pageCount/></para> </place>
A workaround could be to display <pagecount/> by use of drawstring, but then font size cannot be changed:
<drawString x="14cm" y="20cm"><pageCount/></drawString>
Are there other options to achieve 'Page x of y'? By use of sequences maybe?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/28/13, 2:38 AM|
|Seen: 4478 times|
|Last updated: 4/8/15, 4:43 AM|