Hi, I’m having a bit of a problem with Aspose.Words for Java. Up until now, everything worked fine, but now I’m trying to obtain form fields from a Word document, and I’m coming up empty despite their presence in the Word document. I’m using the following code:
Document wordDocument = new Document(inputFilename);
FormFieldCollection fields = wordDocument.getRange().getFormFields();
log.debug(fields.getCount() + " form fields");
The log output from this code yields “0 form fields”. And I’m staring at the fields in the original document, which is quite short.
One possibility I’ve considered is that this is one of the limitations of the evaluation copy. However, I’ve been unable to find precise details on what the limitations are for unlicensed versions of the software, so I don’t know if this is an intentional limitation, a bug, or something that I’m doing wrong.
If it is an evaluation issue, I’d like to try the library with a temporary license, although I’m wondering if there will be any difficulty getting this to run in a Maven-based application.
Thanks in advance.
Ray Weidner