fop-qrcode-zxing


Apache FOP extension to embed SVG QRCode

fop-qrcode-zxing

Apache FOP extension to embed SVG QRCode.

Source code located at GitHub.

Dependencies

Apache FOP (http://xmlgraphics.apache.org/fop/)

ZXing ("Zebra Crossing")(http://code.google.com/p/zxing/)

Usage

Put fop-zxing-0.1.2-jar-with-dependencies.jar and in the FOP classpath. <qr:qr-code xmlns:qr="http://hobbut.ru/fop/qr-code/" width="10cm" message="Hello, Zxing!" correction="l"/>

Parameters

width - Width of qr-code. Can be in mm,pt,in,cm. Default: 50mm

correction - type of correction. Can be l,m,q,h. Deafult:l

encoding - Message encoding. Default:ISO-8859-1

message - Message to encode

sample.xml

Project Information

The project was created on Feb 11, 2012.

Labels:
fop zxing qrcode