Hi @Josue,
WDYM by “title of the exported document”? The title displayed on the cover page? This is controlled by the PDF template. See xwiki-platform/xwiki-platform-core/xwiki-platform-export/xwiki-platform-export-pdf/xwiki-platform-export-pdf-ui/src/main/resources/XWiki/PDFExport/Template.xml at master · xwiki/xwiki-platform · GitHub . You can create a custom PDF template that takes the title from a xobject of the exported document, or from a specific macro call found in the content of the exported document. Whatever you need. Ping me when you start working on this and we can discuss.
Thanks,
Marius