diff --git a/pyreportjasper/pyreportjasper.py b/pyreportjasper/pyreportjasper.py index 49b60dc..a94bb96 100644 --- a/pyreportjasper/pyreportjasper.py +++ b/pyreportjasper/pyreportjasper.py @@ -39,7 +39,6 @@ class PyReportJasper: 'ods', 'pptx', 'jrprint', - 'pdf_bytes' ) METHODS = ('GET', 'POST', 'PUT') @@ -166,7 +165,6 @@ def process_report(self): try: formats_functions = { 'pdf': report.export_pdf, - 'pdf_bytes': report.export_pdf_bytes, 'html': report.export_html, 'rtf': report.export_rtf, 'docx': report.export_docx, diff --git a/pyreportjasper/report.py b/pyreportjasper/report.py index 3f53638..612bb9a 100644 --- a/pyreportjasper/report.py +++ b/pyreportjasper/report.py @@ -332,6 +332,10 @@ def fill_internal(self): # Métodos de exportação - todos retornam bytes # ========================================================================= +<<<<<<< Updated upstream +======= + +>>>>>>> Stashed changes def export_pdf(self): """Retorna o arquivo PDF em bytes.""" output_stream = self.ByteArrayOutputStream()