Hi Team,
I have encountered couple of issues when converting HTML to word document with a hierarchy of bullet lists.
For example,
<ol>
<li>One
<ol type = "a"><li>a</li><li>b</li></ol>
</li>
</ol>
The word document generated doesn't have bullet list type as lower alpha but is decimal
Output is
1. One
1. a
2. b
Expected is:
1. One
a. a
b. b
If a list contains margin-left styling then word document is not accurately showing the margin. Maybe Spire doc doesn't work with list margins as I am expecting. In HTML when I indent a list, margin-left is added to <li> tag.
<ol>
<li style="margin-left:8px">One</li>
<li style="margin-left:8px">Two</li>
</ol>
But if I strip off the margin from the style then the generated word document is as expected.
I am attaching sample code and the output word document for your reference.
Can you please take a look at the two issues I have mentioned.
I am using .NET core 6.0 and I have also tried the sample code on .NET framework 4.7.1
Appreciate your support!
Thank you,
Jalpa