public interface BarcodedFormsService
Using a BarcodedFormsClient
object, you can decode data from barcodes located within a form. You can also convert
the data that was extracted from the barcode into XDP or XFDF XML data. For information, see Working With the Barcoded Forms Service.
Modifier and Type | Method and Description |
---|---|
Document |
decode(Document document,
Boolean pdf417,
Boolean dataMatrix,
Boolean qrCode,
Boolean codabar,
Boolean code128,
Boolean code39,
Boolean ean13,
Boolean ean8,
CharSet charSet)
Decodes all the barcodes in a
Document object and returns a org.w3c.dom.Document object that contains data that was retrieved from the barcode. |
List<Document> |
extractToXML(Document decoderXML,
Delimiter lineDelimiterType,
Delimiter fieldDelimiterType,
XMLFormat xmlFormat)
Converts delimited barcode data into XDP or XFDF XML data.
|
Document decode(Document document, Boolean pdf417, Boolean dataMatrix, Boolean qrCode, Boolean codabar, Boolean code128, Boolean code39, Boolean ean13, Boolean ean8, CharSet charSet) throws Exception
Document
object and returns a org.w3c.dom.Document
object that contains data that was retrieved from the barcode.document
- A com.adobe.idp.Document
object that represents a PDF document that contains a barcode to decode.pdf417
- A java.lang.Boolean
object that when set to true
, decodes PDF417 barcodes.dataMatrix
- A java.lang.Boolean
object that when set to true
, decodes data matrix barcodes.qrCode
- A java.lang.Boolean
object that when set to true
, decodes QR code barcodes.codabar
- A java.lang.Boolean
object that when set to true
, decodes Codabar barcodes.code128
- A java.lang.Boolean
object that when set to true
, decodes code 128 barcodes.code39
- A java.lang.Boolean
object that when set to true
, decodes code 39 barcodes.ean13
- A java.lang.Boolean
object that when set to true
, decodes EAN-13 barcodes.ean8
- A java.lang.Boolean
object that when set to true
, decodes EAN-8 barcodes.charSet
- A com.adobe.fd.bcf.api.CharSet
enumeration. The character set encoding value used in the barcode.org.w3c.dom.Document
object that contains data that was retrieved from the barcode.Exception
- If an error occurred during this operation.List<Document> extractToXML(Document decoderXML, Delimiter lineDelimiterType, Delimiter fieldDelimiterType, XMLFormat xmlFormat) throws Exception
decoderXML
- A org.w3c.dom.Document
object that contains delimited barcode data.lineDelimiterType
- A com.adobe.fd.bcf.api.Delimiter
enumeration. The type of the line delimiter.fieldDelimiterType
- A com.adobe.fd.bcf.api.Delimiter
enumeration. The type of the field delimiter.xmlFormat
- A com.adobe.fd.bcf.api.XMLFormat
enumeration. Specifies whether to convert delimited barcode data into XDP or XFDF XML data.java.util.List
object that contains values for each barcode.
The key is barcode1
, barcode2
, and so on.Exception
- If an error occurred during this operation.Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.