def make_format(self, fmt, width):
        """
        Make subreport text in a specified format         
        """
        if not self.report_data:
            return
        
        for data_item in self.report_data:
            if data_item.results:
                if fmt is None or fmt == 'text':
                    data_item.make_text(width)
                elif fmt == 'html':
                    data_item.make_html()
                elif fmt == 'csv':
                    data_item.make_csv()
Make subreport text in a specified format