[#47417] Make the statement pdf class configurable

This also brings in support for the `show` parameter that exists in the NU fork for statement PDFs.