JRXML-Generator POC and sneak-preview available
After getting the huge number of 2 (in words two) responses to my idea of writing a JRXML-generator i decided that this is enough to try it.
And 100% of the responses liked the idea to be able to create a report-definition from an APEX-page.
So i build a proof of concept and now have published it on apex.oracle.com
The whole thing is template based, so you can define different templates for different areas of the report.
On the tab JRXML-Generator you can start the generation of a new report. Here you choose for which page the report-definition should be generated. Currently you should use only the pages from the application "Report-generator-examples".To have a look at the layout of these pages you can use this link.
In the following steps you can choose what regions you want to use and which template should be used for the different areas of the report. In the last step the report-definition is generated and stored in the PL-jrxml2pdf-report-table. You are directed to the report-definition-page and can then run the report to see the result. Be sure that you provide the parameter-values if you have generated the report from a detail-page (e.g. P3_CUSTOMER_ID with value 1 if you choose the page Edit Customer).
At the moment this is only a proof of concept, so only certain region and item-types are supported, and also a lot of features is missing. But in my opinion it shows the idea behind.
So, feel free to play around with the generator and templates, i'm curious about the feedback.