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.

Mon Apr 07, 2014 1:23 am

Hi
Using Spire.Doc, I have set XHTMLValidationType.None on my document.
When I hit this code
row.Cells(1).AppPAragraph().AppendHTML(... <formatted html>...)
on certain blocks of HTML I get the following error:
"currentcolor is not a valid value for Int32"

Any insight would be welcome.

Forensicare
 
Posts: 22
Joined: Fri Aug 02, 2013 3:29 am

Mon Apr 07, 2014 5:19 am

Hi
I have further worked out that the error happens when an HTML tag has an "invalid" value. For example:
<td style="border-width: 1px 1px">...

or an invalid color:
<td style="border-color: currentColor">...

Is there some way to prevent it erroring on these?

Forensicare
 
Posts: 22
Joined: Fri Aug 02, 2013 3:29 am

Mon Apr 07, 2014 5:57 am

Hello,

Thanks for your inquiry.
We have reproduced the issue and transferred to our Dev team, if there are any update, we will let you know ASAP. Sorry for inconvenicen.
If there are any questions, welcome to get it back to us.
Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Thu Apr 10, 2014 8:16 am

Hello,

The issue about "currentcolor is not a valid value for Int32" has been resolved, please download and test Spire.Doc Pack(hot fix) Version:5.0.37.

If there are any questions, welcome to get it back to us.

Sincerely,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Wed Apr 16, 2014 9:29 am

Hello,

Have you tested the hotfix? Have your issues been resolved? Could you please give us some feedback if convenience?

If there are any questions, welcome to get it back to us.

Thanks,
Gary
E-iceblue support team
User avatar

Gary.zhang
 
Posts: 1380
Joined: Thu Apr 04, 2013 1:30 am

Return to Spire.Doc