Bug 294949 - Display unknown line and unknown space in PDF
Summary: Display unknown line and unknown space in PDF
Status: RESOLVED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.2.1   Edit
Hardware: PC Windows XP
: P3 critical (vote)
Target Milestone: 2.5.2 RC1   Edit
Assignee: Yu Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
Depends on:
Blocks:
 
Reported: 2009-11-12 04:05 EST by Takeshi CLA
Modified: 2009-11-19 04:46 EST (History)
3 users (show)

See Also:


Attachments
rptdesign file (36.01 KB, application/xml)
2009-11-12 04:08 EST, Takeshi CLA
no flags Details
unknown line in PDF (47.41 KB, image/jpeg)
2009-11-12 04:09 EST, Takeshi CLA
no flags Details
unkwon space in PDF (83.59 KB, image/jpeg)
2009-11-12 04:10 EST, Takeshi CLA
no flags Details
My PDF image(sample) (105.13 KB, image/jpeg)
2009-11-17 23:45 EST, Takeshi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Takeshi CLA 2009-11-12 04:05:40 EST
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)
Build Identifier: v20070924-0630

Problem 1 Statement:
unknown line

It is likely to go out after changing page.
is it a bug on BIRT2.2.1 ?


Problem 2 Statement:
unknown space

It is likely to go out after changing group.
i want to set same size of row.(what is this space?)
is it a bug on BIRT2.2.1 ?

Reproducible: Always

Steps to Reproduce:
1.make a pdf(or preview pdf) by sample report design
Comment 1 Takeshi CLA 2009-11-12 04:08:07 EST
Created attachment 152017 [details]
rptdesign file
Comment 2 Takeshi CLA 2009-11-12 04:09:18 EST
Created attachment 152018 [details]
unknown line in PDF
Comment 3 Takeshi CLA 2009-11-12 04:10:38 EST
Created attachment 152019 [details]
unkwon space in PDF
Comment 4 Yu Chen CLA 2009-11-17 04:21:01 EST
The PDF output result is consistent with the web browsers.

This space comes from the padding of each row, if you don't want the extra space before drop cells, simply remove the padding for each row.
Comment 5 Takeshi CLA 2009-11-17 23:43:46 EST
I don't want the extra space.

Is the following settings removal of padding that you say?

before
 <property name="paddingTop">0pt</property>
 <property name="paddingLeft">0pt</property>
 <property name="paddingBottom">0pt</property>
 <property name="paddingRight">0pt</property>
after
 <property name="paddingTop"></property>
 <property name="paddingLeft"></property>
 <property name="paddingBottom"></property>
 <property name="paddingRight"></property>

I attach the PDF image that I want to output next.
Comment 6 Takeshi CLA 2009-11-17 23:45:40 EST
Created attachment 152451 [details]
My PDF image(sample)

My PDF image(sample)
Comment 7 Yu Chen CLA 2009-11-18 02:23:54 EST
No. 0pt means the padding size is 0 point. it is no padding already.
You need to remove the padding of the row, it is 1pt by default which is inherited from its parent container.
In your report design, select the row, and go to the Property Editor - Row, find the "advanced" of Properties tab, then Row->Box->padding top(bottom ...)
change "1pt" to "0pt".
Comment 8 Takeshi CLA 2009-11-18 06:24:10 EST
Though I had already set padding in 0pt for all cells, I was not provided by a good result.
I deleted all Padding setting once next, and it was not good though I set Padding 0pt in each row.

Will it be a mistake to set Padding 0pt to all cells?

I think that it is not outputted since Padding 0pt is not functioning by the bug of BIRT2.2.1.
Comment 9 Yu Chen CLA 2009-11-19 04:46:51 EST
We have optimized the layout result on the builds after 2.2.1

On BIRT 2.5.x, There is no extra space on this report. and you need not make any modification on the report design.

Suggest have a try on our new builds.