Hi Andrew
Thanks again for your help on this.
I have the ability to change tags at runtime. No problem there. I have it running such that any class required convert to the word style (thanks to your previous inputs).
So I replaced MsoListBullet with MsoListParagraphCx5pFirst.
I tested this with an online HTML editor and my Web browser editor, neither of which produced the result I needed which was to display the bullets and numbers for the list in the editor, then reproduce those results in word.
i.e show bullets in htm -> show word style List bullet... etc
Now the word side works fine. I can output the class to word from the *.Htm doc, and get my classes working perfectly (from your previous solution). It's just that whenever I apply bullets into the htm document, the output result won't recognise the class.
<p Class=MsoListBullet>Test</p> 'Outputs to word style List Bullet But does not show a bullet in html document.
<Li Class=MsoListbullet>Test</Li> 'Output to word style as Normal, but shows bullet in document.
p class=MsoListParagraphCxSpFirst - outputs to word as new style MsoListParagraphCxSpFirst and does not include a bullet in the html editor.
I appreciate your responses, so thanks for efforts.
Cheers
|