fisharebest / webtrees

Online genealogy
https://webtrees.net
GNU General Public License v3.0
486 stars 301 forks source link

Abandon XML reports - replace with PHPOffice based reports #3250

Open fisharebest opened 4 years ago

fisharebest commented 4 years ago

The report library is based around XML files, which are processed to create either HTML or PDF reports.

I propose to replace these XML reports with ones based on PHPOffice.

PHPOffice allows us to create abstract "documents", which we then render in a specific format (CSV, XLS, XLSX, ODS, DOC, DOCX, PDF, etc.)

mestaritonttu commented 4 years ago

Nice to see this on the roadmap! We had an email exchange about this in March. I started hacking on the core files in order to make the markup and CSS saner (getting rid of position: absolute), but got distracted.

Do you have an idea on how to offer customisation of the report templates? Our use case is adding profile photos and custom facts to the (descendancy) report.

fisharebest commented 4 years ago

Do you have an idea on how to offer customisation of the report templates?

I haven't thought much about this.

But since they will be generated entirely using PHP, it will be much easier to have options built in to the core code.

melizaa commented 4 years ago

I see that the issues are no longer part of 2.1.0. I see also that the original issues are closed.

When can I expect the issues to work as expected? Then I might be able to upgrade my production site code.

melizaa commented 3 years ago

This becomes more and more urgent. When do we plan to carry out the change?

fisharebest commented 3 years ago

When do we plan to carry out the change?

Not until after the 2.1 release is completed.

iyoua commented 2 years ago

Is this work in progress now? I have only recently started to focus on the format of the report. If the official plan is to rewrite the report code, I will learn it after the new report system is launched.

fisharebest commented 2 years ago

Is this work in progress now?

I hope to start on this soon.

RAMINCNZ commented 8 months ago

Am guessing this is a larger more difficult project than anticipated..

Might this be done for the next upgrade or will it be longer still??

I am voicing my support for this to happen including Profile Pictures

Rick M Tauranga New Zealand - Nu Tirani

fisharebest commented 8 months ago

Might this be done for the next upgrade or will it be longer still??

This is waiting for updates to the database structure, which will happen after the new database-schema code is ready (which is planned for 2.2 at the end of 2024)