Oscar,
OscarP wrote: > > Ok Michael, i was able to get the PDF contents, but my method doesn't work > for all PDF files. For instance, I can't get it to work with PDF files > generated with OpenOffice. > > [...] > > All the examples work "fine", i haven't tested them with embedded images, > except the OpenOffice one. > > Could you please show me an example on how to do this? Could you at least > tell me what is going wrong? > I'm afraid Leonard's remark is quite right. Your method obtenerPaginaPDF doesn't generally obtain the page as its name optimistically states. In some cases you are lucky and some of the text on page is returned. In general, though, you are likely to get some gibberish. As Leonard implied, you should first of all study the PDF Reference. Afterwards you'll see that your approach of somehow normalizing the page contents for a comparison is really really difficult to implement. A bit more easy might be understanding (or at least sensibly limiting) changes made between revisions; not really easy, just not as difficult. Regards, Michael. -- View this message in context: http://www.nabble.com/How-can-compare-the-content-of-two-revision-tp23649348p23726000.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/