Export access report and subreports to separate pdfs

In Access 2016, I have a form with a button that opens a report. That report is exported to pdf as one file currently.

The change request is to instead export the (parent) report and its subreports into separate pdf's. This needs to be done from a new button on the form. The subreports exist in the footer and there are 5 of them. So I need to export the parent and loop through each of the footers to export the subreport therein. How do I refer to the footers and subreports in VBA in order to call DoCmd.OutputTo? And how do I refer to the parent report standalone i.e. without the subreports?