I am currently trying to use Apache-FOP for generating Invoices.
Using <fo:retrieve-marker/>
and <fo:marker/>
I am able to create Subtotals for every page.
I want to format this number properly:
<fo:block text-align="right">
<fo:retrieve-marker retrieve-class-name="invoice-subtotal" retrieve-boundary="page" retrieve-position="last-starting-within-page"/>
</fo:block>
Just gives me the plain Sum (e.g. 12045), want I want to have is 120,45. Is this possible with just Apache-FOP 1.1? Retrieving this number is done after the XSLT processor, so I cant use XSLT formatting functions.
Thanks for your help.
format-number()
when you are creating thefo:marker
? If you need both formatted and unformatted, you could create 2fo:marker
s. – Daniel Haley