Dear Team,
We are facing problem while converting document which contains hyperlink. We are processing document using OPENXML.dll before converting it to pdf.
I have attached 2 pairs of docx and pdf for which we are facing issues.
input.docx and output.pdf
-> while converting this input.docx it is omitting hyperlink in pdf
input1.docx and output.pdf
-> while converting this input1.docx it is making hyperlink black in pdf
We have used below code for converting document to pdf
Aspose.Words.Document doc1 = new Aspose.Words.Document(mypath + “input.docx”);
doc1.Save(mypath + “output.pdf”, Aspose.Words.SaveFormat.Pdf);
We are using Aspose.Words.dll with version 16.3.0.0
Any help would be much appreciable. Thanks in advance.
Hi Kartik,
Thanks for your inquiry.
Kartik: input.docx and output.pdf
→ while converting this input.docx it is omitting hyperlink in pdf
After an initial test with Aspose.Words for .NET 16.4.0, I was unable to reproduce this issue on my side. I would suggest you please upgrade to the latest version of Aspose.Words. You can download it from the following link. I hope, this helps.
Kartik: input1.docx and output.pdf
→ while converting this input1.docx it is making hyperlink black in pdf
While using the latest version of Aspose.Words i.e. 16.4.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-13582. Your request has also been linked to the appropriate issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.
Hi Awais,
Thanks a lot for replying.
Thank you for logging the ticket, it would be a great help if you please let us know ETA for the request to be resolved.
for the first scenario
Kartik:
input.docx and output.pdf
-> while converting this input.docx it is omitting hyperlink in pdf
I have tried using latest DLL (16.4.0.0) from the reference you sent, I am still facing the issue using the code that I have shared earlier.
we are using .Net framework 3.5 and ASPOSE.WORDS.DLL is being used from “net3.5_ClientProfile_AuthenticodeSigned” folder from the package.
let me know if i am doing anything wrong here.
Hi Kartik,
Thanks for your inquiry. The fix of WORDSNET-13582 will be included in next version (16.5.0) of Aspose.Words. We will inform you via this thread as soon as next version is released.
Secondly, I have converted your document to PDF using this code and attached it here for your reference. Please double check if you’re using Aspose.Words 16.4.0 on your side? You can dynamically check if you’re referencing the correct DLL by using the following code snippet:
System.Reflection.Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
foreach (System.Reflection.Assembly assembly in assemblies)
{
System.Reflection.AssemblyName assemblyName = assembly.GetName();
if (assemblyName.Name.Contains(“Aspose.Words”))
Console.WriteLine("Aspose.Words Version Number: " + assemblyName.Version.ToString());
}
Best regards,
Hi Awais,
Thanks for an update, we are eagerly waiting for the next release to come.
However, we are facing issue while converting docx in first scenario where hyperlink is omitted.
I have inserted the code snippet you suggested, please have a look in image attached.
Requesting you to please share any alternate code available.
Hi Kartik,
Thanks for your inquiry. Please try attached project. Input and output documents are in bin~debug folder.
Best regards,
Thanks Awais for quick prompt.
I have executed the demo you shared, it is working very fine.
The strange thing is when I replaced the docx file with the one I have initially shared, I am able to reproduce it again.
Please find attached source code (test.rar) for the same, Please note that I have replaced docx file in debug folder.
I am using office 2010, in case it has to do anything with that.
Hi Kartik,
We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-13627. Our product team will further look into the details of this problem and we will keep you updated on the status of correction. We apologize for your inconvenience.
Best regards,
Thank you awais for the response.
No need to apologize, I am feeling relieved that your team is able to reproduce this issue.
I hope you understand that both these issues are critical for us to resolved, our client is counting on us.
Thank you.
Hi Kartik,
Thanks for your inquiry.
The fix of WORDSNET-13582 will be included in next version of Aspose.Words i.e. 16.5.0. It will be released during second week of June 2016.
The other issue WORDSNET-13627 is currently pending for analysis and is in the queue. We will inform you via this thread as soon as this issue is resolved.
Best regards,
Dear Awais,
I hope you can understand that we have delivery to make and we are highly relying on the forthcoming update.
Can you please update us the date for WORDSNET-13582 issue to be available.
we also would like hear if we have any update on issue WORDSNET-13627.
Thanks,
Kartik
Hi Kartik,
Thanks for your inquiry. The release (16.5.0) containing the fix of WORDSNET-13582 will be available in next few days. And the release (16.6.0) containing the fix of WORDSNET-13627 will be available at the start of next month. We will inform you via this thread as soon as these releases will be published.
Best regards,
Hi Awais,
In order to inform our end client we really needs dates for above releases, Requesting you to please provide the same. I hope you can understand the situation here.
Looking forward to hear from you.
Thanks,
Kartik
Hi Kartik,
Thanks for being patient. We are in coordination with product team to get answer pertaining to your queries. Soon you will be updated with the required information.
Best regards,
Hi Kartik,
Aspose.Words 16.5.0 will be released tomorrow while Aspose.Words 16.6.0 will be released on time during mid of July. We will inform you via this thread as soon as these releases will be published.
Best regards,
The issues you have found earlier (filed as WORDSNET-13582) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
Thanks Team for the update.
We are really looking forward for an update for the another issue too.
Thanks Again.
The issues you have found earlier (filed as WORDSNET-13627) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
hi,
we found an issue where the text in the document gets left aligned while saving it as pdf whereas it is originally center aligned.
please find the attached documents for reference
Hi Kartik,
Thanks for your inquiry.
While using the latest version of Aspose.Words i.e. 16.7.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-14028. Your thread has also been linked to the appropriate issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.
Best regards,