xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Nunnari <roberto.nunn...@supsi.ch>
Subject Re: total per page
Date Wed, 01 Feb 2006 14:09:19 GMT
Hello list.

Can anybody tell me what J.Pietschmann meant by 'a marker based solution'?

Best regards.
--
Robi.


J.Pietschmann wrote:
> Roberto Nunnari wrote:
> 
>> but I also need to have the current total at the end of
>> each page and at the beginnig of each new page in the final
>> pdf document, and here is where I ask for help.
> 
> 
> In general, there is no standard (or easy) way to solve this. FOP
> doesn't do calculations involving data from the content, and OTOH
> there is no way for other tools to know what content is on a page.
> 
> There are solutions in some special cases:
> 1. If you can live with a partial sum from the beginning to the
>  (end of) the current page rather than the total of the current page,
>   you can  use a marker based solution.
> 2. If you can reasonably estimate how much content fits on a page,
>  you can precompute the layout the pages, including the page totals.
> 
> A more flexible solution would be coding a functional extension to FOP
> involving the evaluation of expressions which may refer to marker
> content.
> 
> J.Pietschmann
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message