Bug 330219

Summary: Add support for subreports
Product: [Applications] KEXI Reporter: Andrius <andriusmao>
Component: Reports and PrintoutsAssignee: Kexi Bugs <kexi-bugs>
Status: CONFIRMED ---    
Severity: wishlist CC: staniek
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: All   
URL: https://invent.kde.org/libraries/kreport/-/issues/20
Latest Commit: Version Fixed In:
Attachments: Phone bill use case.

Description Andrius 2014-01-20 22:13:09 UTC
Kexi reports should be able to allow fixed text/image (or data for group sections) on the side margins (like header/footer, but in the sides, I'm calling it "siders" here, to simplify)

I'm not sure if this can be achieved only with "subreports" (as in ms access subreports), with both "subreports" and "siders", or even with "Group Sections" + "siders".

As a use case, I was trying to mimic my phone bill, as in the attached file (actual data, logos etc. were blurred out) where there are:
(1) Page or Group Section "sider": In this specific example a bar code (e.g.: customer id) for the data listing on the left. Siders should have the same options of Headers and Footers (e.g. first page only)
(2) Subreport: an embedded report with its own data source, but having the data bound (as a where clause) to the main report
(2.1) Subreport "sider": Same as (1) but with a fixed message in this example.
(2.2) Subreport data: the actual data.
(2.3) Filler: as far as I can see, a filler could also be simulated by using "siders", as those would impose a height if I find some use case it's not possible I'll file a separate wish request.
Comment 1 Andrius 2014-01-20 22:14:06 UTC
Created attachment 84760 [details]
Phone bill use case.
Comment 2 Jarosław Staniek 2023-04-03 18:38:09 UTC
Siders is a special case indeed when we put the subreport element inside a page footer/header. 
Inserting inside left/right margin can be achieved by adding these margin areas to the set of report sections.