* @throws IOException If there is an error when exporting the document.
*/
public FDFDocument exportFDF() throws IOException
{
FDFDocument fdf = new FDFDocument();
FDFCatalog catalog = fdf.getCatalog();
FDFDictionary fdfDict = new FDFDictionary();
catalog.setFDF( fdfDict );
List<FDFField> fdfFields = new ArrayList<FDFField>();
List<PDFieldTreeNode> fields = getFields();
Iterator<PDFieldTreeNode> fieldIter = fields.iterator();
while( fieldIter.hasNext() )