| Summary: | PDF output: Page Break Inside behaves as "Avoid", even though it's set to "Auto" | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Marcos <marcosp2019> | ||||||||
| Component: | BIRT | Assignee: | Birt-Report-inbox <Birt-Report-inbox> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | minor | ||||||||||
| Priority: | P3 | CC: | bluesoldier, hustlg, ronan.crowley, xuelan.li | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | 3.7.2 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 199529 [details]
Test case using the Classic Models sample DB
Created attachment 199530 [details]
PDF output for the test case, showing the unwanted whitespace
It's not a bug. Table row is page-break-inside:avoid by default. If you want remove the whitespace in the first page, you should set page-break-inside: auto on this row. Created attachment 199544 [details]
revised
Set as invalid based on comment #3 Sorry, I forgot to mention one thing: the problem happens when an old report file (from version 2.3.2) is opened in version 3.7. In this case, I guess that, since the XML properties don't exist in the report file, perhaps the GUI is showing "Auto" as a default, even though it doesn't behave like that in the output. "Auto" is a default value. If user want the table row split, he/she should set the property explicitly. For the pdf output, it's the expected result. Table row is page-break-inside:avoid by default. If want to remove the whitespace in the first page, user should set page-break-inside: auto on this row explicitly. There is another issue mentioned in submitter's comments: "In this case, I guess that, since the XML properties don't exist in the report file, perhaps the GUI is showing "Auto" as a default, even though it doesn't behave like that in the output." User doesn't set page-break-inside: auto on table row in the groups, but GUI is showing as "Auto" while the default value is "avoid". Page-break-inside property can not be inherited, user set "auto" value on table group, it seems this value is inherited from table group. Reassign it to model team to check if page-break-inside is inheritable. Fixed. For value issue of page-break-inside mentioned in comment8 is corrected now. If no value is set locally for row in table or table group, its value is shown as "avoid" rather than "auto". Are the details of the change made this Bug available anywhere? Wondering what I'd need to do to patch this on to 3.7.1 Cheers |
Build Identifier: 20110615-0604 The property "Page Break Inside" is behaving as "Avoid" by default, even though it's shown as "Auto" in the Eclipse Report Designer GUI. This causes a lot of unwanted whitespace in reports with nested tables. The problem has been detected with the PDF emitter, I haven't checked if other formats are affected as well. Setting all rows of all tables to "Avoid" and then back to "Auto" solves the problem (since the property is then explictly written to the XML file). Reproducible: Always Steps to Reproduce: 1. Create a report with multiple nested tables 2. Leave the page break settings as default ("Auto") 3. Run and export the results as PDF