Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||RPT: "Repeat Section" = "Yes" produces too many page breaks|
|Product:||Base||Reporter:||Frank Schönheit <frank.schoenheit>|
|Component:||code||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Priority:||P3||CC:||issues, michael.brauer, ocke.janssen, tmorgner|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
Description Frank Schönheit 2007-07-29 20:46:02 UTC
- open the attached database document - open the contained report for editing - set the property "Repeat Section" of the group header to "Yes" - execute the report - (Enter "Europe" when asked for a parameter) => an report is generated which contains - the report header on the first page, which otherwise is empty - the data of the single group on the second page - the report footer on the third page, which otherwise is empty The problem here, according to Thomas' comment in issue 78128, is that the only way to implement a repeating section is to force a page break before the header and a page break after the footer. While it is understood that this is a limitation of the file format and Writer's current implementation, this certainly is nothing the user expects. Thus, we should address it.
Comment 1 Frank Schönheit 2007-07-29 20:47:22 UTC
Created attachment 47185 [details] document to reproduce the bug case
Comment 2 Frank Schönheit 2007-07-29 21:17:27 UTC
resetting target, iTeam has not yet decided about it.
Comment 3 ocke.janssen 2007-08-01 10:08:59 UTC
Comment 4 marc.neumann 2007-09-10 15:40:24 UTC
The Report Designer iTeam decided to retargeting this issue to "2.x".
Comment 6 ocke.janssen 2007-11-14 10:43:34 UTC
@mib: Could please take a look at the odt document? May be you know a solution for this one. Thanks.
Comment 7 ocke.janssen 2007-11-14 10:44:00 UTC
Add Thomas to cc list
Comment 8 michael.brauer 2007-11-14 11:33:55 UTC
Why is the header of the table in the header of the page, rather than just being the header of the table itself? OOo allows to declare an arbitrary number of table rows to be repeated on every page, so I so no reason why the header rows are within the table header. Well, for footers this may be different.
Comment 9 tmorgner 2007-11-14 15:09:53 UTC
Q: "Why is the header of the table in the header of the page, rather than just being the header of the table itself?" A: The table-header repeating is too limited for our purposes. It is not guaranteed that the repeated header is the last or the only one, manual pagebreaks inside the report (which can happen everywhere) require us to break the table to apply the pagebreak on a paragraph or table-tag. So there is only a very narrow case where we could use the repeat-table-header feature of OOW, so our code becomes cleaner and more maintainable by plainly heading for the general case and dropping the page/repeated-group-header into the Page-Header-Section of the writer instead. Repeated headers are not part of the documents 'normal-flow' - they are defined in the document's normal-flow and then copied on the header/footer sections. The fact that the only way to activate a new page-header/footer is to apply a new page-template (which is implemented to imply a forced-pagebreak) makes it impossible for us to reduce the numbers of executed pagebreaks here.
Comment 10 ocke.janssen 2007-11-19 12:56:57 UTC
Hi Thomas, please find a solution together with Michael. As far as the issue is either on the writer side or your side, I set you as owner. Thanks, Ocke
Comment 11 ocke.janssen 2008-02-13 14:07:30 UTC
change to 3.0
Comment 12 ocke.janssen 2008-05-27 09:04:02 UTC
We need a new mechanism for odf sections which allows us to implement groups from reports.