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 Nov 03, 2021 3:49 pm

Hi, I am evaluating Spire.Doc to convert HTML to Word Doc. I am seeing issue with HTML table that has border. When converted into Word Doc, table is losing outside border color/size where as internal borders are correct.

Code: Select all
<table style="border-collapse: collapse; width: 100%; border-color: #E03E2D; border-style: solid;" border="1"> <tbody> <tr> <td style="width: 47.704%;">test 3</td> <td style="width: 47.704%;">test 4</td> </tr> <tr> <td style="width: 47.704%;">&nbsp;</td> <td style="width: 47.704%;">&nbsp;</td> </tr> </tbody> </table>


Above is converted to attached word document

prakash.shiwakoti
 
Posts: 13
Joined: Wed Nov 03, 2021 3:39 pm

Thu Nov 04, 2021 3:02 am

Hello,

Thanks for your inquiry.
I tested your case and reproduced your problem. I have logged the issue into our bug tracking system with the ticket number SPIREDOC-6917. Our development team will investigate and fix it. Once it is resolved, I will inform you in time. Sorry for the inconvenience caused.

Sincerely,
Annika
E-iceblue support team
User avatar

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

Fri May 06, 2022 7:12 pm

Annika, It has been six months. Has this issue been resolved?
We are about to go live with our product and this issue is being highlighted by our users.
This is the only thing stopping us from purchasing the license.

Thanks
Prakash

prakash.shiwakoti
 
Posts: 13
Joined: Wed Nov 03, 2021 3:39 pm

Sat May 07, 2022 1:40 am

Hello,

Thanks for following up.
I'm sorry that issue SPIREDOC-6917 has not been resolved. I have upgraded your issue to the highest level and asked our developers to address it as soon as possible. Once there is any update, I will inform you in time. Sorry for the inconvenience caused again.

Sincerely,
Annika
E-iceblue support team
User avatar

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

Sat May 07, 2022 3:53 pm

Annika,
Do you have a turnaround time on this? We are in time crunch and need this resolved before we go live in 2 weeks.
We will have to look for alternate products if this will take longer to resolve.

Thanks
Prakash

prakash.shiwakoti
 
Posts: 13
Joined: Wed Nov 03, 2021 3:39 pm

Mon May 09, 2022 8:35 am

Hello,

Thanks for your further feedback.
The good news is that the issue SPIREDOC-6917 has been resolved, now it is in the testing phase. If you can accept it, after the test is passed, we can provide a temporary version for you to test.
Please let us know if you accept the temporary version.

Sincerely,
Annika
E-iceblue support team
User avatar

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

Mon May 09, 2022 2:31 pm

Annika, that should work. Please provide me with that version so I can test on my end too.
If you can publish to nuget as 'beta' version or something like that, we could test in our servers.
Thanks
Prakash

prakash.shiwakoti
 
Posts: 13
Joined: Wed Nov 03, 2021 3:39 pm

Tue May 10, 2022 1:21 am

Hello,

Thanks for your feedback.
The temporary version is available. Please download it and test on your side. Once the official version is released, I will inform you in time.
In addition, we only publish the official version to Nuget, and the temporary version can only import references manually. 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 May 13, 2022 10:18 pm

Annika, its been mostly working but got this situation today. Here is sample html:

