change view for pdf

Signed-off-by: Fabien Crassat <fabien@crassat.com>