Add support for pdf generators partial for view