Writes the given report to a PDF file at the specified location.
The PDF file will respect the page size that was set for the report in the respective component's layout editor dialog. If the provided report was constructed by merging/concatenating multiple reports with different page sizes or orientations, the pages belonging to each report will use the respective page configurations in the generated PDF document.