|
21 | 21 | <enumerationValues> |
22 | 22 | <enumerationValue key="CODE128">Barcode</enumerationValue> |
23 | 23 | <enumerationValue key="QRCode">QR Code</enumerationValue> |
24 | | - <enumerationValue key="Custom">Custom Format</enumerationValue> |
| 24 | + <enumerationValue key="Custom">Custom</enumerationValue> |
| 25 | + </enumerationValues> |
| 26 | + </property> |
| 27 | + <property key="customCodeFormat" type="enumeration" required="true" defaultValue="CODE128"> |
| 28 | + <caption>Custom Format</caption> |
| 29 | + <description>Choose between barcode types format</description> |
| 30 | + <enumerationValues> |
| 31 | + <enumerationValue key="CODE128">CODE128</enumerationValue> |
| 32 | + <enumerationValue key="EAN13">EAN-13</enumerationValue> |
| 33 | + <enumerationValue key="EAN8">EAN-8</enumerationValue> |
| 34 | + <enumerationValue key="EAN5">EAN-5</enumerationValue> |
| 35 | + <enumerationValue key="EAN2">EAN-2</enumerationValue> |
| 36 | + <enumerationValue key="UPC">UPC</enumerationValue> |
| 37 | + <enumerationValue key="CODE39">CODE39</enumerationValue> |
| 38 | + <enumerationValue key="ITF14">ITF-14</enumerationValue> |
| 39 | + <enumerationValue key="MSI">MSI</enumerationValue> |
| 40 | + <enumerationValue key="pharmacode">Pharmacode</enumerationValue> |
| 41 | + <enumerationValue key="codabar">Codabar</enumerationValue> |
| 42 | + <enumerationValue key="CODE93">CODE93</enumerationValue> |
25 | 43 | </enumerationValues> |
26 | 44 | </property> |
27 | 45 | <property key="allowDownload" type="boolean" defaultValue="false"> |
|
42 | 60 | <caption>Code height</caption> |
43 | 61 | <description>In pixels</description> |
44 | 62 | </property> |
| 63 | + <property key="codeMargin" type="integer" required="true" defaultValue="2"> |
| 64 | + <caption>Margin size</caption> |
| 65 | + <description>In pixels</description> |
| 66 | + </property> |
45 | 67 | <property key="qrSize" type="integer" required="true" defaultValue="128"> |
46 | 68 | <caption>QR Size</caption> |
47 | 69 | <description>The size of the QR box</description> |
48 | 70 | </property> |
49 | | - <property key="codeMargin" type="integer" required="true" defaultValue="2"> |
| 71 | + <property key="qrMargin" type="integer" required="true" defaultValue="2"> |
50 | 72 | <caption>Margin size</caption> |
51 | | - <description>In pixels</description> |
| 73 | + <description /> |
| 74 | + </property> |
| 75 | + <property key="qrTitle" type="string" required="true"> |
| 76 | + <caption>Title</caption> |
| 77 | + <description>Used for accessibility reasons.</description> |
| 78 | + </property> |
| 79 | + <property key="qrLevel" type="enumeration" required="true" defaultValue="L"> |
| 80 | + <caption>Level</caption> |
| 81 | + <description>The Error Correction Level to use</description> |
| 82 | + <enumerationValues> |
| 83 | + <enumerationValue key="L">L</enumerationValue> |
| 84 | + <enumerationValue key="M">M</enumerationValue> |
| 85 | + <enumerationValue key="Q">Q</enumerationValue> |
| 86 | + <enumerationValue key="H">H</enumerationValue> |
| 87 | + </enumerationValues> |
| 88 | + </property> |
| 89 | + <property key="qrImage" type="boolean" required="true" defaultValue="false"> |
| 90 | + <caption>Image</caption> |
| 91 | + <description>Include an image on top the QR code</description> |
| 92 | + </property> |
| 93 | + <property key="qrImageSrc" type="image" required="true"> |
| 94 | + <caption>Image source</caption> |
| 95 | + <description>URL or path to the image to display on the QR code</description> |
| 96 | + </property> |
| 97 | + <property key="qrImageCenter" type="boolean" required="true" defaultValue="true"> |
| 98 | + <caption>Center image</caption> |
| 99 | + <description>Center the image in the QR code</description> |
| 100 | + </property> |
| 101 | + <property key="qrImageX" type="integer" required="true" defaultValue="0"> |
| 102 | + <caption>Image X position</caption> |
| 103 | + <description>Horizontal position of the image</description> |
| 104 | + </property> |
| 105 | + <property key="qrImageY" type="integer" required="true" defaultValue="0"> |
| 106 | + <caption>Image Y position</caption> |
| 107 | + <description>Vertical position of the image</description> |
| 108 | + </property> |
| 109 | + <property key="qrImageHeight" type="integer" required="true" defaultValue="24"> |
| 110 | + <caption>Image height</caption> |
| 111 | + <description>Height of the image in pixels</description> |
| 112 | + </property> |
| 113 | + <property key="qrImageWidth" type="integer" required="true" defaultValue="24"> |
| 114 | + <caption>Image width</caption> |
| 115 | + <description>Width of the image in pixels</description> |
| 116 | + </property> |
| 117 | + <property key="qrImageOpacity" type="decimal" required="true" defaultValue="1"> |
| 118 | + <caption>Image opacity</caption> |
| 119 | + <description>Opacity of the image (0.0 to 1.0)</description> |
| 120 | + </property> |
| 121 | + <property key="qrImageExcavate" type="boolean" required="true" defaultValue="true"> |
| 122 | + <caption>Excavate background</caption> |
| 123 | + <description>Remove QR code dots behind the image</description> |
52 | 124 | </property> |
53 | 125 | </propertyGroup> |
54 | 126 | </propertyGroup> |
55 | | - <propertyGroup caption="Advanced"> |
56 | | - <property key="customCodeFormat" type="enumeration" required="true" defaultValue="CODE128"> |
57 | | - <caption>Barcode Format</caption> |
58 | | - <description>Choose between barcode types format</description> |
59 | | - <enumerationValues> |
60 | | - <enumerationValue key="CODE128">CODE128</enumerationValue> |
61 | | - <enumerationValue key="EAN13">EAN-13</enumerationValue> |
62 | | - <enumerationValue key="EAN8">EAN-8</enumerationValue> |
63 | | - <enumerationValue key="EAN5">EAN-5</enumerationValue> |
64 | | - <enumerationValue key="EAN2">EAN-2</enumerationValue> |
65 | | - <enumerationValue key="UPC">UPC</enumerationValue> |
66 | | - <enumerationValue key="CODE39">CODE39</enumerationValue> |
67 | | - <enumerationValue key="ITF14">ITF-14</enumerationValue> |
68 | | - <enumerationValue key="MSI">MSI</enumerationValue> |
69 | | - <enumerationValue key="pharmacode">Pharmacode</enumerationValue> |
70 | | - <enumerationValue key="codabar">Codabar</enumerationValue> |
71 | | - <enumerationValue key="CODE93">CODE93</enumerationValue> |
72 | | - </enumerationValues> |
73 | | - </property> |
74 | | - </propertyGroup> |
75 | 127 | </properties> |
76 | 128 | </widget> |
0 commit comments