Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341997 - Nested elements doesn't obey "Fit to whole page" option in PDF export
Summary: Nested elements doesn't obey "Fit to whole page" option in PDF export
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.1   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: 3.7.0   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-06 05:59 EDT by Missing name CLA
Modified: 2011-05-26 13:33 EDT (History)
2 users (show)

See Also:


Attachments
Report design (27.90 KB, image/png)
2011-04-06 05:59 EDT, Missing name CLA
no flags Details
Report template (14.51 KB, application/octet-stream)
2011-04-06 06:01 EDT, Missing name CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2011-04-06 05:59:56 EDT
Created attachment 192628 [details]
Report design

Table that overflows master page dimension horizontally isn't scaled correctly when using PDF export with "Fit to whole page" -option if element isn't in the report body.

E.g. I have created report that contains grid in the root. Grid contains a table that columns are sized so that it overflows the master page horizontally (page size is portrait A4). I also added another table in the report root with same characteristics as the table in the grid. While editing the report overflown parts can be seen (see attachment part A).

When report is opened in the Birt Viewer it is shown as expected. After initiating PDF export with option "Auto" overflown parts are clipped from both tables (see attachment part B). If "Fit to whole page" option is selected instead then the root table is scaled correctly while the table inside grid gets scaled but also clipped from position where it would be clipped with option "Auto" (see attachment part C). If root table is removed then "Fit to whole page" -option does no scaling at all.

I noticed this with Birt Viewer and haven't tried it with direct pdf export. I'd expect that same thing happens with that therefore I assigned this as ReportEngine bug.
Comment 1 Missing name CLA 2011-04-06 06:01:27 EDT
Created attachment 192629 [details]
Report template
Comment 2 Xiaoying Gu CLA 2011-04-10 21:16:47 EDT
"Fit to whole page" only support on elements on top level. Nested element is not supported. it's by design.
Comment 3 Missing name CLA 2011-04-11 09:06:54 EDT
(In reply to comment #2)
> "Fit to whole page" only support on elements on top level. Nested element is
> not supported. it's by design.

Lesson learnt. Ask first from community before reporting bugs :)