what I need do is: I have an original file, it can be office word file, or pdf file. In the file, there are some words that are encrypted, so, it reads like:

blah, blah, this is the word: xxxxx, blah, blah

In my program, I decrpted the xxxxx, now, I want to put it back and generate the new file. How can I do it? for word file, I guess MS office library will work. how about pdf file?

thanks