I'm using Telerik.Reporting (184.108.40.2060) to programmably create a report book consisting of couple of reports. One of the reports contains toc and is set as TocReportSource and that report contains Toc section. I'm exporting the report book to pdf and docx. When exporting to docx the toc is not visible but when to pdf it is visible.
There's no mention about not supporting toc here: https://docs.telerik.com/reporting/designing-reports-considerations-word
Am I doing something wrong here?
var contentsReport = new ContentsPageReport();
contentsReport.DataSource = data;
var contentsReportSource = new InstanceReportSource();
contentsReportSource.ReportDocument = contentsReport;
reportBook.TocReportSource = contentsReportSource;
reportBook.TocPosition = ReportBookTocPosition.BeforeContent;
.NET Framework 4.7.1