<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JavaChen on JavaBirt</title>
	<atom:link href="http://www.javachen.com/tag/birt/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.javachen.com</link>
	<description>Just some sharing about Java open source and life</description>
	<lastBuildDate>Fri, 03 Feb 2012 03:33:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>begin to create birt</title>
		<link>http://www.javachen.com/2009/12/begin-to-create-birt/</link>
		<comments>http://www.javachen.com/2009/12/begin-to-create-birt/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 02:24:39 +0000</pubDate>
		<dc:creator>JavaChen</dc:creator>
				<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Birt]]></category>
		<category><![CDATA[MyEclipse]]></category>
		<category><![CDATA[Open Sources]]></category>

		<guid isPermaLink="false">http://www.javachen.com/?p=701</guid>
		<description><![CDATA[现在开始学习如何用myeclipse创建birt报表，记录如何创建报表的过程，虽然没有图片，但是整个步骤还是非常清晰的。 一、 新建一个报表项目Report Web Project l  创建一个报表Report，选定所在的项目，填写报表名称，选中一个模版 二、 设置报表的属性。 1.设置数据源信息 l  创建一个数据源Data Sources，设置一个jdbc连接，当然也可以设置其他数据源 - In the Data Explorer view, right-click Data Sets and choose New Data Set. - On New Data Set, Choose Next. - On Query, in Available Items, expand one or more tables in the ClassicModels database. - To create a SQL query, [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Unobtrusive Javascript" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.javachen.com%2F2010%2F01%2Funobtrusive-javascript%2F&from=http%3A%2F%2Fwww.javachen.com%2F2009%2F12%2Fbegin-to-create-birt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/05/31/10383161.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Unobtrusive Javascript</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Mondrian and OLAP" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.javachen.com%2F2011%2F12%2Fmondrian-and-olap%2F&from=http%3A%2F%2Fwww.javachen.com%2F2009%2F12%2Fbegin-to-create-birt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/12/07/12038557.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Mondrian and OLAP</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Drag a item to dhtmlxGrid and add a column" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.javachen.com%2F2011%2F07%2Fdrag-a-item-to-dhtmlxgrid-and-add-a-column%2F&from=http%3A%2F%2Fwww.javachen.com%2F2009%2F12%2Fbegin-to-create-birt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/07/25/18833249.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Drag a item to dhtmlxGrid and add a column</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="DhtmlxGrid Quick Start Guide" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.javachen.com%2F2011%2F07%2Fdhtmlxgrid-quick-start-guide%2F&from=http%3A%2F%2Fwww.javachen.com%2F2009%2F12%2Fbegin-to-create-birt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/07/19/18117829.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">DhtmlxGrid Quick Start Guide</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="渐行渐远" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.javachen.com%2F2010%2F07%2Ffurther-and-further%2F&from=http%3A%2F%2Fwww.javachen.com%2F2009%2F12%2Fbegin-to-create-birt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://www.javachen.com/wp-content/uploads/2010/07/2010worldc-300x197.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">渐行渐远</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>现在开始学习如何用myeclipse创建birt报表，记录如何创建报表的过程，虽然没有图片，但是整个步骤还是非常清晰的。</p>
<p><strong>一、 </strong><strong>新建一个报表项目</strong><strong>Report Web Project</strong></p>
<p>l  创建一个报表Report，选定所在的项目，填写报表名称，选中一个模版</p>
<p><strong> </strong></p>
<p><strong>二、 </strong><strong>设置报表的属性。</strong><strong> </strong></p>
<p><strong>1.</strong><strong>设置数据源信息</strong><strong> </strong></p>
<p>l  创建一个数据源Data Sources，设置一个jdbc连接，当然也可以设置其他数据源</p>
<p>- In the Data Explorer view, right-click Data Sets and choose New Data Set.</p>
<p>- On New Data Set, Choose Next.</p>
<p>- On Query, in Available Items, expand one or more tables in the ClassicModels database.</p>
<p>- To create a SQL query, drag column names from Available Items to the right pane to write the SELECT and FROM clauses, then choose Finish.</p>
<p><span id="more-701"></span></p>
<p>l  设置数据集</p>
<p>在数据源(data Source)一栏中选择你的数据源</p>
<p>Query 一栏中输入你的查询sql语句.在这里可以（一个以上的）带参数。</p>
<p>l  设置输出列表</p>
<p>点击 output columns 进入下图界面 在display name栏中输入你要在数据表栏中显示的名字。</p>
<p>l  设置计算列</p>
<p>在一些报表中可能要对一些列进行计算生成新的列。点击computer column在column name 一栏中输入你的列名， data type中输入数据类型。</p>
<p>在Expression 中点击按钮进入表达式生成界面，这里提供了data sets(数据集)，javaScript ,birt , operators(运算)4种类型计算新列的方法。</p>
<p>l  设置数据集参数</p>
<ol>
<li>注意：1它和报表的参数不一样。</li>
<li>2在数据集查询中使用了”?”参数必须进行参数的设定。</li>
<li>2者之间需要邦定见下面的描述。</li>
</ol>
<p>点击paraments 进入如下界面，输入你的参数名字，数据类型，direction中选择input （表示是输入参数，一般都是input）,default value.其中default value.可以是表达式的计算结果。（点击default value的按钮可以进入表达式设计界面）</p>
<p><strong>2.</strong><strong>设置报表的布局</strong></p>
<p>在palette 中有各种控件，将他们拖到空白的报表上(layout)就可以</p>
<p><strong>3.</strong><strong>设置报表的样式</strong></p>
<p>l  倒入样式表单</p>
<p>Birt支持css样式表 你可以预先定义好各种控件的样式，在报表中统一应用 。</p>
<p>在outline 中选择style 点击倒入按钮倒入你预先设计的css样式单</p>
<p>l  设置控件样式</p>
<p>选中你要设置的控件或控件组 在属性页中点击style选择你倒入的样式</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Struts 2.0中的Action" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.javachen.com%2F2009%2F11%2Fstruts-2-0-action%2F&from=http%3A%2F%2Fwww.javachen.com%2F2009%2F12%2Fbegin-to-create-birt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/05/31/10383497.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Struts 2.0中的Action</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="js在线压缩" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.javachen.com%2F2010%2F06%2Fjavascript-min-tools%2F&from=http%3A%2F%2Fwww.javachen.com%2F2009%2F12%2Fbegin-to-create-birt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/05/31/10380389.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">js在线压缩</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="模仿QQ空间的警告提示栏" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.javachen.com%2F2010%2F03%2Fie-warn-like-qq-zone%2F&from=http%3A%2F%2Fwww.javachen.com%2F2009%2F12%2Fbegin-to-create-birt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/05/31/10382516.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">模仿QQ空间的警告提示栏</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="接触云服务环境Eucalyptus" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.javachen.com%2F2011%2F06%2Ftouch-cloud-environmenteucalyptus%2F&from=http%3A%2F%2Fwww.javachen.com%2F2009%2F12%2Fbegin-to-create-birt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/08/19/12682139.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">接触云服务环境Eucalyptus</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="JavaScript模态窗口和非模态窗口" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.javachen.com%2F2011%2F08%2Fjavascript-modelessdialog-and-modaldialog%2F&from=http%3A%2F%2Fwww.javachen.com%2F2009%2F12%2Fbegin-to-create-birt%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/08/07/21460805.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">JavaScript模态窗口和非模态窗口</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>By the time  your rss reader get this post here is <strong> 1 </strong>comments ,Welcome you come to leave your opinion !]]></content:encoded>
			<wfw:commentRss>http://www.javachen.com/2009/12/begin-to-create-birt/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  www.javachen.com/tag/birt/feed/ ) in 7.54595 seconds, on Feb 6th, 2012 at 2:29 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 6th, 2012 at 3:29 am UTC -->
