GSOC ReportBuilder Weekly Update

Adam Seskunas adamseskunas at gmail.com
Wed May 28 03:28:00 UTC 2025


Hello all,

This is my weekly update on implementing ReportBuilder in C++.

This week I've continued to work on the existing C++ in
https://opengrok.libreoffice.org/xref/core/reportdesign/source/filter/xml/xmlExport.cxx
<https://opengrok.libreoffice.org/xref/core/reportdesign/source/filter/xml/xmlExport.cxx?r=38c0897854f1e217f256535cc9acac221752d9a0>

As stated last week, my short term goal is to get the database data into
the xml by modifying the existing xmlExport code. To this end, I've
submitted a first draft wip patch to gerrit here
https://gerrit.libreoffice.org/c/core/+/185810

The patch just adds a simple database call as an example, and also modifies
https://opengrok.libreoffice.org/xref/core/reportdesign/source/core/api/ReportEngineJFree.cxx
so that a test file is written out to the /tmp folder for easier testing.

While working on modifying xmlExport to export the database data, I've come
to the realization that in order to test the output, I will need to remove
the existing rpt xml tags that are output by xmlExport.

At first I had thought a simple xslt filter may do the trick, but I think
for now I will modify the existing xmlExport code to not produce these rpt
tags, which will hopefully allow the resulting document to be rendered for
testing purposes.

After xmlExport is producing and xml document that can be viewed the next
step will be to do extensive testing of report documents to determine any
differences in output from the modified xmlExport C++ code and the existing
output from the Pentaho report engine.

This testing will then determine my next steps, which could be writing an
xslt filter or writing/modifying more C++ export code.

That's all for now, have a good week,
Adam Seskunas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20250527/2929f7fc/attachment.htm>


More information about the LibreOffice mailing list