From: John K. <kou...@gm...> - 2015-01-03 23:04:25
|
Hello I am using FOP 1.1 w/ barcode4j.2.1. I cannot get the #page-number# functionality in the barcode message to work. It always returns 000. However, the rest of my PDF417 barcode works just fine. In a previous thread it was suggested to use FOP 1.0 and set the FOP configuration <prefer-renderer>true</prefer-renderer> to get the page-number substitution to work. I can get that to work. However, the same setting <prefer-renderer>true</prefer-renderer> will not work with FOP 1.1. When I researched the code it seems the PageInfo.fromProcessingHints() looks for page-number and page-name, which do not exist in the Map passed in from any of the ImageConverters, such as ImageConverterBarcode2G2D. The documentation says these should come from the xmlgraphics-commons library. However, even with TRUNK versions of FOP and xmlgraphics-commons, I do not see anywhere where these properties are set. Does fop 1.1 currently support the #page-number# replacement in any fashion? Please Advise John Kouris |