Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 313465 - A blank page is generated if there is a large margin and preview as PDF
Summary: A blank page is generated if there is a large margin and preview as PDF
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.6.0 RC3   Edit
Assignee: Yu Chen CLA
QA Contact: Xiaodan Wang CLA
URL:
Whiteboard: Need-Auto
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-19 02:45 EDT by Xiaodan Wang CLA
Modified: 2010-05-26 02:36 EDT (History)
1 user (show)

See Also:


Attachments
report design (14.83 KB, application/octet-stream)
2010-05-19 02:45 EDT, Xiaodan Wang CLA
no flags Details
the pdf file generated from the attached report design (81.55 KB, application/pdf)
2010-05-19 02:46 EDT, Xiaodan Wang CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaodan Wang CLA 2010-05-19 02:45:28 EDT
Created attachment 169054 [details]
report design

Description:
A blank page is generated if there is a large margin and preview as PDF.

Build number:
2.6.0.v20100519-0630

Steps to reproduce:
1. New a text and go to Property Editor->Padding and Property Editor->Margin.
2. Set top margin to 1000000 %.
3. Preview as PDF.

Expected result:
If the margin is larger than the page size, it is removed and the text is generated.

Actual result:
See the screenshot.

Error log:
N/A
Comment 1 Xiaodan Wang CLA 2010-05-19 02:46:04 EDT
Created attachment 169055 [details]
the pdf file generated from the attached report design
Comment 2 Yu Chen CLA 2010-05-24 23:44:41 EDT
The margin is too large and out of the limitation of java int.

Fixed.
Comment 3 Xiaodan Wang CLA 2010-05-26 02:36:17 EDT
Big margin is ignored.

Verified in build (2.6.0.v20100519-0630), closed.