1

I have generated the report in PDF format that compares two .DAT files and it works fine and it highlights entire rows which have differences. But now I want to highlight specific change.

Is there anyway that compares the text from pdf and highlights the differences between it???

This is the comparison in listview

This is the comparision in pdf file which highlight entire row but now I want to highlight specific change

8
  • Which PDF libraries do you use now? How do you generate your reports now? What have you tried? Commented Jan 20, 2016 at 12:38
  • I have implemented this using iTextSharp library.and creating document. Commented Jan 21, 2016 at 5:11
  • How do you generate your reports now? What have you tried? Commented Jan 21, 2016 at 5:46
  • Very funny. I hoped you would explain how you currently can highlight the whole line with the change but have problems highlighting only the change. As soon as that becomes clear, you have a chance to get a helpful answer. Commented Jan 21, 2016 at 6:34
  • So, you've got code that does "something"... and you want that code to do that "something" better... hmmm... Without seeing the code we can't help too much but I'd look around line 17. Commented Jan 21, 2016 at 14:39

1 Answer 1

1

I think you have to try character comparison,but not directly,i have done string comparison but using the replace and to lowercase method,i.e first replace space with "",and lower the strings,then you can go for character comparison,then only result would not be weird.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.