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

Free Support Forum - aspose.com

Convert PDF to DOCX/DOC | PDF to SVG in Java | issues with text

Hello ,
I am converting pdf to docx and doc by below code but pdf image is overlapping to text .

Document doc = new Document(File);
DocSaveOptions options = new DocSaveOptions();
	options.setFormat(DocSaveOptions.DocFormat.DocX);/
	
	options.setMode(DocSaveOptions.RecognitionMode.Flow);
	doc.save(pathR + File.separator + Fname + "." + format, options); 

I attached output screenshot and input file overlap issues.png (68.9 KB)
Overzicht leads Online4 (1).pdf (156.1 KB)

I am also converting pdf to SVG but isssue with the text below codes are using

    Document doc = new Document(File);
	SvgSaveOptions saveOptions1 = new SvgSaveOptions();
	saveOptions1.CompressOutputToZipArchive = false;
 
	doc.save(pathR + File.separator + Fname + "." + format, saveOptions1);

I am attaching input file and screen shot of issue.
svg file issues.png (95.9 KB)
Scenario Advies nieuws opvoeren bestaa7.pdf (75.8 KB)

Thanks

@David_jack

We were able to notice both issues in our environment while testing the scenario with 21.5 version of the API. Hence, have logged the following issues:

  • PDFJAVA-40553
  • PDFJAVA-40554

We will further look into details of the logged tickets and let you know as soon as they are resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.

hello @asad.ali
can i know status of this issue ? and how much time to fix this issue ,Actually I need solution as soon as possible because this issue from client side so please fix ASAP.
Thanks

@David_jack

The issues have just been logged in our issue management system and are pending for investigation. They will get investigated and resolved on a first come first serve basis. We have recorded your concerns and will surely let you know once we have certain news about their resolution. Please be patient and spare us some time.

We apologize for the inconvenience.