Hi Santosh,
This is a great question, and one that I don’t have an answer to off the top of my head.
I remember that when I wrote WmlToHtmlConverter, I spent a fair amount of time working on indentation for list items. I read the spec, of course, but there are also differences between strict and transitional. Further, there are interesting cases where there is a as direct formatting on a paragraph, and then the paragraph refers to a style that also has a , so the direct formatting takes precedence.
Frankly, in implementing that module, I simply looked at what Word was doing, and emulated that.
I am curious – have you looked at what WmlToHtmlConverter produces for your document? Does it indent the relevant paragraph per your understanding of the spec, or does it produce the same indentation as Word?
Best, Eric