Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Mon May 20, 2013 12:21 pm

I'm testing your component in my work scenario and need some help.
We have a tool that creates MSWord 97/2003 documents starting from a HTML template. HTML is generated by saving native MSWord documents in HTML format and then doing "placeholder" replace. At the end of the process, the tool leverage OLE Automation to load the HTML source and save .doc files.
Your tool promise to be the good candidate to replace OLE Automation, but when I tried it on one of our HTML, it barely failed throwing exception on a table cell attribute. Some troubleshouting pinpointed the issue: is a cell has both
Code: Select all
Code: Select all
attributes, the parser throws the exception.
So far, so good: we can survive by simply wiping out the
Code: Select all
attribute ... but then, no table content is really printed.
So, the bottom line is: how far do spire.doc support loading and conversion of HTML files generated by MSWord ?
I can't attach the sample file because it's too large, but I can provide it for your debug via e-mail.
Thank you in advance!
Giuseppe Mazzocchi

Posts: 2
Joined: Fri May 17, 2013 9:02 am

Tue May 21, 2013 3:59 am

Dear Giuseppe,

Thanks for your inquiry.
For HTML document, our Spire.Doc only supports well formed HTML documents at present. You can get some information about well formed HTML from this link http://en.wikipedia.org/wiki/Well-formed_element.
You also send us your document by support@e-iceblue.com to help us verify whether your HTML document is supported by our Spire.doc.
There is any issue, please feel free to contact us.

E-iceblue support team
User avatar

Posts: 2418
Joined: Wed Jun 27, 2012 8:50 am

Tue May 21, 2013 6:59 am

I'm sending the html document and related resources via e-mail for your evaluation.

Posts: 2
Joined: Fri May 17, 2013 9:02 am

Return to Spire.Doc