Suppose you have some existing text (which may or may not contain formatted text, like bolding). How do you turn this into a hyperlink? The insertHyperlink function only allows you to insert static text, so you can’t preserve any of the formatting of the text you want to hyperlink.
Your expected DOCX Word document showing the correct output. We will investigate the structure of your expected document as to how you want your final output be generated like. You can create expected document by using Microsoft Word.
As soon as you get these pieces of information ready, we will start investigation into your issue and provide you code to achieve the same by using Aspose.Words. Thanks for your cooperation.
To summarize: My code converts bookmarked text to hyperlinked text. This causes the transformed text to lose its formatting (in this case, it loses text bolding).
Here is a simplified version of the code I’m using (written with JRuby): Aspose Example · GitHub
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.