This project has moved and is read-only. For the latest updates, please go here.

List paragraph style not picked up

Sep 15, 2014 at 5:14 PM
I read in a previous posts that the newer version keeps the styles such as headings and listparagraphs etc, but it does not.
can anyone suggest a fix.
In particular i am interested when having bullet points or numbered lists, when the converted docx document is created their style appears as normal not list paragraph and they are not indented like they should be. Also for the headings they don't get converted properly. I am reading html value from a rich text field in sharepoint and want to convert it into a word document and keep all the styling.
Any help is really appreciated.

thank you in advancce
Feb 10, 2015 at 1:25 PM
I just commented on another post:

Basicly <ol> and <li> currently ignore the styles. I posted the code I used to edit html2OpenXML
Jul 21, 2015 at 10:37 PM
I am seeing a strange issue with the left margin on a list item mentioned by Kyrillos.

The numbers of my OL appear to the left of the margin used by the rest of the document, while the copy for the LIs appear at the proper location.
   this is normal copy
   this is normal copy
1. this is a list item
2. this is a list item
   this is normal copy
   this is normal copy
Notice the numbers appear to the left of the standard margin. Am I doing something wrong?

Thanks for the help and the awesome tool!
Jul 23, 2015 at 9:38 PM
Looks like I got it to work. My solution is using .NET 4.5. I downloaded the source from here and updated this project to target 4.5, rebuilt and the list now aligns properly with the rest of the paragraphs.

Hope this helps someone.