PDF Form

PDF Editable Content

Note: for this PDF/A must be deactivated, so that the defined fields can also be changed

Generating Editable PDF Content

Examples - fix Variables

<variable name="DevText" class="java.lang.String"> <initialValueExpression><![CDATA["Default for Textbox"]]></initialValueExpression> </variable> <variable name="DevCheck" class="java.lang.String"> <initialValueExpression><![CDATA["true"]]></initialValueExpression> </variable> <variable name="DevCombo" class="java.lang.String"> <initialValueExpression><![CDATA["One,Two,Three,Four"]]></initialValueExpression> </variable> <variable name="DevComboSel" class="java.lang.String"> <initialValueExpression><![CDATA["Three"]]></initialValueExpression> </variable>

Textbox

<textField> <reportElement x="0" y="0" width="180" height="15" uuid="e380d794-f7ea-462f-83f6-8c14fc3e19a7"> <property name="net.sf.jasperreports.export.pdf.field.type" value="Text"/> <property name="net.sf.jasperreports.export.pdf.field.name" value="Text01"/> <property name="net.sf.jasperreports.export.pdf.field.border.style" value="Solid"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <textFieldExpression><![CDATA["Text01"]]></textFieldExpression> </textField>

Checkbox

<textField> <reportElement x="200" y="1" width="13" height="13" uuid="a4eb453a-9687-4a0e-b465-55f025909556"> <property name="net.sf.jasperreports.export.pdf.field.type" value="Check"/> <property name="net.sf.jasperreports.export.pdf.field.name" value="Check01"/> <property name="net.sf.jasperreports.export.pdf.field.border.style" value="Solid"/> <property name="net.sf.jasperreports.export.pdf.field.check.type" value="Cross"/> </reportElement> <textFieldExpression><![CDATA["Check01"]]></textFieldExpression> </textField>

Combobox

Radio group

Examples - value from Fields

Checkbox