Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Mar 04, 2020 3:29 pm

Our client use the attached template and after SaveToFile the link from the image is lost.

Code: Select all
using (var document = new Spire.Doc.Document())
{
    document.LoadFromFile(file);

    using (var d = document.Clone())
    {
        d.SaveToFile(resultFile);
    }
}

profiler007
 
Posts: 72
Joined: Wed Nov 13, 2019 11:32 am

Thu Mar 05, 2020 4:23 am

Hello,

Thanks for your inquiry.
I tested your case and found the hyperlink of the image was changed to a new hyperlink like "file:///E:\result.docx". This issue has been logged in our bug tracking system with the ticket SPIREDOC-4015. If there is any update, we will let you know.
Apologize for the inconvenience caused.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Thu Mar 26, 2020 8:08 am

Hello,

Thanks for your patient waiting.
Glad to tell that the bug SPIREDOC-4015 has been fixed now. Welcome to download the newly released Spire.Office Platinum Version:5.3.7 from the following link.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.Office/5.3.7

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Wed Apr 01, 2020 7:57 am

Hello,

Hope you are doing well.
Did the hotfix resolve your issue? Thanks in advance for your feedback.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Wed Apr 01, 2020 1:35 pm

Yes, it looks fine, thanks!

profiler007
 
Posts: 72
Joined: Wed Nov 13, 2019 11:32 am

Thu Apr 02, 2020 1:04 am

Hello,

Glad to hear that!
If you need further assistance, please feel free to contact us.
Wish you all the best!

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Thu Dec 16, 2021 2:38 pm

Hello

I have a similar issue. I use Free Spire version 9.9.7. I tried to convert the attached file to HTML and it is converted but the links of the images do not work

Here is my code:
Document document = new Document();
document.LoadFromFile(filename);
string TempFile = hidMoverDataFolder.Value + "Temp.htm";
document.SaveToFile(TempFile, FileFormat.Html);

What should I do?
Thanks

Shay

shaikrysler
 
Posts: 2
Joined: Wed Oct 07, 2020 12:04 pm

Fri Dec 17, 2021 6:15 am

Hello,

Thank you for your inquiry.
I tested your case with both Free Spire.Doc for .NET(dll only) Version:9.9.7and the latest commercial version Spire.Doc Pack(hot fix) Version:9.12.3, and reproduced your issue. I have logged the issue into our bug tracking system with the ticket number SPIREDOC-5048. Our development team will investigate and fix it. Once it is resolved, I will inform you in time. Sorry for the inconvenience caused.
In addition, we only upgrade our commercial products regularly, that means once the issue is resolved, we will provide you with a commercial version including the fixes. Hope you can understand.

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1643
Joined: Wed Apr 07, 2021 2:50 am

Fri Mar 18, 2022 9:04 am

Hello,

Thanks for your patience!
Glad to inform you that we just released Spire.Doc Pack(hot fix) Version:10.3.5 which fixes the issue of SPIREDOC-5048.
Please download the new version from the following links to test.

Website link: https://www.e-iceblue.com/Download/download-word-for-net-now.html
Nuget link: https://www.nuget.org/packages/Spire.Doc/10.3.5

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1643
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.Doc