Code: Select all
"<p>&nbsp;</p>\n<table style=\"border-collapse: collapse; width: 100%; height: 36px; border: 1px solid #E03E2D;\" border=\"1\"><colgroup><col style=\"width: 33.2258%;\"><col style=\"width: 33.2258%;\"><col style=\"width: 33.2258%;\"></colgroup>\n<tbody>\n<tr style=\"height: 12px;\">\n<td style=\"border-width: 1px; border-color: rgb(224, 62, 45); height: 12px;\">test</td>\n<td style=\"border-width: 1px; border-color: rgb(224, 62, 45); height: 12px;\">BEST</td>\n<td style=\"border-width: 1px; border-color: rgb(224, 62, 45); height: 12px;\">REST</td>\n</tr>\n<tr style=\"height: 12px;\">\n<td style=\"border-width: 1px; border-color: rgb(224, 62, 45); height: 12px;\">&nbsp;</td>\n<td style=\"border-width: 1px; border-color: rgb(224, 62, 45); height: 12px;\">\n<table style=\"border-collapse: collapse; width: 100.615%; border-width: 1px; border-color: #2DC26B; border-style: solid;\" border=\"1\"><colgroup><col style=\"width: 49.7326%;\"><col style=\"width: 49.7326%;\"></colgroup>\n<tbody>\n<tr>\n<td style=\"border-width: 1px; border-color: rgb(45, 194, 107);\">test</td>\n<td style=\"border-width: 1px; border-color: rgb(45, 194, 107);\">one</td>\n</tr>\n<tr>\n<td style=\"border-width: 1px; border-color: rgb(45, 194, 107);\">two</td>\n<td style=\"border-width: 1px; border-color: rgb(45, 194, 107);\">three</td>\n</tr>\n</tbody>\n</table>\n</td>\n<td style=\"border-width: 1px; border-color: rgb(224, 62, 45); height: 12px;\">&nbsp;</td>\n</tr>\n<tr style=\"height: 12px;\">\n<td style=\"border-width: 1px; border-color: rgb(224, 62, 45); height: 12px;\">&nbsp;</td>\n<td style=\"border-width: 1px; border-color: rgb(224, 62, 45); height: 12px;\">&nbsp;</td>\n<td style=\"border-width: 1px; border-color: rgb(224, 62, 45); height: 12px;\">&nbsp;</td>\n</tr>\n</tbody>\n</table>\n<p>&nbsp;</p>\n<p>&nbsp;</p>\n<p>&nbsp;</p>\n<p>&nbsp;</p>"


I have attached image of how it looks on Web and the word document with missing borders

prakash.shiwakoti
 
Posts: 13
Joined: Wed Nov 03, 2021 3:39 pm

Mon May 16, 2022 6:03 am

Hello,

Thanks for your feedback.
I tested your HTML code with the version I gave you earlier and did reproduce the issue you mentioned. I have reported this issue to our Dev Team. Once it is resolved, I will inform you in time. Sorry for the inconvenience caused again.

Sincerely,
Annika
E-iceblue support team
User avatar

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

Thu May 19, 2022 3:28 pm

Thanks Annika.
Please let me know when this gets resolved and we can have updated DLLs. We are in a real time crunch.

Prakash

prakash.shiwakoti
 
Posts: 13
Joined: Wed Nov 03, 2021 3:39 pm

Fri May 20, 2022 8:18 am

Hello,

Thanks for following up.
I checked the status of the issue and found that the issue has been resolved. And now it is in the testing phase. If the test goes well, we will provide a hotfix for you as soon as possible. Thanks for your understanding.

Sincerely,
Annika
E-iceblue support team
User avatar

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

Fri May 20, 2022 2:59 pm

Thanks Annika,
I've created another post for center alignment of image and tables. post46951.html#p46951
If it makes sense to "Link" them, please do so.

Prakash

prakash.shiwakoti
 
Posts: 13
Joined: Wed Nov 03, 2021 3:39 pm

Fri May 27, 2022 10:33 am

Hello,

Thanks for your patience!
Glad to inform you that we just released Spire.Doc Pack(hot fix) Version:10.5.9 which fixes the issue of SPIREDOC-6917.
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.5.9

In addition, the fix for your later question SPIREDOC-7833 is not included in this release.

Sincerely,
Annika
E-iceblue support team
User avatar

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

Mon Jun 27, 2022 12:49 pm

Annika, I was away and returned to work today. Does this new release with version 10.5.9 resolve both issues? If so, I will remove temporary dlls you had sent me with the new nuget package.

Also, do you have an update on separate issue I had opened regarding center-alignment of images [SPIREDOC-7884]?

Thanks
Prakash

prakash.shiwakoti
 
Posts: 13
Joined: Wed Nov 03, 2021 3:39 pm

Return to Spire.Doc