Please do NOT post requests for help here. Use the Help forum for that.
  • Page:
  • 1

TOPIC:

PDF reports 2 weeks 14 hours ago #1

  • sevtor
  • sevtor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
The last couple of months I have work quite a lot with the report engine to get new reports that suits me better than the old ones.

I started with the pedigree report and after a complete rewrite I now have a version family_tree that can display up to 8 generation on paper A2 in Landscape mode! Names should also now be adapted to the space available, i.e. truncated instead of overwriting other information.
By the way, US paper formats are supported correctly.

The ahnentafel and descendency report had a lot in common but different layout so I merged them into one report: family_history. Main features: a new and hopefully better layout and usage of fonts; facts and events are sorted chronologically, not by type; notes are printed because they can contain interesting details; an indication of relation to the start person is given after the name (m=mother, f=farther, x=brother or sister, s=son, d=daughter, h=husband, w=wife, e.g. mmf=mother's mother's farther, sw=son's wife, et c.)

The individual_ext_report also got the indication of relation to the start person.

They are now three different modules because I can't figure out how to put three reports in one module!

These extensions require some modifications in the XML parser, ReportParserGenerate.php.

A working example can be seen at my demo site: torstendahl.se/demo/
webtrees 2.1.16, php 8.0.27, torstendahl.se/demo/
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by sevtor.

PDF reports 1 week 6 days ago #2

  • sevtor
  • sevtor's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 16
Images of example reports are added.
Pedigree reports on paper size A2 in landscape mode and size US-Tabloid in portrait mode.
One page of family history.
webtrees 2.1.16, php 8.0.27, torstendahl.se/demo/
Attachments:

Please Log in or Create an account to join the conversation.

PDF reports 1 week 6 days ago #3

  • norwegian_sardines
  • norwegian_sardines's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 2700
Looks very nice! I’ve been waiting for a rewrite of the reporting module ever since v2.0 of webtrees was introduced, but other user based requests have taken precedence.

Thanks for breathing some new life into the reports.
Ken

Please Log in or Create an account to join the conversation.

PDF reports 1 week 6 days ago #4

  • Peter_S
  • Peter_S's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 382

I’ve been waiting for a rewrite of the reporting module ever since v2.0 of webtrees was introduced, but other user based requests have taken precedence.
Yes, the report modules should be modernized and revised.
A selection option of the fields to be displayed would be desirable.
Peter

webtrees 2.1.16, vesta modules, chart modules of magicsunday, extended family and imprint of hartenthaler
PHP 8.0, MySQL 8.0.16
Webhosting: genonline.de

Please Log in or Create an account to join the conversation.

PDF reports 1 week 5 days ago #5

I also hope that there will be some progress with rewrting the report engine.
Ladislav

webtrees 2.0.24 + ⚶ Vesta modules (from cissee.de/)
testing webtres 2.1.5 + ⚶ Vesta modules
on PHP Version 7.4.28

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum