关于报表的页码问题
-
这是Companies中定义报表Header和Footer的代码,在Administration->User->Company's Structure->Companies中的。
这是Footer的代码:
<!--page bottom-->
<lines>1.2cm 2.15cm 19.9cm 2.15cm</lines>
<drawCentredString x="10.5cm" y="1.7cm">[[ company.rml_footer1 ]]</drawCentredString>
<drawCentredString x="10.5cm" y="1.25cm">[[ company.rml_footer2 ]]</drawCentredString>
<drawCentredString x="10.5cm" y="0.8cm">Contact : [[ user.name ]] - [color=red]Page: <pageNumber/>[/color]</drawCentredString>
</pageGraphics>
</pageTemplate>
</header>其中红色部分是现实页码,当前的格式是 Page:1 Page:2 Page:3 ... ...
我想把总页码放在当前页的后面,即格式是 Page:[当前页码]/[总页码]现在我想知道如果要现实总页码,该用怎么样的代码?我试过用<pageCount/>,但还是显示不出来。
有人可以帮忙看看嘛。。。
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login