Hi,
in our software we offer to copy an URL to an object which then puts something like this into your clipboard: url:consense://consense_demo_olymp/D4035200.
If you paste such an url into word, what word does it to keep the url caption but actually changing the hyperlink (it removes the url: part for the linking):
image.png (12.4 KB)
If I save this document to pdf via word, the link in the pdf will be consense://consense_demo_olymp/D4035300 which works.
If I save the same document to pdf via Aspose, the link instead links to url:consense://consense_demo_olymp/D4035300 which does not work then.
I think this is a bug in Aspose, as the link which is opened is different from what Word displays when you edit the hyperlink via word.
Sample code:
static void Main(string[] args)
{
var lic = new License();
lic.SetLicense(@"S:\Aspose.Total.lic");
var doc = new Document(@"S:\tmp\link\url.docx");
doc.Save(@"S:\tmp\link\url_aspose.pdf");
}
Sample documents:
samples.zip (205.7 KB)
Thanks for your help,
Daniel