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 Feb 18, 2013 4:53 pm

Hi,

To convert Word to html, the matter of presenting the inline styles in one single html document, have you solved this?.


Thansk,


Other post with the same problem, but to no avail.
http://www.e-iceblue.com/forum/viewtopic.php?f=6&t=2883
http://www.e-iceblue.com/forum/viewtopic.php?f=6&t=2770#p5029

jzunigaparedes
 
Posts: 7
Joined: Wed Feb 13, 2013 2:39 pm

Tue Feb 19, 2013 8:10 am

Hello,

Thanks for your inquiry.
We have solved the problem. Please try the code below with your word document.
Code: Select all
            Document document = new Document(filePath);
            document.HtmlExportOptions.CssStyleSheetType = CssStyleSheetType.Internal;
            document.SaveToFile("sample.html",FileFormat.Html);
           

Please contact us if you still have the problem after you try the code.

Thanks &Best regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Thu Feb 21, 2013 8:53 am

Hello,

Did you test the code on your side? Did it solve your problem?
Please feel free to us if you have any problem.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Tue Feb 26, 2013 10:40 am

Hello,

Did your problem have resolved? Please tell us your test result.
Your feedback on this issue is pretty important for both of us, so could you please send us a message at your early convenience? Thank you in advance!

Thanks &Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Doc