We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Real para breaks missing in the converted Docx

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

Hi Rajesh,


Thanks for contacting support.

I have tested the scenario and have managed to reproduce the issue that in the converted DOCX file some of the para breaks are missed. For the sake of correction, I have logged a ticket PDFJAVA-36686 in our issue tracking system. We will further look into the details of this issue and will keep you updated on the status of its resolution within this forum thread. Please be patient and spare us little time. We are sorry for this inconvenience.

Best Regards,