Yes, I think I didn't explained myself right. The thing is, by now I have written a php script that handles document conversion using jodconverter and openoffice. It simply gets as its input the file name and returns it's pdf version. I wonder if I can "embed" it, or something like that, into the Resource module??