Xls2pdf breaks hyperlinks

Hi,

when generating an PDF of an XLS file, hyperlinks are broken:

  • xls2pdf takes the hyperlink text as link
    • An hyperlink works if its text is a valid link
I looked at the XML at Aspose.Total Product Family



this is a web link



The XML generated by xls2pdf looks like this:



http://www.aspose.com



Regards,

Hi,

Thank you for considering Aspose.

Which version of Aspose.Cells are you using? You can try the attached latest version. In the new version of Aspose.Cells, we have provided direct conversion of XLS2PDF without the use of Aspose.PDF APIs and also fixed the Hyperlink issue. I checked it for your hyperlinks issue, and it works fine. Following is my sample code (new conversion method of XLS2PDF), and attached are the input and generated output files:

Sample Code:

//Instantiating a Workbook object
Workbook workbook = new Workbook();
workbook.Open("C:\\PDF_Hyperlinks.xls");

//Saving the Excel file as PDF
workbook.Save("C:\\PDF_Hyperlinks.PDF", FileFormatType.Pdf);

If you still face any issue, please share your template file, and we will look into it.

Thank You & Best Regards,

Hi Nausherwan Aslam,

Thank you for the quick feedback! We do use Aspose.Cells for Java V2.0.0 and Aspose.Pdf for Java 2.4.0.0.

Regards,

Hi,

I apologize for my mistake. After an initial test, we have found the issue you have mentioned in Aspose.Cells for Java. We will provide a fix for this issue soon.

Thank You & Best Regards,

I am facing same issue in .Net platform.

When do you think fixed version will be available?

Regards,

Hi,

Thank you for considering Aspose.

For Aspose.Cells for .NET, we have already fixed this issue in our latest version. I think, you may be using some old version of Aspose.Cells. Please try the attached latest version of Aspose.Cells for .NET. Also, please find the attached input & output test files and the sample test code.

Sample Code:

Create Workbook Object

Workbook wb = new Workbook();

Open the workbook

wb.Open("E:\\Hello_World.xls");

Save Excel File as PDF

wb.Save("E:\\PDFTEST.pdf", FileFormatType.Pdf);

Thank You & Best Regards,

Hi,

what’s the status of this issue on the JAVA platform? Any progess?

Thank You & Best Regards

Hi,

Thank you for considering Aspose.

Well, we will start working to implement this feature (supporting hyperlinks for xls2pdf) after 2-3 months. We have some urgent tasks scheduled which we need to finish before implementing your required feature.

Thank you for understanding,

Ok,

so it will take about half a year to have ordinary hyperlinks in xls2pdf!?

Hi,

Well, not really :)

We will try to provide a new fix for it in this week or in the next week. Actually the Aspose.Pdf for Java does not support hyperlinks either and we have discussed it with Aspose.Pdf for Java team, they are agreed to provide a new fix at the same time.

Thank you.

Hi,

Thank you for considering Aspose.
Please try the attached latest version of Aspose.Cells. This fix supports hyperlinks for xls2pdf. The xml generated by this fix for Pdf works fine when convert it to pdf file by Aspose.Pdf for .NET. But currently Aspose.Pdf for Java does not support hyperlinks completely. The latest fix of Aspose.Pdf for Java only support simple web url such as:

http://www.google.com" LinkType="Web">www.google.com

I am moving this thread to Aspose.Pdf forum where Aspose.Pdf team can directly assist you and provide you with Aspose.Pdf version supporting the complete hyperlinks feature.
Thank You & Best Regards,

The issues you have found earlier (filed as 7953) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.