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 15:19:14 GMT
Thank you! That seams exactly what I need..
Only one concern.. isn't that a problem if the resulting
FO document contains several (one for row) fo:marker
with the same name??

Best regards.
--
Robi


Jeremias Maerki wrote:
> He meant this:
> http://marc.theaimsgroup.com/?l=fop-user&m=109035492329917&w=2
> 
> I hope that helps.
> 
> On 01.02.2006 15:09:19 Roberto Nunnari wrote:
> 
>>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
> 
> 
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> 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