Hi,
I am building a Content Management System that allows users to upload Word 2007 documents to be published. On the backend we convert the Word 2007 document to HTML with Stylesheets and store it.
I am using the MS Word 2007 API and calling doing a Save AS HTML to extract HTML.
The problem that I am facing is that things like Lists are not being converted to OL/UL tags in HTML generated. Only P tags are generated with styles.
How I can generate correct HTML tags?
I was reading in the articles on MSDN that they have a publish to Blog feature where the claim to generate correct HTML (I have not tried it yet) but if Word 2007 can generate valid HTML with CSS for the blogging feature, why does it not do the same when it's API's are used? Any help ..direction will be helpful.
I have looked at couple of 3rd Libraries - they too do not convert HTML correctly.
PS: I have tried searching this NG using the web interface but it did not provide any results, so I am asking this question again.
Regards, Saurabh
|
|