We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Accept revisions cause a deletion

Hello,



I am using aspose-words-16.3.0.

I want to accept all revisions in my input .doc file and save it in an output .doc file.

The following code cause a deletion in a table :



Document asposeDoc = new Document(docFile);



if (asposeDoc.hasRevisions())

{

try

{

asposeDoc.acceptAllRevisions();

} catch (Exception ex) {

logger.log(Level.SEVERE,“Exception acceptAllRevisions”,ex);

} finally

{

}

}







String docFileTemp=docFile+“SGR.doc”;

asposeDoc.save(docFileTemp);







The problem is :

In the input document (pb_revisions.doc) in the “Table 3 Referenced Documents” (Page 6), in the last line, “RD21” appears.

After the treatment, the output document (pb_revisions.docSGR.doc) is generated but “RD21” is not displayed



If I accept manually the revision in yellow in the attached capture CaptureTrackChanges.PNG in the input document and then I launch my program, “RD21” is present in the output file.



Can you please help me to fix this problem ?



Thanks,



Regards,



Simon

Hi Simon,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 17.2.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-14997. Your request has also been linked to the appropriate issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

Hello,

Is it possible to move this post to “Public” instead of “private” ?
Thanks,
Regards,
Simon

Hi Simon,


Thanks for your inquiry. We have now made this thread public.

Regarding WORDSNET-14997, unfortunately this issue is not resolved yet. Our product team has completed the analysis of this issue. We will inform you via this thread as soon as this issue is resolved. We apologize for any inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-14997) have been fixed in this Aspose.Words for .NET 17.5 update and this Aspose.Words for Java 17.5 update.


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