Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have word document with table, table has multiple row .and that row contains nested unordered list like following format .

1
  o 1.11.1.11.1.2
  o 1.21.2.11.2.2
  o 1.3.
• 2


but when i save that word document in html then nested list not generated properly

What I have tried:

C#
objDoc.SaveAs(ref fileNameHTML, ref fileFormat, ref unKnown, ref unKnown, ref unKnown, ref unKnown, ref unKnown, ref unKnown, ref unKnown, ref unKnown, ref unKnown, ref unKnown, ref unKnown, ref unKnown, ref unKnown, ref unKnown);


also i have try


C#
object szDocFormat = 10;
                objDoc.SaveAs(ref fileNameHTML,ref szDocFormat);
Posted
Comments
MadMyche 5-Mar-20 6:50am    
1. Have you tried the "other HTML" formats such as 8:Standard
2. Word documents make some of the worst HTML code
[no name] 5-Mar-20 23:32pm    
Yes sir, I have try default,7,8,10 format but not solved.
MadMyche 6-Mar-20 7:10am    
Which browser are you looking at the page in? What does it look like in IE?
[no name] 9-Mar-20 0:34am    
Internet explore 11
ZurdoDev 5-Mar-20 15:50pm    
Reply to the comment so that the user is notified.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900