how to find reviewer information of run in aspose.words.

Last post 07-08-2008, 3:47 AM by m.asfak. 2 replies.
Sort Posts: Previous Next
  •  07-08-2008, 12:37 AM 134640

    how to find reviewer information of run in aspose.words.

    Attachment: Present (inaccessible)
    Hi!
    I have to find information of  (1) total number of added words (2) total number of deleted words (3) total number of changed words for each reviewer separately from a word document.

    What I have already done is I have used the DocumentVisitor and entered into each run and checked

    public int visitRun ( Run run ){
               if ( run.isInsertRevision() ) {
                -------------------------
                }
                if ( run.isDeleteRevision() ) {
                ----------------------
                }
        ------------
    }

    I have found the total number of inserted and deleted words. ( I took the run.getText() and then with regular expression I collected the number of words).

    Now I need to know two things..............
    (1) how to find the reviewer (who changed that run) name from run
    (2) how to find the changed words, not inserted or deleted words.......

    [ I have attached a .GIF file to make the problem clear.]

    I need it as soon as possible.
    Thanks in advance.

    Regards


     
  •  07-08-2008, 3:28 AM 134654 in reply to 134640

    Re: how to find reviewer information of run in aspose.words.

    Hi

     

    Thanks for your request. Unfortunately both of your requirements can’t be resolved using Aspose.Words.

     

    1. There is no way to get author of each revision. This is known issue # 4900 in our defect database.

     

    2. Regarding the second issue. You can try to compare document before accepting revisions and after. You can accept revisions programmatically using AcceptAllRevisions method.

     

    Best regards,


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  07-08-2008, 3:47 AM 134661 in reply to 134654

    Re: how to find reviewer information of run in aspose.words.

    Thanks for your reply.

    Regards,
    Asfak Mahamud.
     
View as RSS news feed in XML