Hi Benoit,
Thanks for the update.
1. Table of contentYes, we have implemented this feature in our latest source not in the version 6.1. This feature will be available in our version 6.2 which is going to be released by next month.
Custom style supportYes, it is possible to set the custom style to the paragraph. Please refer the below code snippet for built in styles, custom styles and custom style for TOC.
//Built in Styles
para.ApplyStyle(BuiltinStyle.Toc3); // This is not in version 6.1. This is in the version 6.2
para.AppendText("Table of Contents");
//Custom styles.
WParagraphStyle pStyle1 = (WParagraphStyle)document.AddParagraphStyle("MyStyle1")
para.ApplyStyle(pStyle1 )
//Custom Style fot TOC
TableOfContent toc = para.AppendTOC(1, 3);
toc.SetTOCLevelStyle(1, "MyStyle1");
Here is the sample for your reference:
http://websamples.syncfusion.com/samples/PDF.Windows/I40279_1/main.htmPlease let me know if you have any other questions.
Best Regards,
Bhuvana