You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Chris Bowditch (JIRA)" <ji...@apache.org> on 2013/06/26 18:34:19 UTC

[jira] [Closed] (FOP-2269) fo:marker for subtotals by page

     [ https://issues.apache.org/jira/browse/FOP-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Bowditch closed FOP-2269.
-------------------------------

    Resolution: Invalid

Please don't raise bugs to ask questions. Please post your question to the mailing list fop-users@xmlgraphics.apache.org.

I don't believe there is a way to do what you need. The values to put in markers have to come from the input XML. Unfortunately when creating the XML or during XSLT stage you aren't aware of page boundaries, so you can't create a page only sub total, only sub totals for the entire table/document sub section so far.

Thanks,

Chris
                
> fo:marker for subtotals by page
> -------------------------------
>
>                 Key: FOP-2269
>                 URL: https://issues.apache.org/jira/browse/FOP-2269
>             Project: Fop
>          Issue Type: Bug
>            Reporter: Lisdiana Rodriguez Alvarado
>            Priority: Blocker
>
> Hi,
> I'm working in a project that must generate a PDF Invoice using a XML as source. 
> I'm using FOP 1.1 and the PDFs are generated almost like I expect,  but my current problem is that each page must show subtotals. I need these totals by page, not accumulative. I'm trying using fo:retrieve-marker (retrieve-boundary="page") in the page footer and also with fo:retrieve-table-marker(retrieve-boundary-within-table="page") in the footer of a table. However in both cases, subtotals contains not just the accumulative in the current page but the amounts in the previous ones. 
> I've been looking samples but I can't find what I'm doing wrong. I need to know if it's possible to do what I need to, and if so, I need a sample or guide to know how to "reset" the subtotals in every page.
> Thanks in advance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira