Hi,

I am trying to develop something but I am stuck. it's not about the code but about the implementation.

The application captures screenshots and then inserts all the images in a RTF document. Now, the user is also supposed to write a one line description for each image inserted. The text is already available in an excel sheet. I would like to automate this part as well rather than the user entering text for each image. I am using iText API for inserting images.

One thing I could do is insert images and getting the text from the excel sheet.

However, the order of the images can change. In such a situation it would be tedious task for the user to re-write and maintain the document.
Can you please suggest some ideas how I can implement this?

are you looking for a way to match up the text with the picture and keep track of those connections if the images were to change order?