Parameters
- stream
- Stream that will contain the report.
- fmt
- Report format to insert into the output stream.
- idPrefix
- Unique ID used to differentiate multiple reports stored in the same stream.
- fileName
- Base file name used to build temporary image files.