is there any library in which we give the url of wordml file and then it will automatically convert that file into pdf and then save that pdf file to new directory.

i know it is possible while using COM.
i need help on this which can be implemented under LINUX