Hello, we have the following problem using Aspose Cells 18.03 for Java.
Having a simple document (Document.xlsx) with a link, the link is formatted in this example cursive.
After running the application and setting a new text for the link, the formatting is lost (DocumentNew.xlsx).
We have looked into this issue and found that it is Microsoft Excel behavior. Please see the following screenshot for a reference. The screenshot explains when you change the text to display of hyperlink, hyperlink formatting is lost.
I just had a customer complaining about the same issue, I told him this is Microsoft Excel behavior.
He said “No, Microsoft Excel behavior falls back to the format configured as template”.
The customer was right, see the following printscreen: Excel.PNG (58.4 KB)
After setting the format template for “Link” and changing the link text, the formatting from the template stays intact.
I tested with the current Aspose.Cells 18.8 version and the following document: Document.zip (6.4 KB)
We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.
This issue has been logged as
CELLSJAVA-42722 - Hyperlink text formatting lost when new text is set
This is to inform you that we have fixed your issue (logged earlier as “CELLSJAVA-42722”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.
Since you are not the owner of the thread, so might not download the attachments. Could you provide us your email id, we will post the fix at your mentioned email id as attachment.
Good to know that your issue is sorted out by the new fix/version. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.
The issues you have found earlier (filed as CELLSJAVA-42722) have been fixed in Aspose.Cells for Java 18.10. You can also get the latest Aspose.Cells for Java version from Maven repos. with simple configurations. Please see the document for your reference: Installation|Documentation
This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi