Hi,
I am finding a peculiar problem,my problem is in our application we are using the the following html content(html_content.html) to render in word, problem is I am not getting the desired o/p for the html content(see problem.doc for the o/p i am getting) with ur Aspose.word.dll.The bulltes are changing from numeric to alphabets and numeric to roman when we render to word document.I am using the Aspose.word.dll version 4.0.2.0 .
The html content I am writing to render is
<html>
<body>
<ol dir='ltr' style='margin-right: 0px'>
<ol dir='ltr' style='margin-right: 0px'>
<ol>
<li>pavan</li>
<li>kumar</li>
<li>hello</li>
<li>hai</li>
</ol>
</ol>
</ol>
<ol dir='ltr' style='margin-right: 0px'>
<ol>
<li>pavan</li>
<li>kumar</li>
<li>mysore</li>
</ol>
</ol>
</body>
</html>
The the code is as follows
Dim license As Aspose.Words.License = New Aspose.Words.License
license.SetLicense("c:\dummy\Aspose.Total.lic")
Dim doc As Aspose.Words.Document = New Aspose.Words.Document("c:\dummy\mytest.doc")
Dim builder As DocumentBuilder = New DocumentBuilder(doc)
Dim strB As New StringBuilder
builder.Font.Name = "Arial"
builder.Font.Size = "15"
builder.InsertHtml("<html><body><OL dir='ltr' style='MARGIN-RIGHT: 0px'><OL dir='ltr'style='MARGIN-RIGHT:0px'><OL><LI>pavan</LI><LI>kumar</LI><LI>hello</LI><LI>hai</LI></OL></OL></OL>")
builder.InsertHtml("<OL dir='ltr' style='MARGIN-RIGHT:0px'><OL><LI>pavan</LI><LI>kumar</LI><LI>mysore</LI></OL></OL></body></html>")
doc.Save("Report.doc", SaveFormat.Doc, Aspose.Words.SaveType.OpenInBrowser, Response)
Hoping for the soon reply.
Thanking you
Pavan Kumar