1
votes

Please clarify how to implement barcode functionality within orbeon 3.9 PE.

The wiki reference (see link) isn't clear on how to implement.

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner#TOC-PDF-and-barcode

1
What exactly do you want to do with barcodes? The oxf.fr.detail.pdf.barcode property documented on the wiki just places a barcode with the document id on generated PDF. Do you need this, or something else? - ebruchez
@ebruchez we are trying to generate barcodes to template pdf's. We would also like to manipulate the barcode values to data values from form values. - landyg

1 Answers

1
votes

If you set this property the barcode should appear on the PDF.

<property as="xs:boolean" name="oxf.fr.detail.pdf.barcode.*.*" value="true"/>

This uses the document id as value for the barcode.

This is the only built-in function right now. You can see how this is done in the source here:

https://github.com/orbeon/orbeon-forms/blob/master/src/resources/apps/fr/print/print-pdf-template.xsl