5.19.8 FILL

The FILL command allows specified Acrobat form fields to be set. This command requires a field list to be passed so values can be obtained. The form usage attribute can have a value of:

     or

The default is to preserve form usage rights.

Syntax:

Command

Keyword

Value

Developer notes

FILL

DOCUMENT

value

Required. PDF file.

CONTENT

value

Required. XML content file.

PASSWORD

value

Optional. User password.

MASTER

value

Optional. Master password.

NAME

value

Required. Name of form.

OUTPUT

value

Required. Output PDF file.

 

Example

FILL DOCUMENT(form.pdf) CONTENT(form.xml) NAME(insurance) OUTPUT(filled.pdf) SERVICE_EXCHANGE(*FIELD}

 

 

<?xml version="1.0" encoding="utf-8"?>

 

<document>

 

<form name="insurance" usage="flatten">

  <field name="FIRM NAME" value="{FNAME}"/>

  <field name="FIRM ADDRESS" value="{FADDR}"/>

</form>

 

</document>