/** Sets the fields by FDF merging.
* @param fdf the FDF form
* @throws IOException on error
* @throws DocumentException on error
*/
public void SetFields(FdfReader fdf)
{
Hashtable fd = fdf.Fields;
foreach (string f in fd.Keys) {
String v = fdf.GetFieldValue(f);
if (v != null)
SetField(f, v);
}
}