Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2017-08

fpReport released

4 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

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.
[5~

Reply by email

Graeme Geldenhuys
to Michael Van Canneyt
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

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

leledumbo
to Michael Van Canneyt: A long time wait. But it finally made it: fpreport has been committed to FPC SVN:…
fpreport has been committed to FPC SVN: packages/fcl-report. It should compile on windows, linux, freebsd and darwin. From the wiki:

"An important use-case was a Linux server running in a container without X libraries installed"

Yep, yep, yep. Finally I can replace my old statically designed reports :)

View this message in context: http://free-pascal-general.1045716.n5.nabble.com/fpReport-released-tp5729564p5729578.html Sent from the Free Pascal - General mailing list .

Reply by email