* * *

Author Topic: FPReport testing  (Read 3648 times)

JZS

  • Full Member
  • ***
  • Posts: 184
Re: FPReport testing
« Reply #15 on: September 02, 2017, 02:47:49 pm »
Cont., later when working with the data, an error about Missing Font will be triggered "LiberationSans":
Downloaded from here and it worked.
Still finding out a way to generate a sample though.

Many thanks Graeme and Lazarus Team.
I use recent stable release

JD

  • Hero Member
  • *****
  • Posts: 1608
Re: FPReport testing
« Reply #16 on: September 03, 2017, 03:54:26 pm »
Well I've been looking forward to this for a long time. Many thanks to Graeme & the development team. I want to know if it is possible to export reports to the RTF format. I have a use case at the moment where reports generated need to be modifiable in Microsoft Word. The RTF format is the closest I think of to Microsoft Word.

Thanks,

JD
Windows (10, 7) - Lazarus 1.8/FPC 3.0.4, NewPascal, Delphi
Linux Mint Cinnamon  - Lazarus 1.8/FPC 3.0.4, NewPascal
Indy 10.6 series; mORMot; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB

mobilevil

  • New member
  • *
  • Posts: 30
    • http://www.kachun.com
Re: FPReport testing
« Reply #17 on: September 04, 2017, 11:26:58 am »
GDB itself crashes when I am playing around with the report designer component. maybe my SVN build is bad?

Graeme

  • Hero Member
  • *****
  • Posts: 1419
    • Graeme on the web
Re: FPReport testing
« Reply #18 on: September 04, 2017, 01:25:58 pm »
I want to know if it is possible to export reports to the RTF format. I have a use case at the moment where reports generated need to be modifiable in Microsoft Word.
There is no RTF exporter for fpReport. Contributions are obviously very welcome. You might be able to use the HTML Exporter for now, as Microsoft Word and LibreOffice Writer can edit HTML and then resave that in another format like DOC, ODT or RTF.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

JD

  • Hero Member
  • *****
  • Posts: 1608
Re: FPReport testing
« Reply #19 on: September 04, 2017, 10:59:31 pm »
I want to know if it is possible to export reports to the RTF format. I have a use case at the moment where reports generated need to be modifiable in Microsoft Word.
There is no RTF exporter for fpReport. Contributions are obviously very welcome. You might be able to use the HTML Exporter for now, as Microsoft Word and LibreOffice Writer can edit HTML and then resave that in another format like DOC, ODT or RTF.

OK Thanks. I'll see what I can do with that.
Windows (10, 7) - Lazarus 1.8/FPC 3.0.4, NewPascal, Delphi
Linux Mint Cinnamon  - Lazarus 1.8/FPC 3.0.4, NewPascal
Indy 10.6 series; mORMot; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB

reminder2k1

  • Newbie
  • Posts: 4
Re: FPReport testing
« Reply #20 on: September 27, 2017, 12:40:34 am »
Thanks Pascal. Now I got it working. It was the "zlib1.dll" that was missing to be placed next to the FreeType DLL.

JZS, how did you fix the freetype-6.dll loading? i still have same problem.

JZS

  • Full Member
  • ***
  • Posts: 184
Re: FPReport testing
« Reply #21 on: September 27, 2017, 03:38:34 am »
JZS, how did you fix the freetype-6.dll loading? i still have same problem.

What error message did you get? Was it same as the one I attached?
I use recent stable release

reminder2k1

  • Newbie
  • Posts: 4
Re: FPReport testing
« Reply #22 on: September 27, 2017, 06:15:05 am »
JZS, how did you fix the freetype-6.dll loading? i still have same problem.

What error message did you get? Was it same as the one I attached?

yes, but i can found freetype-6.dll...

mobilevil

  • New member
  • *
  • Posts: 30
    • http://www.kachun.com
Re: FPReport testing
« Reply #23 on: September 27, 2017, 06:34:55 am »
Is the dll in search path? If in doubt put it in the same folder as lazarus.exe

reminder2k1

  • Newbie
  • Posts: 4
Re: FPReport testing
« Reply #24 on: September 27, 2017, 07:29:24 am »
Is the dll in search path? If in doubt put it in the same folder as lazarus.exe

ya, but i still don't have this file? can you give me the url where can i download it ?

molly

  • Hero Member
  • *****
  • Posts: 2043
Re: FPReport testing
« Reply #25 on: September 27, 2017, 08:05:43 am »
ya, but i still don't have this file? can you give me the url where can i download it ?

There is a thread discussing the same topic, but relevant messages got a bit lost there:
freetype (for windows) is part of gnuwin.
Don't forget to download the dependency archive as well (you need zlib dll from that) and store that next to your freetype dll.

More information is available in that thread, you could probably do with starting with my quoted message and read downwards.

reminder2k1

  • Newbie
  • Posts: 4
Re: FPReport testing
« Reply #26 on: September 27, 2017, 12:23:44 pm »
ya, but i still don't have this file? can you give me the url where can i download it ?

There is a thread discussing the same topic, but relevant messages got a bit lost there:
freetype (for windows) is part of gnuwin.
Don't forget to download the dependency archive as well (you need zlib dll from that) and store that next to your freetype dll.


thx so much for your reply... it work right now...  :)
More information is available in that thread, you could probably do with starting with my quoted message and read downwards.

Gizmo

  • Hero Member
  • *****
  • Posts: 622
    • http://www.quickhash-gui.org
Re: FPReport testing
« Reply #27 on: September 27, 2017, 01:40:25 pm »
Quote
Quote from: JD on 03-09-2017, 15:54:26
I want to know if it is possible to export reports to the RTF format. I have a use case at the moment where reports generated need to be modifiable in Microsoft Word.

See the lazdbexport package via Lazarus Package menu --> Install\Uninstall package list. You can export to RTF data from DBGrids and, I think, other data sources though I could be wrong there. I've just used it for exporting data to CSV and I noticed RTF was an option
Lazarus 1.6.4 and fpc 3.0.2 - Linux Mint 17 LTS, Windows 7 and Mac Yosemite
Useful Page to remember : http://wiki.freepascal.org/Cross_compiling#From_Linux_x64_to_Linux_i386

eldonfsr

  • Full Member
  • ***
  • Posts: 116
Re: FPReport testing
« Reply #28 on: October 05, 2017, 05:22:10 am »
You have link to download

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus