Hi, I am trying to upgrade to Apache FOP 2.0 from Apache FOP 1.0. As part of my implementation I am using Barcode4j 2.1 and Barcode4j Extension 2.1 to generate barcodes. I am trying to include page numbers as part of barcode message. I have included barcode4j and barcode4j extension jars as part of my project dependency.
When I try to run and generate the PDF. I get barcode generated but the page number is getting replaced by zeros. I tried to debug the issue and my initial analysis indicate that BarcodeXMLHandler from barcode4j-extn is getting registered with Apache FOP. But handleXML method of BarcodeXMLHandler is not getting called from Apache FOP IFRenderer. I think handleXML method has reference to RenderContext which provides information with regards to page number. Since handleXML method of BarcodeXMLHandler is not getting called the page number is not getting resolved and zeros are returned. I am not sure if any other user is facing the same problem and have any resolution for this issue. I really appreciate any help and support. Regards, Alpesh Rambiya -- View this message in context: http://apache-fop.1065347.n5.nabble.com/FOP-2-0-Barcode4j-2-1-Extension-Page-Number-support-tp42448.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
