framework/common/servicedef/services_qrcode.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd">
<description>QRCode Services</description>
<vendor>OFBiz</vendor>
<version>1.0</version>
<service name="generateQRCodeImage" engine="java" require-new-transaction="true" max-retry="3"
auth="false" location="org.ofbiz.common.qrcode.QRCodeServices"
invoke="generateQRCodeImage">
<description>Generate a QRCode image according to </description>
<attribute name="message" type="String" mode="IN" optional="false"/>
<attribute name="format" type="String" mode="IN" optional="true"/>
<attribute name="height" type="Integer" mode="IN" optional="true"/>
<attribute name="width" type="Integer" mode="IN" optional="true"/>
<attribute name="encoding" type="String" mode="IN" optional="true"/>
<attribute name="logoImage" type="String" mode="IN" optional="true"/>
<attribute name="logoImageMaxWidth" type="Integer" mode="IN" optional="true"/>
<attribute name="logoImageMaxHeight" type="Integer" mode="IN" optional="true"/>
<attribute name="verifyOutput" type="Boolean" mode="IN" optional="true"/>
<attribute name="bufferedImage" type="java.awt.image.BufferedImage" mode="OUT" optional="true"/>
<attribute name="useLogo" type="Boolean" mode="IN" optional="true" default-value="true">
<description>SCIPIO: Explicit logo enable (stock did not permit false). Default: true</description>
</attribute>
<attribute name="ecLevel" type="String" mode="IN" optional="true">
<description>SCIPIO: Error correction level. Possible values: L, M, Q, H. Default: from qrcode.properties</description>
</attribute>
<attribute name="logoImageSize" type="String" mode="IN" optional="true"><!-- added 2018-08-23 -->
<description>SCIPIO: Logo image target size. Supports formats such as: 100%, 50%, 100x100, 80%x80%
NOTE: Aspect ratio is never changed; two dimensions mean two limits.</description>
</attribute>
<attribute name="logoImageMaxSize" type="String" mode="IN" optional="true"><!-- added 2018-08-23 -->
<description>SCIPIO: Logo image max size. Supports formats such as: 100%, 50%, 100x100, 80%x80%
NOTE: Aspect ratio is never changed; two dimensions mean two limits.</description>
</attribute>
<attribute name="scalingOptions" type="Map" mode="IN" optional="true"><!-- added 2018-08-23 -->
<description>SCIPIO: Scaling options; scalerName can name a scaler from imageops.properties.</description>
</attribute>
</service>
</services>