I've tried Apache POI for converting doc(ms word) to pdf, but without succeeding to create a stable parser(I get different results from doc to doc)
so finally I have tried DOC to PDF with Java
Indeed well, it does what it says, but it needs OpenOffice(which can not run in text mode on Linux for example).

Did anyone succeed to create a doc to pdf parser with POI for example?

Any other solution?