Hi Team,
We have a docx document which has para breaks at the end of each
line.
When the same docx is saved as PDF and then converted to docx via Aspose, then some of the para breaks within are removed. They are not present at the end of each line.
PFA the input docx, its PDF version and Docx converted via Aspose latest jar.
Please find the below code snippet which we have used to convert PDF to Docx:
DocSaveOptions saveOptions = new DocSaveOptions();
// Set output file format as DOCX
saveOptions.setFormat(DocSaveOptions.DocFormat.DocX);
saveOptions.setMode(DocSaveOptions.RecognitionMode.Flow);
saveOptions.setMaxDistanceBetweenTextLines(3.5f);
saveOptions.setAddReturnToLineEnd(false);
Can you please help us.
Thanks,
Rajesh