Italian community of Lazarus and Free Pascal

Programmazione => Generale => Topic aperto da: xinyiman - Agosto 21, 2017, 09:22:23 am

Titolo: FPReport
Inserito da: xinyiman - Agosto 21, 2017, 09:22:23 am
Copio e incollo un post trovato sul forum ufficiale internazionale di lazarus:

[fpc-pascal] fpReport released

From: Michael Van Canneyt
Sun Aug 20 20:35:19 CEST 2017

Hello,

A long time wait. But it finally made it:

fpreport has been committed to FPC SVN: packages/fcl-report.
It should compile on windows, linux, freebsd and darwin.

Features and architecture are described on:
http://wiki.freepascal.org/FPReport

Short highlights:
- Banded report design.
- Streaming to JSON, streaming XML is on TODO.
- expressions using fpexprpars.
- No GUI Dependencies.
- Unit tested.
- Standard support for Memo (with HTML tags embedded), image, shape and checkbox elements
- Data loop for Dataset, JSON data, collections, lists, event driven.
- Framework for extending with other elements (demo contains polygon).
- Export out of the box to following format:
 - Pure HTML.
 (TOC pages, optional use of frames, highly configurable)
 - Images (with option to generate HTML container pages. Currently requires
 FreeType on windows)
 - PDF (using fcl-pdf)

There are 11 demo reports in a command-line.
There is also a standalone webdemo with the same demos, which shows that fpreport can be used very easily
in a headless webserver.

The LCL support has been committed to lazarus: components/fpreport.
It contains:
- Preview (export to LCL canvas)
- Printing.
- Design-time support for a report.
- Stand-alone designer, with support for accessing data from:
 CSV, DBF, SQLDB, JSON File, any REST service that exports JSON.
 Allows preview and export to all known formats.
- LCL demo program.

Todo:
- XML
- Remove freetype dependency.
- subreport.
- crosstab.
- chart support.

Exporters for FPGUI and AggPas are also available, I expect that Graeme
Geldenhuys will commit them soon.

Please remember, this is a first release. There are some known bugs and
shortcomings. Feel free to report anything you find in the bugtracker,
suggestions are also welcome.

Enjoy,

Michael.

----------------------------------

http://lists.freepascal.org/pipermail/fpc-pascal/2017-August/052076.html

Re: [fpc-pascal] fpReport released

From: Graeme Geldenhuys

> A long time wait. But it finally made it:

Indeed, and many thanks for finally making it publicly available. :-)


> Exporters for FPGUI and AggPas are also available, I expect that Graeme
> Geldenhuys will commit them soon.

Thanks for the heads-up, I'll commit the fpGUI and AggPas code tonight
or tomorrow in the fpGUI repository.

Regards,
   Graeme
Titolo: Re:FPReport
Inserito da: xinyiman - Agosto 21, 2017, 09:23:14 am
Qui trovate maggiori info: http://wiki.freepascal.org/FPReport

Qui invece info sul designer di FPReport: http://wiki.freepascal.org/FPReport_Designer

Sembra veramente un bel progetto.