|
|
|
|
Re: Some problem with 2.2 release [message #246863 is a reply to message #246844] |
Mon, 09 July 2007 04:41   |
Eclipse User |
|
|
|
Hello,
Yes, I forgot to set border.
But. In my preview the label text of your report is _centred_ and _bolded_
(see pic1)
Also if I remove border from the table cell and set it on the table _row_
it is not drawn (see new_report.rptdesign and pic2)
Best Kirill
"qwang" <qwang@actuate.com> wrote in message
news:f6smat$pka$1@build.eclipse.org...
> Kirill A. Balod wrote:
>> I just have updated Eclipse and BIRT from the update site.
>> A preview image, rptdesign and eclipse configuration log are attached.
>>
>>
>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>> news:f6llej$9ks$1@build.eclipse.org...
>>> Kirill,
>>>
>>> Can you post this report. I just tried this in the 2.2 release and did
>>> not see the issue you are having.
>>>
>>> Jason
>>>
>>> Kirill A. Balod wrote:
>>>> Hello,
>>>> I have found differences in HTML and PDF output results.
>>>> For example I have created new report and put into a Grid(1,1). Into
>>>> the
>>>> grid I put Table(1,1,none) and into a header cell of the table I put
>>>> Label
>>>> and entered some text ("My Lable" for example). For the header row I
>>>> set
>>>> black border. (see im1)
>>>>
>>>> When I switched into preview I found the label text in center of report
>>>> and
>>>> with bold attribute (and probably another size). There is not any
>>>> border
>>>> at
>>>> all. (see im2)
>>>> In PDF output it looks ok. (see im2)
>>>>
>>>> Could somebody help me?
>>>>
>>>> Best
>>>> Kirill.
>>>>
>>>>
>>>>
>>
>>
> I read the attached design and looks you didn't set the board in the file.
> Attached the file which I set the top/bottom border of the cell. It
> works fine.
>
> Thanks
> Qiangsheng
>
------------------------------------------------------------ --------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Written by Eclipse BIRT 2.0 -->
> <report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.7"
> id="1">
> <property name="createdBy">Eclipse BIRT Designer Version
> 2.2.0.v20070620 Build <2.2.0.v20070625-0630></property>
> <property name="units">in</property>
> <property name="comments">Copyright (c) 2007 <<Your Company Name
> here>></property>
> <html-property name="description">Creates a blank report with no
> predefined content.</html-property>
> <text-property name="displayName">Blank Report</text-property>
> <property name="iconFile">/templates/blank_report.gif</property>
> <styles>
> <style name="crosstab" id="4">
> <property name="borderBottomColor">#CCCCCC</property>
> <property name="borderBottomStyle">solid</property>
> <property name="borderBottomWidth">1pt</property>
> <property name="borderLeftColor">#CCCCCC</property>
> <property name="borderLeftStyle">solid</property>
> <property name="borderLeftWidth">1pt</property>
> <property name="borderRightColor">#CCCCCC</property>
> <property name="borderRightStyle">solid</property>
> <property name="borderRightWidth">1pt</property>
> <property name="borderTopColor">#CCCCCC</property>
> <property name="borderTopStyle">solid</property>
> <property name="borderTopWidth">1pt</property>
> </style>
> <style name="crosstab-cell" id="5">
> <property name="borderBottomColor">#CCCCCC</property>
> <property name="borderBottomStyle">solid</property>
> <property name="borderBottomWidth">1pt</property>
> <property name="borderLeftColor">#CCCCCC</property>
> <property name="borderLeftStyle">solid</property>
> <property name="borderLeftWidth">1pt</property>
> <property name="borderRightColor">#CCCCCC</property>
> <property name="borderRightStyle">solid</property>
> <property name="borderRightWidth">1pt</property>
> <property name="borderTopColor">#CCCCCC</property>
> <property name="borderTopStyle">solid</property>
> <property name="borderTopWidth">1pt</property>
> </style>
> </styles>
> <page-setup>
> <simple-master-page name="Simple MasterPage" id="2">
> <page-footer>
> <text id="3">
> <property name="contentType">html</property>
> <text-property name="content"><![CDATA[<value-of>new
> Date()</value-of>]]></text-property>
> </text>
> </page-footer>
> </simple-master-page>
> </page-setup>
> <body>
> <grid id="6">
> <property name="width">100%</property>
> <column id="7"/>
> <row id="8">
> <cell id="9">
> <table id="10">
> <property name="width">100%</property>
> <column id="17"/>
> <header>
> <row id="11">
> <cell id="12">
> <property
> name="borderBottomColor">#000000</property>
> <property
> name="borderBottomStyle">solid</property>
> <property
> name="borderBottomWidth">medium</property>
> <property
> name="borderTopColor">#000000</property>
> <property
> name="borderTopStyle">solid</property>
> <property
> name="borderTopWidth">medium</property>
> <label id="18">
> <text-property name="text">My
> label</text-property>
> </label>
> </cell>
> </row>
> </header>
> <detail>
> <row id="13">
> <cell id="14"/>
> </row>
> </detail>
> <footer>
> <row id="15">
> <cell id="16"/>
> </row>
> </footer>
> </table>
> </cell>
> </row>
> </grid>
> </body>
> </report>
>
Attachment: pic1.GIF
(Size: 23.27KB, Downloaded 92 times)
Attachment: pic2.GIF
(Size: 24.33KB, Downloaded 103 times)
Attachment: new_report.rptdesign
(Size: 4.29KB, Downloaded 298 times)
|
|
|
Re: Some problem with 2.2 release [message #246870 is a reply to message #246844] |
Mon, 09 July 2007 05:08   |
Eclipse User |
|
|
|
Once more:
1 - It has a different look in external browsers (IE7 and FireFox, see
pic_IE7 and pic_FF)
2 - If I change http://127.0.0.1:55398/viewer/run?... to
http://127.0.0.1:55398/viewer/preview?... label jump to left :(
Kirill
"qwang" <qwang@actuate.com> wrote in message
news:f6smat$pka$1@build.eclipse.org...
> Kirill A. Balod wrote:
>> I just have updated Eclipse and BIRT from the update site.
>> A preview image, rptdesign and eclipse configuration log are attached.
>>
>>
>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>> news:f6llej$9ks$1@build.eclipse.org...
>>> Kirill,
>>>
>>> Can you post this report. I just tried this in the 2.2 release and did
>>> not see the issue you are having.
>>>
>>> Jason
>>>
>>> Kirill A. Balod wrote:
>>>> Hello,
>>>> I have found differences in HTML and PDF output results.
>>>> For example I have created new report and put into a Grid(1,1). Into
>>>> the
>>>> grid I put Table(1,1,none) and into a header cell of the table I put
>>>> Label
>>>> and entered some text ("My Lable" for example). For the header row I
>>>> set
>>>> black border. (see im1)
>>>>
>>>> When I switched into preview I found the label text in center of report
>>>> and
>>>> with bold attribute (and probably another size). There is not any
>>>> border
>>>> at
>>>> all. (see im2)
>>>> In PDF output it looks ok. (see im2)
>>>>
>>>> Could somebody help me?
>>>>
>>>> Best
>>>> Kirill.
>>>>
>>>>
>>>>
>>
>>
> I read the attached design and looks you didn't set the board in the file.
> Attached the file which I set the top/bottom border of the cell. It
> works fine.
>
> Thanks
> Qiangsheng
>
------------------------------------------------------------ --------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Written by Eclipse BIRT 2.0 -->
> <report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.7"
> id="1">
> <property name="createdBy">Eclipse BIRT Designer Version
> 2.2.0.v20070620 Build <2.2.0.v20070625-0630></property>
> <property name="units">in</property>
> <property name="comments">Copyright (c) 2007 <<Your Company Name
> here>></property>
> <html-property name="description">Creates a blank report with no
> predefined content.</html-property>
> <text-property name="displayName">Blank Report</text-property>
> <property name="iconFile">/templates/blank_report.gif</property>
> <styles>
> <style name="crosstab" id="4">
> <property name="borderBottomColor">#CCCCCC</property>
> <property name="borderBottomStyle">solid</property>
> <property name="borderBottomWidth">1pt</property>
> <property name="borderLeftColor">#CCCCCC</property>
> <property name="borderLeftStyle">solid</property>
> <property name="borderLeftWidth">1pt</property>
> <property name="borderRightColor">#CCCCCC</property>
> <property name="borderRightStyle">solid</property>
> <property name="borderRightWidth">1pt</property>
> <property name="borderTopColor">#CCCCCC</property>
> <property name="borderTopStyle">solid</property>
> <property name="borderTopWidth">1pt</property>
> </style>
> <style name="crosstab-cell" id="5">
> <property name="borderBottomColor">#CCCCCC</property>
> <property name="borderBottomStyle">solid</property>
> <property name="borderBottomWidth">1pt</property>
> <property name="borderLeftColor">#CCCCCC</property>
> <property name="borderLeftStyle">solid</property>
> <property name="borderLeftWidth">1pt</property>
> <property name="borderRightColor">#CCCCCC</property>
> <property name="borderRightStyle">solid</property>
> <property name="borderRightWidth">1pt</property>
> <property name="borderTopColor">#CCCCCC</property>
> <property name="borderTopStyle">solid</property>
> <property name="borderTopWidth">1pt</property>
> </style>
> </styles>
> <page-setup>
> <simple-master-page name="Simple MasterPage" id="2">
> <page-footer>
> <text id="3">
> <property name="contentType">html</property>
> <text-property name="content"><![CDATA[<value-of>new
> Date()</value-of>]]></text-property>
> </text>
> </page-footer>
> </simple-master-page>
> </page-setup>
> <body>
> <grid id="6">
> <property name="width">100%</property>
> <column id="7"/>
> <row id="8">
> <cell id="9">
> <table id="10">
> <property name="width">100%</property>
> <column id="17"/>
> <header>
> <row id="11">
> <cell id="12">
> <property
> name="borderBottomColor">#000000</property>
> <property
> name="borderBottomStyle">solid</property>
> <property
> name="borderBottomWidth">medium</property>
> <property
> name="borderTopColor">#000000</property>
> <property
> name="borderTopStyle">solid</property>
> <property
> name="borderTopWidth">medium</property>
> <label id="18">
> <text-property name="text">My
> label</text-property>
> </label>
> </cell>
> </row>
> </header>
> <detail>
> <row id="13">
> <cell id="14"/>
> </row>
> </detail>
> <footer>
> <row id="15">
> <cell id="16"/>
> </row>
> </footer>
> </table>
> </cell>
> </row>
> </grid>
> </body>
> </report>
>
Attachment: pic_IE7.GIF
(Size: 15.88KB, Downloaded 96 times)
Attachment: pic_FF.GIF
(Size: 16.56KB, Downloaded 97 times)
|
|
|
Re: Some problem with 2.2 release [message #248042 is a reply to message #246870] |
Mon, 16 July 2007 06:10  |
Eclipse User |
|
|
|
In BIRT2.2, html performance is enhanced.
As a cost, several codes to adjust the difference between BIRT and browser
are removed.
In this case, BIRT output header using <th> tag and some browsers will make
it centered and bold.
You can try to write below html and view it in different browsers.
<html>
<head>
</head>
<body>
<table style="width:100%">
<tr><th>table header</th></tr>
</table>
</body>
</html>
If you need to make it align left, you can try to add a explicit style to
set its text-align to left.
BTW, see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=194082 which
maybe describe the same issue.
"Kirill A. Balod" <Kirill.Balod@borland.com> wrote in message
news:f6stv7$ggp$1@build.eclipse.org...
> Once more:
> 1 - It has a different look in external browsers (IE7 and FireFox, see
> pic_IE7 and pic_FF)
>
> 2 - If I change http://127.0.0.1:55398/viewer/run?... to
> http://127.0.0.1:55398/viewer/preview?... label jump to left :(
>
> Kirill
>
> "qwang" <qwang@actuate.com> wrote in message
> news:f6smat$pka$1@build.eclipse.org...
>> Kirill A. Balod wrote:
>>> I just have updated Eclipse and BIRT from the update site.
>>> A preview image, rptdesign and eclipse configuration log are attached.
>>>
>>>
>>> "Jason Weathersby" <jasonweathersby@alltel.net> wrote in message
>>> news:f6llej$9ks$1@build.eclipse.org...
>>>> Kirill,
>>>>
>>>> Can you post this report. I just tried this in the 2.2 release and did
>>>> not see the issue you are having.
>>>>
>>>> Jason
>>>>
>>>> Kirill A. Balod wrote:
>>>>> Hello,
>>>>> I have found differences in HTML and PDF output results.
>>>>> For example I have created new report and put into a Grid(1,1). Into
>>>>> the
>>>>> grid I put Table(1,1,none) and into a header cell of the table I put
>>>>> Label
>>>>> and entered some text ("My Lable" for example). For the header row I
>>>>> set
>>>>> black border. (see im1)
>>>>>
>>>>> When I switched into preview I found the label text in center of
>>>>> report
>>>>> and
>>>>> with bold attribute (and probably another size). There is not any
>>>>> border
>>>>> at
>>>>> all. (see im2)
>>>>> In PDF output it looks ok. (see im2)
>>>>>
>>>>> Could somebody help me?
>>>>>
>>>>> Best
>>>>> Kirill.
>>>>>
>>>>>
>>>>>
>>>
>>>
>> I read the attached design and looks you didn't set the board in the
>> file.
>> Attached the file which I set the top/bottom border of the cell. It
>> works fine.
>>
>> Thanks
>> Qiangsheng
>>
>
>
> ------------------------------------------------------------ --------------------
>
>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!-- Written by Eclipse BIRT 2.0 -->
>> <report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.7"
>> id="1">
>> <property name="createdBy">Eclipse BIRT Designer Version
>> 2.2.0.v20070620 Build <2.2.0.v20070625-0630></property>
>> <property name="units">in</property>
>> <property name="comments">Copyright (c) 2007 <<Your Company Name
>> here>></property>
>> <html-property name="description">Creates a blank report with no
>> predefined content.</html-property>
>> <text-property name="displayName">Blank Report</text-property>
>> <property name="iconFile">/templates/blank_report.gif</property>
>> <styles>
>> <style name="crosstab" id="4">
>> <property name="borderBottomColor">#CCCCCC</property>
>> <property name="borderBottomStyle">solid</property>
>> <property name="borderBottomWidth">1pt</property>
>> <property name="borderLeftColor">#CCCCCC</property>
>> <property name="borderLeftStyle">solid</property>
>> <property name="borderLeftWidth">1pt</property>
>> <property name="borderRightColor">#CCCCCC</property>
>> <property name="borderRightStyle">solid</property>
>> <property name="borderRightWidth">1pt</property>
>> <property name="borderTopColor">#CCCCCC</property>
>> <property name="borderTopStyle">solid</property>
>> <property name="borderTopWidth">1pt</property>
>> </style>
>> <style name="crosstab-cell" id="5">
>> <property name="borderBottomColor">#CCCCCC</property>
>> <property name="borderBottomStyle">solid</property>
>> <property name="borderBottomWidth">1pt</property>
>> <property name="borderLeftColor">#CCCCCC</property>
>> <property name="borderLeftStyle">solid</property>
>> <property name="borderLeftWidth">1pt</property>
>> <property name="borderRightColor">#CCCCCC</property>
>> <property name="borderRightStyle">solid</property>
>> <property name="borderRightWidth">1pt</property>
>> <property name="borderTopColor">#CCCCCC</property>
>> <property name="borderTopStyle">solid</property>
>> <property name="borderTopWidth">1pt</property>
>> </style>
>> </styles>
>> <page-setup>
>> <simple-master-page name="Simple MasterPage" id="2">
>> <page-footer>
>> <text id="3">
>> <property name="contentType">html</property>
>> <text-property name="content"><![CDATA[<value-of>new
>> Date()</value-of>]]></text-property>
>> </text>
>> </page-footer>
>> </simple-master-page>
>> </page-setup>
>> <body>
>> <grid id="6">
>> <property name="width">100%</property>
>> <column id="7"/>
>> <row id="8">
>> <cell id="9">
>> <table id="10">
>> <property name="width">100%</property>
>> <column id="17"/>
>> <header>
>> <row id="11">
>> <cell id="12">
>> <property
>> name="borderBottomColor">#000000</property>
>> <property
>> name="borderBottomStyle">solid</property>
>> <property
>> name="borderBottomWidth">medium</property>
>> <property
>> name="borderTopColor">#000000</property>
>> <property
>> name="borderTopStyle">solid</property>
>> <property
>> name="borderTopWidth">medium</property>
>> <label id="18">
>> <text-property name="text">My
>> label</text-property>
>> </label>
>> </cell>
>> </row>
>> </header>
>> <detail>
>> <row id="13">
>> <cell id="14"/>
>> </row>
>> </detail>
>> <footer>
>> <row id="15">
>> <cell id="16"/>
>> </row>
>> </footer>
>> </table>
>> </cell>
>> </row>
>> </grid>
>> </body>
>> </report>
>>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04614 seconds