Hello Wenzel,
Thanks for your patience.
We're still working on this issue and trying our level best to get it resolved. During the investigation, we've devised a correct way of using Tab with BulletList. Please try using the following method and also please share
Do you want the TAB to appear inside the text or before the entire bullet?
It would be great if you could share some sample document/picture that can show the desired results.
[C#]
Pdf pdf1 = new Pdf();
pdf1.TabStopPosition = 21;
pdf1.IsBookmarked = true;
Aspose.Pdf.Section sec1 = pdf1.Sections.Add();
Text desc;
desc =
new Text("<ul><li>haha</li></ul>");
desc.IsHtmlTagSupported = true;
sec1.Paragraphs.Add(desc);
desc = new Text("<ul><li>haha</li></ul>");
desc.Margin.Left = 21;
desc.IsHtmlTagSupported =
true;
sec1.Paragraphs.Add(desc);
desc = new Text("<ol><li>haha</li><li>hihi</li></ol>");
desc.Margin.Left = 21;
desc.IsHtmlTagSupported = true;
sec1.Paragraphs.Add(desc);
pdf1.Save(
@"d:/pdftest/BulletIssueTest.pdf");
The resultant PDF that I've generated with the above code snippet is in attachment, please take a look.
Nayyer Shahbaz
Support Developer, Aspose Sialkot Team
About Us Contact UsKeep in touch! We're on
Twitter and
Facebook