Recent

Author Topic: FPReport testing  (Read 14124 times)

JZS

  • Full Member
  • ***
  • Posts: 194
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: 1848
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 - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

mobilevil

  • Jr. Member
  • **
  • Posts: 69
    • 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: 1428
    • 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: 1848
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 - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

reminder2k1

  • Newbie
  • Posts: 5
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: 194
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: 5
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

  • Jr. Member
  • **
  • Posts: 69
    • 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: 5
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: 2330
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: 5
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: 831
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

eldonfsr

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

 

TinyPortal © 2005-2018