Aspose words autofresh not working

Hi
We have a requirement where modular mircosoft word documents (either .doc or .docx) need to be appended using a java utility and the merged document will be used as a user manual.
We used Aspose words (Java evaluation version) for our evaluation of the product before purchase. We got very satisfactory results from Aspose Words, but the end document is not getting refreshed automatically (Autoupdate using doc.updateFields():wink: . If we do (CtrlA + F9) on the merged document, everything gets perfect.
We would be deploying the final code in Unix platform, so there is no scope of opening the output document to run any macro. Our end result would be a pdf document.
Let me explain below.
Issue1) Aspose output for TOC is
Chapter 2 : Document Overview… 4
2.1 XE “scope:document” Scope of the Document… 5
After refresh (CtrlA+F9) it gets corrected to
Chapter 2 : Document Overview. 2-4
2.1 Scope of the Document 2-5
Formating has chapter number before the page numbers.
Issue 2) The index code is populating in the TOC (shown above).
Issue3) Index is not getting auto updated at the end of the document.
Once the documents are merged, to autoupdate the word, we are using the below aspose code

doc.appendDocument(rcEnd, 0);
doc.updateListLabels();
doc.updatePageLayout();
doc.updateFields();

Please suggest a solution.
Regards.

Hi Shamik,
Thanks for your request. Could you please attach your sample input documents here for testing? We will check the issue and provide you more information.
Best regards,

Please find the sample input files attached.
Regards,

Hi
Thank you for additional information.

  1. I managed to reproduce this problem. Your request has been linked to the appropriate issue. We will let you know once it is resolved.
  2. I managed to reproduce the problem with XE field. I logged this problem into our defect database. We will let you know once it is fixed.
  3. The INDEX field is not updated because Aspose.Words does not support updating this field yet. Your request has been linked to the appropriate issue. We will let you know once it is resolved. Here you can find a list of field supported by Aspose.Words upon updating fields:
    https://docs.aspose.com/words/java/update-field/

Best regards,

Hi there,

Regarding your issue with the XE field, in the mean time you can work around this problem by moving this field, for example to the end of the paragraph.

Thanks,

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

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

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

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

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

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