We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Inserting HTML with indentation and numbering

We are using free text editor to allow users to enter and format text, then retrieving the html from the control and passing the html into the DocumenBuilder.InsertHtml() mathod, to generate the document.

The problem is when we use both

indentation formatting options (left align, right align, center, justify, indent, outdent) + bullet/numbering, the text in the generated document is not correct :

If we want to insert the below:

  1. This is a test
  • Check
  • The generated html is :

      1. This is a test

      2. Check

        The text in the generated document comes out like this :

        a. This is a test


        The order changes applied to the text also effect the text generated in the document, if the formatting option is applied before applying bullet/numbering then in the document there is no numbering/bullet, if however the bullet/numbering is applied before the formatting option then it changes the number to a,b,c.. instead of 1,2,3.

        Is there a work around for this?

        We are currently using of aspose.word.dll



      3. Hi Barsana,

        Thank you for the report. I've logged it, we will try to fix it later.

        The issues you have found earlier (filed as WORDSNET-383) have been fixed in this .NET update and in this Java update.

        This message was posted using Notification2Forum from Downloads module by aspose.notifier.