Track changes in paragraphs

  • Thread starter Thread starter Lupi
  • Start date Start date
L

Lupi

Hello,

I am trying to implement a solution where the user opens a document
for the first time, then on close for each paragraph somewhere is
saved it's last update date, which will be the current. Then on the
next document open if any of the paragraphs were modified their last
modified date should be updated too. I have 2 options to save the
custom data for each paragraph - using w:customXml tag or using
CustomXMLParts.

The problem is I can't find a way to identify every paragraph, because
there is no ID or anything that identifies a paragraph uniquely.

Is there some way to distinguish the different paragraphs by some ID
and not by their text or content?

Best regards
 
Hello,

I am trying to implement a solution where the user opens a document
for the first time, then on close for each paragraph somewhere is
saved it's last update date, which will be the current. Then on the
next document open if any of the paragraphs were modified their last
modified date should be updated too. I have 2 options to save the
custom data for each paragraph - using w:customXml tag or using
CustomXMLParts.

The problem is I can't find a way to identify every paragraph, because
there is no ID or anything that identifies a paragraph uniquely.

Is there some way to distinguish the different paragraphs by some ID
and not by their text or content?

Best regards

You might be able to do this by bookmarking each para.
 
Great advice, thanks. I think it will work but then again is there a
way to track whether some paragraph has changed during the course of
the editing of the file? Is there some API or event that occurs on
paragraph text change or something like that?

Thank again
 
Great advice, thanks. I think it will work but then again is there a
way to track whether some paragraph has changed during the course of
the editing of the file? Is there some API or event that occurs on
paragraph text change or something like that?

Thank again

AFAIK there is not.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top