googling I found this code:
https://github.com/DamnWidget/ITEMoodleOP/blob/master/blocks/configurable_reports/export/pdf/export.php
maybe someone can advance from there
googling I found this code:
https://github.com/DamnWidget/ITEMoodleOP/blob/master/blocks/configurable_reports/export/pdf/export.php
maybe someone can advance from there