Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Each paragraph in PDF is getting splitted into each line

$
0
0
Hi,

While converting PDF to DOCX with Aspose latest jar, Each paragraph in PDF is split into each line even after using the highlighted code in yellow color.

com.aspose.pdf.DocumentpdfDocument = new com.aspose.pdf.Document("input.pdf");

              // Instantiate Doc SaveOptions instance

              DocSaveOptions saveOptions = new DocSaveOptions();

             

              // Set output file format as DOCX

              saveOptions.setFormat(DocSaveOptions.DocFormat.DocX);

             saveOptions.setAddReturnToLineEnd(false);

i have attached the converted document.

For example PFB snippet which shows crow symbol is present at the each line end.

Could you please help us.

Thanks,

Rajesh




Viewing all articles
Browse latest Browse all 3131