Bug 330219 - Add support for subreports
Summary: Add support for subreports
Status: CONFIRMED
Alias: None
Product: KEXI
Classification: Applications
Component: Reports and Printouts (show other bugs)
Version: unspecified
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: Kexi Bugs
URL: https://invent.kde.org/libraries/krep...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 22:13 UTC by Andrius
Modified: 2023-04-03 18:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Phone bill use case. (233.30 KB, image/png)
2014-01-20 22:14 UTC, Andrius
Details

Note You need to log in before you can comment on or make changes to this bug.
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.