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

Free Support Forum - aspose.com

Revision Date issue

Apose Words for Java (tested v14.6.0) does not correctly handle the revisions timestamps.

According to Word (v2010, see before.png), there are no timestamps.

However Aspose returns a value (Sat Jan 01 01:00:00 CET 1).

Furthermore, after saving the given rtf, the timestamps changes (see after.png, Fri Jan 01 00:00:00 CET 2049).

Document doc = new Document("test.rtf");

System.out.println(doc.getRevisions().get(0).getDateTime()); // Sat Jan 01 01:00:00 CET 1

doc.save("test2.rtf");

Document doc2 = new Document("test2.rtf");

System.out.println(doc2.getRevisions().get(0).getDateTime()); // Fri Jan 01 00:00:00 CET 2049

Thanks

Romain

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";}

<![endif]–>

Hi Romain,

Thanks for your inquiry. I
have tested the scenario and have managed to reproduce the same issue
at my side. For the sake of correction, I have logged this problem in
our issue tracking system as WORDSNET-10575. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

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


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