forked from lexml/fop-qrcode-zxing
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
18 lines (14 loc) · 766 Bytes
/
README
File metadata and controls
18 lines (14 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Dependencies
*Apache FOP 2.4 http://xmlgraphics.apache.org/fop/
*ZXing ("Zebra Crossing") http://code.google.com/p/zxing/
Usage
Put the [jar](https://github.com/tommy4st/fop-qrcode-zxing/releases/tag/0.3) 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.
margin - Quiet zone margin (in module units). Default: 4
color - Color of elements (in SVG notation). Default: black
sample.xml : https://github.com/tommy4st/fop-qrcode-zxing/blob/master/src/test/resources/sample.xml