Free Support Forum - aspose.com

Problem with finding FormFields

Received : 2007/10/18 13:37:39
Message : For some reason the following code (See below) does not return any form fields for the attached document. If I move the form fields to the top of the document, then it reads them just fine. This seems like a bug. Any ideas?

doc.getRange().getFormFields().getCount();

Note: I posted the message above to the java/word forum and attached the document there.


This message was posted using Aspose.Live 2 Forum

Howdy,

You are using Aspose.Words in evaluation mode. Aspose.Words in evaluation mode inserts evaluation watermark AND truncates long docs. In your case stripped out all your formfields since them situated at the bottom of the doc. You can check the result with a line:

doc.save(“X:\\some place\\out.doc”);

With valid license all works just fine.

Regards,