Sign in Join

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

Mailing lists / lazarus / 2016-04

FLC-PDF and LazReport

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Michael W. Vogel

Hi,

In a project I use LazReport and TlrCairoExport, cause I need implemented fonts and unicode support.

Is there a plan to do it or anybody working on a wrapper for the new FPC PDF generator or is it even somehow possible today?

Thank you

Michl

Reply by email

Graeme Geldenhuys
to Michael W. Vogel
Michael W. Vogel wrote
Is there a plan to do it or anybody working on a wrapper for the new FPC PDF generator or is it even somehow possible today?

I'm pretty confident it will be possible, but I'm not working on that.

I've written a PDF export filter, using fcl-pdf, for the fpReport (Free Pascal Reporting) project that will be released some time this year. fpReport still needs to bake a bit longer. ;-) There are more features coming in fpPDF too.

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

Jesus Reyes A.
to Michael W. Vogel: In a project I use LazReport and TlrCairoExport, cause I need implemented fonts and…

En Fri, 08 Apr 2016 15:10:47 -0500, Michael W. Vogel escribi?:

Show quoted text 12 lines
Hi, In a project I use LazReport and TlrCairoExport, cause I need implemented fonts and unicode support. Is there a plan to do it or anybody working on a wrapper for the new FPC PDF generator or is it even somehow possible today? Thank you Michl

It's planned, I was testing fpPdf (or how will it be named?) with that in mind. But if somebody is in a hurry and wants to jump in, please say so.

Jesus Reyes A.

Reply by email

Michael W. Vogel
to Jesus Reyes A.
Jesus Reyes A. wrote
But if somebody is in a hurry and wants to jump in, please say so.

I'm not really in hurry but it would be nice, not to ship all the dll (libcairo) with my app.

I found some time and made some first tests. I successfully created a first basic TlrFpPdfExportFilter. I think it is doable, but it will take some time. I will ask here if I have questions.

Thanks

Kind regards

Michl

Reply by email

Michael W. Vogel
to Graeme Geldenhuys: I'm pretty confident it will be possible, but I'm not working on that. I've written a PDF…
Graeme Geldenhuys wrote 8 lines
I've written a PDF export filter, using fcl-pdf, for the fpReport (Free Pascal Reporting) project that will be released some time this year. fpReport still needs to bake a bit longer. ;-) There are more features coming in fpPDF too. Regards, - Graeme -

Very interesting!

Could you say something about fpReport? Is it a choice for LazReport or what is it for? Does it becomes part of FPC?

Kind regards

Michl

Reply by email

Michael Van Canneyt
to Michael W. Vogel
Michael W. Vogel wrote 13 lines
Am 08.04.2016 um 23:40 schrieb Graeme Geldenhuys: > > I've written a PDF export filter, using fcl-pdf, for the fpReport (Free > Pascal Reporting) project that will be released some time this year. > fpReport still needs to bake a bit longer. ;-) There are more features > coming in fpPDF too. > > Regards, > - Graeme - Very interesting! Could you say something about fpReport? Is it a choice for LazReport or what is it for? Does it becomes part of FPC?

It becomes part of FPC. It is a banded reporting engine that does not depend on any GUI widgetset. It needs to be usable in a headless webserver.

The feature set is roughly the one of Lazreport, but of course other enhancements are planned.
The fact that it is unit tested should already be an enhancement by itself :)

It will use a JSON file as input (or you can build it in code entirely), and will create various kinds of output, where initially we will make a PDF output engine.

We have already succesfully created test PDFs based on the engine, but we are waiting to commit this to FPC till the first production reports are ready.

Currently there is no GUI designer yet, but this is planned; I think that creating a designer should not be a big problem given the RTTI controls that exist in Lazarus.

Michael.

Reply by email