Free Support Forum -

Conversion issues in PDF


Dear Team,

We have issues in PDF conversion. I’ve attached input and current output. Please find and give solution for this in Aspose side.

Input : (5.9 MB)
Current OP : Current (78.8 KB)
Issues : (114.4 KB)

Thank you.



Thanks for template files(MS Excel and MS Word file), output files and screenshots.

It think you are using Aspose Java libraries. I have tested your scenario/ case regarding Aspose.Cells to convert your template XLS file to PDF file format using v19.1.5 (attached), it works fine and the output PDF file does not demonstrate the issue you have pointed out.

Please try our latest version/fix: Aspose.Cells for .NET/Java v19.1.5 (attached)

Let us know your feedback.
Aspose.Cells19.1.5 For .Net2_AuthenticodeSigned.Zip (4.7 MB)
Aspose.Cells19.1.5 For .Net4.0.Zip (4.8 MB)
Aspose.Cells for (6.4 MB)

Regarding your issue with MS Word file, we will be evaluating/processing it and get back to you soon.



Regarding DOCX to PDF conversion issue, we have logged this problem in our issue tracking system as WORDSNET-18118. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.



Thanks for the update.


Dear Amjad_Sahi,

Thanks for the update. I tried latest version of Aspose.cells for java_19.1 but still i have that issues. Please find the updated output.Also i have attached source for XLS to (403 Bytes)

Current OP : (41.0 KB)

Expected OP : (8.8 KB)



Thanks for the sample code and output files.

I am able to observe the issue as you mentioned by using your sample code with your template file. I found that (vertical and horizontal) axis titles are missing and other formatting is wrong for the charts in Excel to PDF/A conversion. It works fine though if we do not set the compliance (PDF/A1_B) and simply renders to PDF file format:
Sample code:

    Workbook wb = new Workbook("e:\\test2\\10B5S11L1KS_10_Figure 4.xls");
    PdfSaveOptions saveOption = new PdfSaveOptions();

    ```"f:\\files\\out1.pdf", saveOption);        
System.out.println("xls/xlsx file converted to PDF successfully!!!");

I have logged a ticket with an id “CELLSJAVA-42824” for your issue. We will look into it soon.

Once we have an update on it, we will let you know here.



Please try our latest version/fix: Aspose.Cells for Java v19.1.6 (attached).

Your issue should be fixed in it.

Let us know your feedback.
Aspose.Cells for (6.4 MB)


The issues you have found earlier (filed as CELLSJAVA-42824) have been fixed in Aspose.Cells for Java 19.2. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi