Hi,
I am trying to figure out what kind of HTML works fine when inserted in a document using DocumentBuilder.insertHTML method. For example, if I want to avoid using the
tag as it adds extra lines above and below it, but still want to display a new paragraph, I am trying to use the div or span tag to show the alignment.
Inserting the following does not work or show up alignment correctly in the generated aspose document:
1.
Some Text
2. Some Text
So after lot of trial and error, I found that
Some Text
does the trick for it.
This is just one example.
Can you help with suggesting:
- If there is a way to show the
tag without the extra lines around? Adding a
tag shows content on the new line if I find a way to display alignment information in the span tag. - Some standard documentation for which type of HTML does the aspose document support so that a lot of trial and error is not required.
Thanks a lot.