Input-XML - 3.Filling PDF form fields

Filling PDF form fields

NameDescription
<FillInfo>

Defines name-value pairs for pre-filling of PDF form fields.

FillInfo may appear more than once and have an optional attribute File.

 

If File is not specified, then data from FillInfo tag is applied to all PDF files provided.

If File="N" is provided (where N is a decimal number), then data from this particular FillInfo tag is applied only to the PDF file, which order in XML is N.

For example, if File="2" is passed, then FillInfo is applied to the second PDF file.

 

Note: current implementation allows only one PDF file to be passed. All FillInfo tags with File="N", where N is not equal to "1", are ignored.

<FillEntry>

Defines one name-value pair. It contains two nested tags:

<Name> defines field name and <Value> defines value, that should be written to the field.

<FillEntry> may appear more than once inside a single <FillInfo> tag.

Example
<FillInfo>     
	<FillEntry>       
		<Name>name</Name>       
		<Value>Max Mustermann</Value>     
	</FillEntry>     
	<FillEntry>       
		<Name>strasse</Name>       
		<Value>Otto-Hirsch-Bruecken 17</Value>     
	</FillEntry>
</FillInfo>

Additional tags

NameDescription
<AutoStartPDF>

eSignatureOffice enters PDF Form Fill mode automatically after document is opened.

Some Buttons like Viewmode and Administration will be disabled.

<AutoStartFormFill>eSignatureOffice enters PDF Form Fill mode automatically after document is opened, without disabling functionallity like <AutoStartPDF>.
Example
<?xml version="1.0" ?>
  <ESign>
	<Signatures>....</Signatures>
	<PDF>JVB...[Base64-encoded PDF file content]...Cg==</PDF>
	<AutoStartPDF/>
 </ESign>
</xml>