Choosing report tools lazarus / 31-LCL ---------------------------------------------------------------------- djdjdjole · 2016-06-27 12:42 Presently I am at the point to decide what report tool should I use in my Lazarus (1.6 - Windows10) applications. Download page for LazReport component on Sourceforge states that last update was at year 2013. Fortes report at least suffers lack of documentation. I found documentation for Freereport (v2.32) for Lazarus, but not downloads (for Lazarus). I've used Fast report in Delphi, but here it is in beta. I appreciate any help. Thanks ---------------------------------------------------------------------- zeljko · 2016-06-27 13:09 LazReport is part of lazarus, so that's why last update says 2013 yr. It's actively maintained inside lazarus components tree. ---------------------------------------------------------------------- Graeme · 2016-06-27 14:05 If you can wait a month, then Free Pascal's own fpReport should be released. It is unit tested every step of the way so should be stable out of the box. It is also actively being testing by my client that commissioned the work. Feature wise and developer friendliness, it knocks the socks of LazReport, FastReport and ForteReport, plus it doesn't depend on any GUI toolkit, so can even be used in a true headless server environment. ---------------------------------------------------------------------- JanRoza · 2016-06-27 14:47 That's great news Graeme! Although I'm satisfied with using FortesReport a stable and better report "from our stable" is always welcome. ---------------------------------------------------------------------- Hansaplast · 2016-06-27 14:47 @Graeme; Where can one find more info on fpReport? Sounds promising! ---------------------------------------------------------------------- JD · 2016-06-27 14:58 Quote from: Graeme on June 27, 2016, 04:05:49 pmIf you can wait a month, then Free Pascal's own fpReport should be released. It is unit tested every step of the way so should be stable out of the box. It is also actively being testing by my client that commissioned the work. Feature wise and developer friendliness, it knocks the socks of LazReport, FastReport and ForteReport, plus it doesn't depend on any GUI toolkit, so can even be used in a true headless server environment. Wonderful news. Where can I learn more about fpReport? JD ---------------------------------------------------------------------- ahiggins · 2016-06-27 16:09 QuoteIf you can wait a month, then Free Pascal's own fpReport should be released. It is unit tested every step of the way so should be stable out of the box. It is also actively being testing by my client that commissioned the work. Feature wise and developer friendliness, it knocks the socks of LazReport, FastReport and ForteReport, plus it doesn't depend on any GUI toolkit, so can even be used in a true headless server environment. No GUI dependencies, this will be extremely useful. I look forward to seeing the end product. ---------------------------------------------------------------------- Graeme · 2016-06-29 12:13 Quote from: JanRoza on June 27, 2016, 04:47:01 pmAlthough I'm satisfied with using FortesReport... Then you have never created reports running on a true headless environment.  eg: Console or Web Server. ForteReport, just like pretty much every other Delphi or Lazarus report solution pulls in LCL or VCL as a dependency. Making it useless for headless environments, and can't be used by other toolkits like fpGUI or MSEgui. ---------------------------------------------------------------------- Graeme · 2016-06-29 12:16 Quote from: Hansaplast on June 27, 2016, 04:47:44 pmWhere can one find more info on fpReport? Sounds promising! Nothing has been released publicly yet, hence no detailed information. All will be announced in a couple of weeks when it is added to the FPC repository (target is mid to end July). Note:    Even though it will be added to FPC Trunk, it works 100% with FPC 2.6.4 and FPC 3.0 too. ---------------------------------------------------------------------- JanRoza · 2016-06-29 12:33 Graeme, you assume correct, until now I only used FortesReport for desktop applications. I will definitely try out fpReport the moment it arrives. ---------------------------------------------------------------------- Hansaplast · 2016-06-30 09:43 Thanks Graeme! I'll be looking forward to the announcement. Would you mind posting the announcement here as well? ---------------------------------------------------------------------- Graeme · 2016-07-01 10:30 Quote from: Hansaplast on June 30, 2016, 11:43:29 amWould you mind posting the announcement here as well? I definitely will. ---------------------------------------------------------------------- Blestan · 2016-07-01 11:20 hi! good news! witch "canvas"/ export format  does the new report uses? btw.. im working now on an json like data format  witch may be usefull to supply data to the report tool to avoid db dependency regrads, blestan ---------------------------------------------------------------------- Graeme · 2016-07-01 11:36 Quote from: Blestan on July 01, 2016, 01:20:54 pmwitch "canvas"/ export format  does the new report uses? I have implemented PDF and PNG (via AggPas) exporting options for fpReport. They are considered the reference implementations. Other developers will be welcome to contribute alternative exporting options - the more the better. The AggPas based export class can be used to export to other images formats too, but PNG is preferred. The reason I chose AggPas (instead of say FPCanvas) is because AggPas has far superior anti-aliased and sub-pixel graphics rendering. (see here) Saying that, a FPCanvas/FPImage version will probably be implemented too. Quotebtw.. im working now on an json like data format  witch may be usefull to supply data to the report tool to avoid db dependency fpReport currently persists (read & write) report designs to a JSON file. For actual reporting data, fpReport can report from any data. I've created sample reports reporting from a TStringList, TObjectList and a DB Dataset. Using JSON as a data source is a good solution too - I use it in other projects to feed Charting widgets with data, and it works very well. JSON is so much better than XML. ---------------------------------------------------------------------- Blestan · 2016-07-01 17:08 1/wow cool .. does your pdf implementations includes correct non latin fonts handling (font subsampling), as all previous implementations ... including mine own lackes correct  font manipulation. 2/ json is  fine .. that means that i will easily plug in mine XON format that is a superset of json / xml / bson ---------------------------------------------------------------------- Graeme · 2016-07-03 07:55 Quote from: Blestan on July 01, 2016, 07:08:08 pm1/wow cool .. does your pdf implementations includes correct non latin fonts handling (font subsampling), fpPDF (already included in FPC Trunk) does handle Unicode text. For unicode text to display correct, you need to embedded a font that includes the glyphs you used. At the moment fpPDF will embed the whole font into the PDF, thus the PDF's can get a bit big if you use lots of different fonts in the same document - font-subset embedding (partial font embedding) will be implemented soon. ---------------------------------------------------------------------- Graeme · 2016-07-20 23:32 Quote from: Graeme on July 01, 2016, 01:36:27 pmThe reason I chose AggPas (instead of say FPCanvas) is because AggPas has far superior anti-aliased and sub-pixel graphics rendering. (see here) Saying that, a FPCanvas/FPImage version will probably be implemented too. As it wasn't much work, a FPCanvas/FPImage report export filter was implemented for fpReport as well. As expected the image rendered output is not as good quality as the AggPas version (eg: no anti- aliased line drawing). But at least now we have a choice of two report rendering filters that can generate PNG images. ---------------------------------------------------------------------- Ondrej Pokorny · 2016-07-24 16:44 Quote from: Graeme on July 03, 2016, 09:55:43 amfont-subset embedding (partial font embedding) will be implemented soon. This is very good news! ---------------------------------------------------------------------- talorigomat · 2016-08-25 20:21 Is there any more news on fpreport?   Eager to give it a try ---------------------------------------------------------------------- Graeme · 2016-08-26 09:50 The first release is very close now. I'm making some final changes which will stabilise the reporting API. After that Michael van Canneyt wants to make the initial release. This should happen in the next 2-3 weeks I guess - if not sooner. ---------------------------------------------------------------------- marcinh · 2016-10-19 12:45 Any hope to release or project is dead ? ---------------------------------------------------------------------- Graeme · 2016-10-20 14:32 @marcinh: fpReport has been implemented and is being used internally here. I was only tasked in implementing it. Michael is in charge of making it public. ---------------------------------------------------------------------- Mocte · 2016-10-27 15:46 Quote from: Graeme on October 20, 2016, 04:32:31 pm@marcinh: fpReport has been implemented and is being used internally here. I was only tasked in implementing it. Michael is in charge of making it public. I'm eager to put my hands on this tool