Create Fields and FormFields without DocBuilder

I’ve been using Aspose Words for Java (v13.3) to develop a report by directly adding to a Document, rather than using a DocBuilder. But I now need to add some fields (such as PageNumber) and possibly FormFields such as Checkboxes. Is it possible to create these directly, or do I have to use a DocBuilder?

Hi Martin,

Thanks for your inquiry.

To create field in the document tree you need to add FieldStart, FieldSeparator and FieldEnd nodes. Unfortunately, you cannot create these nodes using Aspose.Words public API as they don't have any public constructors. It leaves you with the only option i.e. using DocumentBuilder.

We will consider adding an ability to create fields using DOM. Your request has been linked to the appropriate issue (WORDSNET-3225) in our issue tracking system and you will be notified as soon as this API is available. We apologize for any inconvenience.

Best regards,

Thanks - I thought that was probably the case.

Hi Martin,


Rest assured, we will keep you informed of the status of this issue and let you know once it is resolved.

Best regards,

The issues you have found earlier (filed as WORDSNET-3225) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(7)