I am facing a problem right now.I need idea/code snippet on how to convert word doc to pdf programatically.Here,We can't use pdf generation line by line usinmg itext or can't directly by setting 'application/pdf' in response object.
As you want to load the doc from a byte array, you may convert it to Input Stream and use the other constructor of Document class with InputStream parameter. The API is very simple and can be used in any type of Java application easily. The output PDF file quality is quite good as well. Please try it at your end and see if it helps in your scenario.
Developer Evangelist @ Aspose. I love to explore and learn new technologies and help other developers along the way.
Thanks for reply..one question : Can we get converted pdf from word as inputstream/byte array rather than saving in physical drive using doc.save.I am trying to use it.but if you have any idea please let me shame with