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

Free Support Forum - aspose.com

Determine if a Run node/ Paragraph node have some Format Changes

Hi,


We want to know if the visited run or paragraph node has some format changes. We observed that there are two methods isInsertRevision() and isDeleteRevision() in both Run and Paragraph class which is terrific and useful to us. We also want to know if there are format or style change revision associated with a run or paragraph node. Could you please tell us if there is some way of getting this information from run or paragraph node?, and if its not there then how can we get this information. Please help us.

Looking for your reply on this.

Thanks
Manisha

Hi Manisha,


Thanks for your inquiry. We have logged your requirement in our issue tracking system as WORDSNET-12499. Our product team will further look into the details of this problem and we will keep you updated on the status of this issue. We apologize for any inconvenience.

Best regards,

Hi,



Thanks for logging an issue for this requirement.

We need this information urgently. Could you please provide us some workaround to get to know if a run/paragraph has undergone any style or format change until you expose it via some API? Please provide us some workaround on this as we really need this feature asap.

Looking for your reply.

Thanks
Manisha

Hi Manisha,


Thanks for your inquiry. You can know that which nodes in DOM have format change revision and store them in collection. After populating that collection, for a particular node you can search in collection whether it exists or not. Hope, this helps:

ArrayList arrList = new ArrayList();

foreach (Revision rev in doc.Revisions)

{

if (rev.RevisionType.Equals(RevisionType.FormatChange))

{

arrList.Add(rev.ParentNode);

}

}


Best regards,

Thanks for providing me this valuable information.

Thanks
Manisha

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


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

Hi Manisha,


It is to update you that we have introduced a new Inline.IsFormatRevision property as per WORDSNET-12499 that returns true if formatting of the object was changed in Microsoft Word while change tracking was enabled. Hope, this helps.

Best regards,