← Back to team overview

openerp-expert-framework team mailing list archive

Re: Summary of OpenERP report Engine Work Shop

 

Nicolas Bessi [via openerp-expert-framework] escribió:
> -Native WYSIWYG OpenOffice integration 
> This is based on OpenERP report designer, relatorio and OpenOffice 
> launch in headless mode as a rendering engine.
> The inspiration comes from the report_openoffice module 
> : http://kndati.lv/index.php/web-links/44-open-erp-addons.
>
> ...
>     
> - Supported output for the new OpenOffice report system:
> PDF 
>         ODF

You may take a look to the pxgo_openoffice_reports module of the 
extra-addons 
(http://bazaar.launchpad.net/~openerp-commiter/openobject-addons/stable_5.0-extra-addons/files/head%3A/pxgo_openoffice_reports/ 
<http://bazaar.launchpad.net/%7Eopenerp-commiter/openobject-addons/stable_5.0-extra-addons/files/head%3A/pxgo_openoffice_reports/>). 

As the report_openoffice module is based on relatorio+genshi plus 
openoffice; it's like birds and bats: both have wings but evolved 
differently :)

The pxgo_openoffice_reports adds some features, that the 
report_openoffice does not have:

    * Support for alternative input formats (automatic format conversion).
          o It can use TXT, DOC, RTF or even XLS documents (yeah,
            spreadsheets) as templates, they will be converted on the
            fly to OpenDocument Texts / Spreadsheets and parsed as
            normal templates would be.
    * Support for alternative output formats.
          o  From ODT templates (or any text document) it may produce
            PDF, ODT, DOC, RTF or TXT documents.
          o  From ODS templates (any spreadsheet) it may produce PDF,
            ODS, CSV, XLS.
    * Support for subreports on ODT templates.
          o  From OpenObject binary fields:
                        ${ subreport(object.file_field,
            object.filename_field) }
          o  From files on disk:
                        ${ subreport(filepath='/tmp/something.odt') }
          o  From buffers (open files, strings):
                        ${ subreport(source=buffer, source_format='odt') }
          o  From OpenObject attachments (ODT, TXT, DOC, RTF files):
                        ${ subreport(get_attachments(object)[0].datas,
            get_attachments(object)[0].datas_fname) }
    * Its able to autostart the headless OpenOffice instance it none is
      found.


It would be nice to see this features merged into the final report engine.

-- 
Borja López Soilán
borjals@xxxxxxxxx

Pexego Sistemas Informáticos S.L.
Avenida de Magoi 66 - 27002 Lugo (España)
Tel./Fax 982801517
http://www.pexego.es 


-- 
View this message in context: http://openerp-expert-framework.71550.n3.nabble.com/Summary-of-OpenERP-report-Engine-Work-Shop-tp742233p742506.html
Sent from the openerp-expert-framework mailing list archive at Nabble.com.

Follow ups

References