Hi There,
I am using following code to convert docx to PDF:
InputStream DocFile = new ByteArrayInputStream(inParamFile);
Document doc = new Document(DocFile );
// ConvertDoc
doc.save(outputByteArray,SaveFormat.PDF);
ResultFile = outputByteArray.toByteArray();
But I loose some characters appear as boxes and all the spacing gets messed up. How can I make sure that all characters show up and formatting is same? The font used in Word file is Arial with size 10.
Please check the attached screenshots for issues.
Thanks,
Gurvinder