Andre,

I had a similar problem, and I included barcode elements in the static areas of 
a page. Finally I decided to take barcode4j as a template for my own FOP 
extension and to derive some classes from the original PageNumber*.java Classes 
in included in the FOP sourcecode. 

That gave me the chance to include current and total page number together with 
other information in the barcode. 

Alex.

> 
  
Alexander  Schwartz
PLUS Finanzservice GmbH
Otto-von-Guericke-Ring 15
65205  Wiesbaden
T.: 06122 - 999 906
F.: 06122 - 999 44906
[EMAIL PROTECTED]
 
------------------------------------------------------------------------------
Confidentiality: This e-mail and its attachments are intended for the above 
named only and may be confidential. If they have come to you in error you must 
take no action based on them, nor must you copy or show them to anyone; 
please reply to this e-mail and highlight the error.
 
Security Warning: Please note that this e-mail has been created in the 
knowledge that Internet e-mail is not a 100% secure communications medium. We 
advise that you understand and observe this lack of security when e-mailing us.
 
Viruses: Although we have taken steps to ensure that this e-mail and its 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure they are actually virus free.
------------------------------------------------------------------------------
-----Ursprüngliche Nachricht-----

> Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] 
> Gesendet: Mittwoch, 22. Februar 2006 14:01
> An: [email protected]
> Betreff: Re: Page Numbers
> 
> 
> No, at least it's not possible in XSLT since FOP runs after 
> the XSLT stage and you stylesheet cannot know about page-numbers.
> 
> The FOP extension for Barcode4J, however, contains a special 
> feature that allows you to use the page number in a barcode. 
> That works because Barcode4J runs during FOP's layout 
> process. See the documentation here: 
> http://barcode4j.krysalis.org/fop-ext.html
> 
> On 22.02.2006 
> 11:45:18 Andre Groeneveld wrote:
> > Hi can anyone help me please.
> > 
> >  
> > 
> > Is there any way of storing the current page number in a variable?
> > 
> > The reason why I need to store the page number is that I 
> need to make 
> > a calculation with the page number and use the result for a barcode.
> 
> 
> 
> Jeremias Maerki
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to