public function renderReportOutput(\JasperClient\Client\Report $report) {
        //Check that the report is in html format
        if ('html' !== $report->getFormat()) {
            return '';
        }

        //Render the report viewer twig
        return $this->container->get('templating')->render(
            'MesdJasperReportBundle:Report:report.html.twig', array(
                    'report' => $report
                )
            );
    }