资 源 简 介
Objective
Generate and embed QRCode in XSL-FO, using Apache FOP
Dependency
Apache FOP
QRCode library from d_project ( http://www.d-project.com/qrcode/qrcodelib.html )
Usage
Include qrcode-fop-ext.jar in your project classpath
Add following fragment to your FO:
A QR Code size d20mmx20mm will be added to the FO, with encoded message “hello, world”
You may customize the QRCode type and error correction type ( for details, please refer to Denso-wave page: http://www.denso-wave.com/qrcode/vertable1-e.html )
see xml/fo/helloworld.fo for ful