There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-d605b77f-2c52-4083-8077-adeabbdf1831 XWIKI-22080 Open

Add the possibility to exclude the headings aggregation from the TOC

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-dbbd8808-e67e-41b3-8eee-747934bc718b Marius Dumitru Florea on 25/Jul/24 10:00
 

The PDF template uses the pdftoc macro which has a depth parameter, see https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-api/src/main/java/org/xwiki/export/pdf/macro/PDFTocMacroParameters.java . You could try to create a custom PDF template that uses depth=1 .