﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>语源科技BlogJava-&lt;h1&gt;efa's blog&lt;/h1&gt;</title><link>http://www.blogjava.net/davidxu/</link><description>以用户角度出发,你就已经成功一半了.</description><language>zh-cn</language><lastBuildDate>Wed, 29 Apr 2026 16:50:38 GMT</lastBuildDate><pubDate>Wed, 29 Apr 2026 16:50:38 GMT</pubDate><ttl>60</ttl><item><title>放个音乐盒</title><link>http://www.blogjava.net/davidxu/archive/2006/03/03/33338.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Thu, 02 Mar 2006 17:07:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/archive/2006/03/03/33338.html</guid><description><![CDATA[<script type='text/javascript' language='JavaScript' src='http://www.diymusic.com/embed.js'></script>
<script type='text/javascript' language='JavaScript'>
var base_xml = UrlEncode('http://www.diymusic.com/blog/soundbox_post_xml.php?post_id=126&user_id=36');
var u_str = 'http://www.soundon.com:8080/lps/mp3/soundblox.lzx?lzt=swf&data_url='+base_xml;
var objectParams = {
url: u_str,bgcolor: '#ffffff', width: '180',height: '420'
}
lzEmbed(objectParams);
</script><img src ="http://www.blogjava.net/davidxu/aggbug/33338.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2006-03-03 01:07 <a href="http://www.blogjava.net/davidxu/archive/2006/03/03/33338.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>年尾,年初好多事干呀</title><link>http://www.blogjava.net/davidxu/archive/2006/01/27/29310.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Fri, 27 Jan 2006 12:00:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/archive/2006/01/27/29310.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/29310.html</wfw:comment><comments>http://www.blogjava.net/davidxu/archive/2006/01/27/29310.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/29310.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/29310.html</trackback:ping><description><![CDATA[<STRONG>1.<A href="http://www.springside.org.cn">springside&nbsp;</A>Promatic Enterprise Application KickStart项目<BR>&nbsp;&nbsp; </STRONG>说实在,由于这段时间比较忙,还没放多少时间上去,真难为<A href="/calvin">白衣</A>老大以及几位team Worker了:)<BR>&nbsp; <A href="/calvin/archive/2006/01/02/26347.html">http://www.blogjava.net/calvin/archive/2006/01/02/26347.html</A><BR><BR><STRONG>2.各个开源的新版本还没有时间研究</STRONG><BR>&nbsp;&nbsp;&nbsp;<A href="http://www.springframework.org/"> spring 2.0</A> <BR>&nbsp;&nbsp;&nbsp; <A href="http://www.hibernate.org/">hibernate3.1<BR></A><BR><STRONG>3.说要加强的东西还没安排</STRONG><BR>&nbsp;&nbsp; oracle<BR><BR><STRONG>4.新一年的开源工具好象可以用上场了</STRONG><BR>&nbsp;&nbsp; <STRONG>bi tools</STRONG><BR>&nbsp;&nbsp;&nbsp;<A href="http://www.openi.org/">openi </A>(<A href="http://wiki.openi.org/index.php/Releases">Roadmap</A> 刚修改了,估计1.2版本在2006 1Q release,等了我好久)<BR>&nbsp;&nbsp; <A href="http://www.eclipse.org/birt/">birt</A>&nbsp;(2.0版本简单介绍<A HREF="/davidxu/archive/2006/01/27/29305.html">http://www.blogjava.net/davidxu/archive/2006/01/27/29305.html</A>)&nbsp;<BR>&nbsp;&nbsp; <A href="http://www.pentaho.org/">pentaho</A><BR>&nbsp;<BR>还有好多电子没看呢:) <BR>不管怎样，年还是要过，happy new year!<BR><img src ="http://www.blogjava.net/davidxu/aggbug/29310.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2006-01-27 20:00 <a href="http://www.blogjava.net/davidxu/archive/2006/01/27/29310.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>birt 2.0 is now available....占个头位,宣传一下</title><link>http://www.blogjava.net/davidxu/archive/2006/01/27/29305.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Fri, 27 Jan 2006 08:58:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/archive/2006/01/27/29305.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/29305.html</wfw:comment><comments>http://www.blogjava.net/davidxu/archive/2006/01/27/29305.html#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/29305.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/29305.html</trackback:ping><description><![CDATA[<H1><A name=top></A>what is BIRT</H1>
<P>BIRT is an open source, Eclipse-based reporting system that integrates with your application to produce compelling reports for both web and PDF. </P>
<P>BIRT provides core reporting features such as report layout, data access and scripting. The current released version is 2.0. Please try BIRT and tell us what you think by filling bugs reports &amp; enhancement requests through Bugzilla as explained on the <A href="http://www.eclipse.org/birt/phoenix/community.php">community</A> page. </P><FONT size=4>
<H1></FONT>New and Notable Features within BIRT 2.0</H1>
<BLOCKQUOTE>
<UL>
<LI>New BIRT Viewer 
<LI>JavaScript/Java Events And Report Debugging 
<LI>Runtime Data Source Property Binding 
<LI>Chart Builder and SVG Output 
<LI>Templates 
<LI>Libraries 
<LI>XML ODA 
<LI>URL Builder 
<LI>Multi-pass Aggregate, Sorting and Filtering 
<LI>Improved Report Performance and PDF Fidelity 
<LI>Dynamic Parameters/Cascading Parameters 
<LI>Expression Builder 
<LI>Importing of Style Sheets 
<LI>Report XML Editor 
<LI>Passing of External Object to Custom Data Sources 
<LI>Stored Procedures 
<LI>CLOB/BLOB Support <BR></LI></UL>
<P>New and Notable Features within BIRT 2.0：<BR><A href="http://www.eclipse.org/birt/phoenix/project/notable2.0.php">http://www.eclipse.org/birt/phoenix/project/notable2.0.php</A><BR><BR>project home:<A href="http://www.eclipse.org/birt/">http://www.eclipse.org/birt/</A><BR><BR><SPAN onclick="img1.style.display=''"><U>new report viewer [截图] </U><SPAN><BR><IMG id=img1 style="DISPLAY: none; WIDTH: 661px; HEIGHT: 481px" height=539 alt="" hspace=0 src="http://www.eclipse.org/birt/phoenix/project/images/toc.jpg" width=721 align=baseline border=0> <BR><SPAN onclick="img2.style.display=''"><U>The Viewer also supports data extraction to CSV format [截图]</U></SPAN> <BR><IMG id=img2 style="DISPLAY: none; WIDTH: 663px; HEIGHT: 491px" height=486 alt="" hspace=0 src="http://www.eclipse.org/birt/phoenix/project/images/export1.jpg" width=644 align=baseline border=0><BR><SPAN onclick="img3.style.display=''"><U>export to CSV [截图]</U></SPAN><BR><IMG id=img3 style="DISPLAY: none" hspace=0 src="http://www.eclipse.org/birt/phoenix/project/images/export3a.png" align=baseline border=0><BR><BR></P>
<P>它的report designer 还独立出来（不用依赖eclipse）直接打开　BIRT.exe　就ＯＫ．</P></BLOCKQUOTE><BR>个人感觉进步了不少，但负责地说一句，应用到实际项目中我猜想还会有不少的问题，还请大家抱学习的态度。<BR><BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">马上小试了一下，发现之前好几点疑问都可以不用担心了，基本解决掉了:<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">．AJAX的分页<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>　　只要自定义好报表</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">grid的宽以及高，实现css分页，初步感觉效果还不错（有待实际应用）<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">2</SPAN><SPAN style="COLOR: #000000">．导出excel<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;支持export&nbsp;to&nbsp;csv（虽然有中文乱码问题），另外当报表没有dataset(静态报表)时好象导不出．<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">3</SPAN><SPAN style="COLOR: #000000">．BIRT&nbsp;and&nbsp;POJOs&nbsp;as&nbsp;datasources&nbsp;example<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;http:</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">tools.osmosis.gr/blog/archives/2005/06/birt_and_object.html</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">4</SPAN><SPAN style="COLOR: #000000">．更人性化，提供四个servlet<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>　a.&nbsp;</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">frameset</SPAN><SPAN style="COLOR: #000000">?</SPAN><SPAN style="COLOR: #000000">__report</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">test.rptdesign&nbsp;&nbsp; (工具条,目录导航,分页操作)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;b.</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">preview</SPAN><SPAN style="COLOR: #000000">?</SPAN><SPAN style="COLOR: #000000">__report</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">test.rptdesign (工具条,目录导航,分页操作)<BR><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;c.</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">run</SPAN><SPAN style="COLOR: #000000">?</SPAN><SPAN style="COLOR: #000000">__report</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">test.rptdesign<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;d.</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">download</SPAN><SPAN style="COLOR: #000000">?</SPAN><SPAN style="COLOR: #000000">__report</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">test.rptdesign</SPAN></DIV><BR></SPAN></SPAN><img src ="http://www.blogjava.net/davidxu/aggbug/29305.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2006-01-27 16:58 <a href="http://www.blogjava.net/davidxu/archive/2006/01/27/29305.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>了解jasperreport ,让web报表跑得更好</title><link>http://www.blogjava.net/davidxu/archive/2005/11/28/jasperreportskills.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Mon, 28 Nov 2005 12:35:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/archive/2005/11/28/jasperreportskills.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/20946.html</wfw:comment><comments>http://www.blogjava.net/davidxu/archive/2005/11/28/jasperreportskills.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/20946.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/20946.html</trackback:ping><description><![CDATA[<P><FONT size=5><STRONG>一、为什么是jasperreport<BR></STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT size=3>很简单两点：<BR>　　　　１　免费<BR>　　　　２　在大多数开源产品中最能满足本人/公司的需求．<BR>　　&nbsp;&nbsp;&nbsp;&nbsp; 如果要一句话总结那么就是 "适合就好!"&nbsp;，其次再想插一句"其实jasperreport可以做得更好，只是缺少大家去发现。"&nbsp;</FONT><BR><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在erp软件开发中一套强大易用的报表工具还是相当重要的地位，在这里我只针对一些日常业务报表．</FONT><BR><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; jasperreport + ireport 报表套装在普通的报表中已做得很不错：流水账式的，分组报表都可以轻松实现.在这里提出的是一些相对特别以及少用到的报表设计问题．<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 当前版本 : <A href="http://jasperreports.sourceforge.net/">jasperreport&nbsp; </A>1.1.0 <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A href="http://ireport.sourceforge.net/">ireport&nbsp; </A>: 0.5.2<BR></FONT><BR></FONT><FONT size=5><STRONG>二、问题与解决<BR></STRONG><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR></FONT><STRONG>1.操作<BR></STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 初用ireport 设计报表（特别是早期的版本）感觉还是比较原始，相对于<A href="http://www.eclipse.org/birt/">birt</A>&nbsp;类似于在 <FONT face=宋体>Dreamweaver中画</FONT>table 式的设计还是有点差距．但新版本(0.5.2)中也有不小的改善，增加了很多快速对齐，格式化的工具栏以及快捷操作方式．通过结合这些操作还算是方便了不少．<BR><BR><STRONG>2.分页<BR></STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 刚接触jasper report ，无论是看其官方的example还是自己动手设计报表,&nbsp; html view 总给人很深的印象："怎么字体那么小，而且实际打印一下，分页功能并没真正实现"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 经过客户一轮的抗义，最终还是下定决心去修补一下，<BR>　　其实jasper report 原理还是挺简单：<BR>　&nbsp;&nbsp; 它默认的分页方式是能过一轮的高度计算，再用两个&lt;br&gt;就以为了事了．</P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">table</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">tr</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">td</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">table</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">table</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">br</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;!--</SPAN><SPAN style="COLOR: #000000">两个br分行标记</SPAN><SPAN style="COLOR: #000000">--&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">br</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">table</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">table</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">td</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">tr</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&lt;/</SPAN><SPAN style="COLOR: #000000">table</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN></DIV>
<P><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;解决方案：<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 好在jasperreport还提供了很好的扩展方案.它允许我们自定义分页方式（就是说在两页/table之间能让我们放自己的代码），自己定义betweenPagesHtml 就ＯＫ了，可以能过ＣＳＳ定义分页．在这里，我就直接改它代码算了．大家可以自己选择.<BR>&nbsp;&nbsp;&nbsp;&nbsp; <BR>net.sf.jasperreports.engine.export.JRHtmlExporter <BR></P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&lt;!--</SPAN><SPAN style="COLOR: #000000">CSS代码</SPAN><SPAN style="COLOR: #000000">--&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG id=Codehighlighter1_21_45_Open_Image onclick="this.style.display='none'; Codehighlighter1_21_45_Open_Text.style.display='none'; Codehighlighter1_21_45_Closed_Image.style.display='inline'; Codehighlighter1_21_45_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_21_45_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_21_45_Closed_Text.style.display='none'; Codehighlighter1_21_45_Open_Image.style.display='inline'; Codehighlighter1_21_45_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align=top>pageEnd&nbsp;</SPAN><SPAN id=Codehighlighter1_21_45_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.blogjava.net/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_21_45_Open_Text><SPAN style="COLOR: #000000">{page</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #0000ff">break</SPAN><SPAN style="COLOR: #000000">-</SPAN><SPAN style="COLOR: #000000">after:always}</SPAN></SPAN></DIV>
<P>&nbsp;</P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">&nbsp;(betweenPagesHtml&nbsp;</SPAN><SPAN style="COLOR: #000000">==</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">null</SPAN><SPAN style="COLOR: #000000">)<BR><IMG id=Codehighlighter1_54_150_Open_Image onclick="this.style.display='none'; Codehighlighter1_54_150_Open_Text.style.display='none'; Codehighlighter1_54_150_Closed_Image.style.display='inline'; Codehighlighter1_54_150_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_54_150_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_54_150_Closed_Text.style.display='none'; Codehighlighter1_54_150_Open_Image.style.display='inline'; Codehighlighter1_54_150_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_54_150_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.blogjava.net/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_54_150_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;writer.write(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&lt;br&nbsp;class=\</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">pageEnd\</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);&nbsp;&nbsp; // 原来是两个 &lt;br/&gt;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">else</SPAN><SPAN style="COLOR: #000000"><BR><IMG id=Codehighlighter1_181_267_Open_Image onclick="this.style.display='none'; Codehighlighter1_181_267_Open_Text.style.display='none'; Codehighlighter1_181_267_Closed_Image.style.display='inline'; Codehighlighter1_181_267_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_181_267_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_181_267_Closed_Text.style.display='none'; Codehighlighter1_181_267_Open_Image.style.display='inline'; Codehighlighter1_181_267_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN id=Codehighlighter1_181_267_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.blogjava.net/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_181_267_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;writer.write(betweenPagesHtml);<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</SPAN></SPAN></DIV><BR><STRONG>3. 打印<BR></STRONG>&nbsp;&nbsp;&nbsp; 　　分页解决后可以发现当报表预览时真的能一页一页分得很好．却又发现了一个问题．报表明显不能满一张Ａ４张大小(ireport 设计选择的是Ａ４纸张),疑惑了一际子，其实不能算是BUG．<BR>　　　ireport&nbsp;报表属性中明显(21 * 29.7 CM)&nbsp;一张Ａ４纸的大小，为什么ＨＴＭＬ出来的效果却明显小的那么多了．其实这与计算机的分辨率有关<BR>　　　计算机中的分辨率，普遍是72 象素/英寸，而打印机普通是300象素/英寸．<BR>　　　jasperreport 与ireport 默认单位是px，我猜想如果用CM做单位的话可以解决这个问题．但在这里我们的做法是尽量加大报表设计时的宽度与高度．另一个要注意的是记得将所有页边距设为0,因为这些设置在打印的时候已在ＩＥ／浏览器中设定了，不用重复．<BR>&nbsp;&nbsp;&nbsp; <BR><STRONG>4.分栏<BR></STRONG>&nbsp;&nbsp;&nbsp;&nbsp;　　以前没多注意,但刚用ireport新版本时可以发现在报表属性设计的时候可以设置栏．这下子如果当报表主体部分列数不多时实现分栏显示，以节省纸张．<BR><BR><STRONG>5.斑马线式显示报表主体<BR>　　　</STRONG>有时我们想让报表更美化，让用户更方便地观看数据，可以设置两种色相隔．这种效果在jasperreport 中的example中有demo一下，大家如果想学习可以下载看看．<BR><BR><STRONG>6.交叉报表<BR></STRONG><BR>　　　关于jasperreport的交叉报表设计网上还是有不小的讨论，而真正实现的不多．我观察过大多用jasperreport实现都是伪交叉报表．并不是真正实现真正的动态行与列．<BR>　　　其实在jaspert report下载包中还是有个交叉报表的实现example(crosstabs)，只不过据我了解，现在ireport还不能实现设计．只能通过手工写jrxml文件实现．本人小试一下，还是挺不错的．<BR>&nbsp; <BR><BR><FONT size=4><FONT size=5><STRONG>三、待研究<BR></STRONG></FONT><FONT size=3>　通过继承net.sf.jasperreports.engine.export.JRHtmlExporter&nbsp;,还是能扩展不小的功能．例如用ＣＳＳ格式化，可以大大减小代码量，动态列／可设列宽度大大增强我们的报表功能．<BR>　现本人初部实现100％宽度，不再用jasperreport中hardcode列度等等,以下三点还有待时间去跟进:)<BR></FONT><BR><FONT size=1></FONT></FONT>1.动态列<BR>　<BR>2.可设列宽度<BR><BR>3.CSS设计<BR>　　<BR><BR><BR>&nbsp;<img src ="http://www.blogjava.net/davidxu/aggbug/20946.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2005-11-28 20:35 <a href="http://www.blogjava.net/davidxu/archive/2005/11/28/jasperreportskills.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[ec] extreme Table 版本跟进发布区</title><link>http://www.blogjava.net/davidxu/archive/2005/08/27/11316.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Sat, 27 Aug 2005 07:09:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/archive/2005/08/27/11316.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/11316.html</wfw:comment><comments>http://www.blogjava.net/davidxu/archive/2005/08/27/11316.html#Feedback</comments><slash:comments>20</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/11316.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/11316.html</trackback:ping><description><![CDATA[<STRONG><FONT size=5>说明</FONT></STRONG><BR><STRONG><FONT size=5><A href="http://extremecomponents.org/">extreme Table </A></FONT></STRONG>是个很不错的table tag,打算记录底它的版本发布 change Log :)<BR><BR><BR>它的RoadMap : <BR><A href="http://extremecomponents.org/extremesite/public/roadMap.jsp">http://extremecomponents.org/extremesite/public/roadMap.jsp</A><BR>以往本BLOG介绍: <A href="/davidxu/archive/2005/08/09/9683.aspx">http://www.blogjava.net/davidxu/archive/2005/08/09/9683.aspx</A><BR><BR><BR><BR>我们从这里开始:<BR><STRONG><BR><FONT size=5>[</FONT><A style="COLOR: black" href="http://extremecomponents.org/extremesite/public/download/extremecomponents-1.0.0-M2-A2.jar"><STRONG><FONT size=5>1.0.0-M2-A2</FONT></STRONG></A><FONT size=5>]</FONT><BR></STRONG><A style="COLOR: black" href="http://extremecomponents.org/extremesite/public/download/extremecomponents-1.0.0-M2-A2.jar"><STRONG>1.0.0-M2-A2</STRONG></A> - by 官方 
<UL>
<LI>Able to mix the ColumnTag and the ColumnsTag. Will need to use the method <BR>model.getColumnHandler().<B>addAutoGenerateColumn</B>(column); 
<LI>Every attribute of every tag will accept an EL Expression 
<LI>Will accept a Set for the collection now </LI></UL>
<P><BR><STRONG>部分使用说明 --by david xu</STRONG></P>
<P><STRONG></STRONG>1&nbsp; table 新增加var属性,支持定义bean name (可选择),可以不用${collectionName.memberName}这样难以理解的语法.<BR>&nbsp;&nbsp;&nbsp; 用官方的话就是<BR>&nbsp;&nbsp;&nbsp; "Added TableTag var attribute. Used (optionally) as the name of the variable to hold the current bean. "<BR>&nbsp;&nbsp; <BR></P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">ec:table<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;collection</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">humanList</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;action</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">${pageContext.request.contextPath}/index.jsp</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;imagePath</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">${pageContext.request.contextPath}/images/table/*.gif</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;cellpadding</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">1</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;saveFilterSort</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">true</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=#ff0000>var</FONT></SPAN><FONT color=#ff0000><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">human</SPAN><SPAN style="COLOR: #000000">"</SPAN></FONT><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;title</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">我的第一个tag&nbsp;table</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000"></< SPAN><SPAN style="COLOR: #000000">ec:table</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG id=Codehighlighter1_268_279_Open_Image onclick="this.style.display='none'; Codehighlighter1_268_279_Open_Text.style.display='none'; Codehighlighter1_268_279_Closed_Image.style.display='inline'; Codehighlighter1_268_279_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_268_279_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_268_279_Closed_Text.style.display='none'; Codehighlighter1_268_279_Open_Image.style.display='inline'; Codehighlighter1_268_279_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align=top>$</SPAN><SPAN id=Codehighlighter1_268_279_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.blogjava.net/images/dot.gif"></SPAN><SPAN id=Codehighlighter1_268_279_Open_Text><SPAN style="COLOR: #000000">{human.name}</SPAN></SPAN><SPAN style="COLOR: #000000">&nbsp;取得</SPAN></DIV>
<P><BR><FONT size=4><STRONG><BR><FONT size=5>[1.0.1-M2]<BR></FONT></STRONG><STRONG><FONT size=3>1.0.1-M2 release</FONT></STRONG><FONT size=3><STRONG>&nbsp; by 官方<BR><BR></STRONG></FONT></P>
<DIV style="BORDER-RIGHT: #999 1px solid; BORDER-TOP: #999 1px solid; OVERFLOW: auto; BORDER-LEFT: #999 1px solid; WIDTH: 735px; BORDER-BOTTOM: #999 1px solid; HEIGHT: 211px">
<DIV>
<H4>1. Things that changed and need to be aware of:</H4><SPAN>
<UL>
<LI><B>The ColumnTag exportable attribute has been removed</B> 
<UL>
<LI>Replaced with the viewsAllowed and the viewsDenied attributes (see items 3 and 4) </LI></UL>
<LI><B>Changed Cell interface</B> 
<UL>
<LI><I>new interface -&gt;</I>public void init(BaseModel model, Column column); 
<LI>Matches the View interface for consistency 
<LI>The rowcount is part of the new Row bean. Can retrieve the rowcount by doing a model.getRowHandler().getRow().getRowCount() </LI></UL>
<LI><B>Changed View interface</B> 
<UL>
<LI><I>new interface -&gt;</I> public void body(BaseModel model, Column column); 
<LI>Matches the Cell interface for consistency 
<LI>Can get the column position by doing column.isFirstColumn() and column.isLastColumn() </LI></UL>
<LI><B>New TableTag attributes to replace the deprecated collection attribute</B> 
<UL>
<LI>The collection attribute has been deprecated in favor of three new attributes. The attributes are call tableId, items, and var 
<LI>Read the <A href="http://extremecomponents.org/extremesite/public/download/tabletagAttributeChanges.jsp">full discussion</A> for more information </LI></UL>
<LI><B>Moved the <TD>element back on the Cell for the FilterCell.</B> 
<UL>
<LI>If you modified the HtmlView, and specifically the filter row, then remove the <TD>element in the View. </LI></UL></LI></UL></SPAN></DIV>
<DIV>
<H4>2. New RowTag with cooresponding Row Bean</H4><SPAN>
<UL>
<LI>Able to do row level javascript onmouseover, onmouseout, and onclick 
<LI>Ability to do row level highlighting. See stylesheet change (below) for proper formating. 
<LI>Moved the stylesheet class attribute from the column (<TD>) to the row (<TR>) </LI></UL></SPAN></DIV>
<DIV>
<H4>3. New ColumnTag attribute viewsAllowed</H4><SPAN>
<UL>
<LI>Can specify whether the column should be used for the current view. The views include html, pdf, xls, csv, plus any custom views. 
<LI>If you specify a given view (or views), then only that view (or views) will use the column 
<LI>For example you can specify viewsAllowed="pdf" which will use the column for the PDF export, but not any other export or default html View 
<LI>Replaces the ColumnTag exportable attribute </LI></UL></SPAN></DIV>
<DIV>
<H4>4. New ColumnTag attribute viewsDenied</H4><SPAN>
<UL>
<LI>Can specify whether the column should <B>not</B> be used for the current view. The views include html, pdf, xls, csv, plus any custom views 
<LI>If you specify a given view (or views), then only that view (or views) will <B>not</B> use the column 
<LI>For example you can specify viewsDenied="html" which will <B>not</B> use the column for the html View, but will for all the exports 
<LI>Replaces the ColumnTag exportable attribute </LI></UL></SPAN></DIV>
<DIV>
<H4>5. Enhancements</H4><SPAN>
<UL>
<LI>Every attribute of every tag will accept an EL Expression 
<LI>Will accept a Set for the collection now 
<LI>Confirmed to work with a RowSetDynaClass (if send as List) 
<LI>Able to mix the ColumnTag and the ColumnsTag. Will need to use the method model.getColumnHandler().addAutoGenerateColumn(column); 
<LI>Improved the default stylesheet 
<UL>
<LI>My initial intentions were to just change the stylesheet to work with the row highlighting, but I ended up tweaking it enough that now it just works better. For instance if you have some filters turned off then it seamlessly flows with the statusbar because it no longer uses cellspacing. If you use the new stylesheet be sure to remove the table.cellspacing=2 from your extremecomponents.properties file. </LI></UL></LI></UL></SPAN></DIV>
<DIV>
<H4>6. Bugs Fixed</H4><SPAN>
<UL>
<LI>Fixed Rows Displayed bug 
<UL>
<LI>The Rows Displayed was not working correctly with the Show All under certain conditions 
<LI>Can set the median and max values in the extremecomponents.properties. The default values are table.medianRowsDisplayed=50 and table.maxRowsDisplayed=100, respectively </LI></UL></LI></UL></SPAN></DIV></DIV>
<P><STRONG>部分使用说明 --by david xu<BR>1、TableTag 的改动<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;collection attribute</STRONG> 不再赞成使用,可以使用tableId, items, and var 取而代之<BR></P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">ec:table&nbsp;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;items</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">customerList</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tableId</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">customer</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">customer</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;title</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">customerList</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;…………<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>…………<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000"></< SPAN><SPAN style="COLOR: #000000">ec:table</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN></DIV>
<P><BR><STRONG>2、ColumnTag&nbsp;新属性的用法viewAllowed，viewsDenied<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;支持view包括:</STRONG>html, pdf, xls, csv以及自定的view</P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;viewsAllowed</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">pdf</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">说明：只允许在pdf&nbsp;view&nbsp;中</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;viewsAllowed</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">html,xls</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">也可以用,分隔</SPAN></DIV><BR>3、<STRONG> Cell interface</STRONG> 的改动<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 通过model.getRowHandler().getRow().getRowCount() 返回 rowcount <BR>4、新增RowTag&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp; 
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">ec:row&nbsp;<FONT color=#ff0000>highlightRow</FONT></SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">true</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;<FONT color=#ff0000>onclick</FONT></SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">alert('david')</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">ec:column</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">ec:column</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">ec:column</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;…………<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000"></< SPAN><SPAN style="COLOR: #000000">ec:row</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN></DIV></SPAN></FONT><BR><FONT size=4>5、set ,RowSetDynaClass 的支持</FONT><FONT size=4><BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000"><%</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>    List customerList </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> ArrayList();<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>    LazyDynaBean temp </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> LazyDynaBean();<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>    temp.set(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">code</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">, </SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">001</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>    temp.set(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">name</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">, </SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">david xu</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>    customerList.add(temp);<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>    request.setAttribute(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">customerList</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">, customerList); <BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">%><BR></SPAN><SPAN style="COLOR: #000000"><?xml:namespace prefix = ec /><ec:table><BR>&nbsp;&nbsp;&nbsp;…………<BR>&nbsp; …………<BR></ec:table><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN></DIV></FONT><BR><FONT size=4>6、Totalling Columns</FONT> <BR>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">ec:table<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;totalTitle</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">合计</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">&gt;</SPAN><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">ec:column&nbsp;property</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">salary</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;showTotal</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">true</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000"></< SPAN><SPAN style="COLOR: #000000">ec:table</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN></DIV><BR><BR><BR>
<H3 style="COLOR: #e75a08">New and Noteworthy 1.0.1-M3</H3>
<P><SPAN>This build represents a massive refacoring of the handler code and includes a new limit package. I believe the state of the code is the best it has ever been and in general has really gone to a new level. This was initially sparked by a refactoring of the Pagination (now Limit) and Rows Displayed features but then trickled down into the handler code and also resulted in a new Limit and LimitFactory. </SPAN></P>
<P><SPAN>Be sure to give yourself time to move to this release as you will need to fix your custom cells and views. I had to move some classes to different packages as things changed internally. The changes will make working with the eXtremeTable much easier and were unavoidable. </SPAN></P>
<DIV>
<H4>1. Things that changed and need to be aware of:</H4><SPAN>
<UL>
<LI>The Show All is no longer an option in the Rows Displayed droplist. It was confusing as the median and max rows would sometimes appear and sometimes go away. It was way to buggy also...you could filter the rows, select show all, and the hit clear. At that point you would display all the rows. 
<LI>The BaseModel moved from the base package to the core package as there is no base package left. 
<LI>The Limit, CollectionOfBeans, CurrentCollectionBean moved to the BaseModel. 
<LI>org.extremecomponents.table.base.ModelUtils --&gt; (moved) org.extremecomponents.table.core.ExportFilterUtils 
<LI>The TableTag attribute rowsDisplayed="0" no longer has any meaning. If you would like to show all the rows then remove the pagination with the TableTag attribute showPagination="false". The reason for the change is because the rows displayed was reworked and the meaning dropped. Also, I could tell from code examples that many people were confused by the attribute and its meaning as both the showPagination="false" and rowsDisplayed="0" were used together. I would prefer one clear way to display all the rows. </LI></UL></SPAN></DIV>
<DIV>
<H4>2. Limit and LimitFactory</H4><SPAN>
<P>Basically you just build a Limit object and it self populates with everything that you need to figure out the sorting, filtering, rowStart, rowEnd, page, currentRows and totalRows. You used to have to deal with Strings and Maps versus now you work with simple intuitive objects and ints. I also use the Limit object internally with a different factory. </P>
<P>This is all you have to do: </P><PRE> Limit limit = LimitFactory.createInstanceOfLimit(request, tableId);
 LimitFactory.setLimitFilterAndSortAttr(limit);

 //once you know the total rows
 LimitFactory.setLimitPageAndRowAttr(limit, DEFAULT_ROWS_DISPLAYED, totalRows);</PRE>
<P>The example demonstrates how to work in a Controller (Spring) or Action (Struts). </P>
<P>Then in your JSP set the callbacks to point to the LimitCallback. </P><PRE>&lt;ec:table 
      retrieveRowsCallback="org.extremecomponents.table.callback.LimitCallback"
      filterRowsCallback="org.extremecomponents.table.callback.LimitCallback"
      sortRowsCallback="org.extremecomponents.table.callback.LimitCallback"
      ...
  &gt;</PRE></SPAN></DIV>
<DIV>
<H4>3. Enhancements</H4><SPAN>
<UL>
<LI>If you hard coded in any of the filter parameters then be sure to look at the TableContants class to see how they changed. The URL is more of a code than something you can read now. </LI></UL></SPAN></DIV>
<DIV>
<H4>4. Bugs Fixed</H4><SPAN>
<UL>
<LI>Fixed the FOP errors messages associated with the PDF Export View. 
<LI>If the filter is invoked with no filter criteria the table no longer tries to match empty results. The effect before was the table would show no results, and now just remains the same. 
<LI>Removed org.extremecomponents.table.tag.TableTagExtraInfo </LI></UL></SPAN></DIV></SPAN></SPAN></SPAN><img src ="http://www.blogjava.net/davidxu/aggbug/11316.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2005-08-27 15:09 <a href="http://www.blogjava.net/davidxu/archive/2005/08/27/11316.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Excel 简明操作 </title><link>http://www.blogjava.net/davidxu/archive/2005/08/27/11291.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Sat, 27 Aug 2005 03:30:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/archive/2005/08/27/11291.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/11291.html</wfw:comment><comments>http://www.blogjava.net/davidxu/archive/2005/08/27/11291.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/11291.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/11291.html</trackback:ping><description><![CDATA[<P class=MsoToc1 style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><SPAN class=MsoHyperlink><SPAN style="mso-no-proof: yes"><FONT size=5><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">第一章</SPAN> <SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">总体说明</SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"><SPAN style="mso-tab-count: 1 dotted">... </SPAN></SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen">2</SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"></SPAN></FONT></SPAN></SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; mso-no-proof: yes; mso-bidi-font-size: 12.0pt"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoToc2 style="MARGIN: 0cm 0cm 0pt 21pt; tab-stops: right dotted 414.8pt"><SPAN class=MsoHyperlink><SPAN lang=EN-US style="mso-no-proof: yes"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">前言</SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"><SPAN style="mso-tab-count: 1 dotted">... </SPAN></SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen">2</SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"></SPAN></SPAN></SPAN><SPAN lang=EN-US style="mso-no-proof: yes"><o:p></o:p></SPAN></P>
<P class=MsoToc2 style="MARGIN: 0cm 0cm 0pt 21pt; tab-stops: right dotted 414.8pt"><SPAN class=MsoHyperlink><SPAN lang=EN-US style="mso-no-proof: yes"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">操作界面</SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"><SPAN style="mso-tab-count: 1 dotted">... </SPAN></SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen">2</SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"></SPAN></SPAN></SPAN><SPAN lang=EN-US style="mso-no-proof: yes"><o:p></o:p></SPAN></P>
<P class=MsoToc1 style="MARGIN: 0cm 0cm 0pt"><SPAN class=MsoHyperlink><SPAN lang=EN-US style="mso-no-proof: yes"><FONT size=5><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">第二章</SPAN> <SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">实例操作</SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"><SPAN style="mso-tab-count: 1 dotted">... </SPAN></SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen">2</SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"></SPAN></FONT></SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; mso-no-proof: yes; mso-bidi-font-size: 12.0pt"><o:p></o:p></SPAN></P>
<P class=MsoToc2 style="MARGIN: 0cm 0cm 0pt 21pt; tab-stops: right dotted 414.8pt"><SPAN class=MsoHyperlink><SPAN lang=EN-US style="mso-no-proof: yes"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">成绩单实例</SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"><SPAN style="mso-tab-count: 1 dotted">... </SPAN></SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen">2</SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"></SPAN></SPAN></SPAN><SPAN lang=EN-US style="mso-no-proof: yes"><o:p></o:p></SPAN></P>
<P class=MsoToc1 style="MARGIN: 0cm 0cm 0pt"><SPAN class=MsoHyperlink><SPAN lang=EN-US style="mso-no-proof: yes"><FONT size=5><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">第三章</SPAN> <SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">其它补充</SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"><SPAN style="mso-tab-count: 1 dotted">... </SPAN></SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen">2</SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"></SPAN></FONT></SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; mso-no-proof: yes; mso-bidi-font-size: 12.0pt"><o:p></o:p></SPAN></P>
<P class=MsoToc1 style="MARGIN: 0cm 0cm 0pt"><SPAN class=MsoHyperlink><SPAN lang=EN-US style="mso-no-proof: yes"><FONT size=5><FONT face=宋体>&nbsp;&nbsp;</FONT>&nbsp;<SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"> <FONT size=3>格式化</FONT></SPAN></FONT><FONT size=3><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"><SPAN style="mso-tab-count: 1 dotted">... </SPAN></SPAN><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen">3</SPAN></FONT></SPAN></SPAN></P>
<P class=MsoToc1 style="MARGIN: 0cm 0cm 0pt"><SPAN class=MsoHyperlink><SPAN lang=EN-US style="mso-no-proof: yes"><FONT size=5><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen"><SPAN style="mso-tab-count: 1 dotted"><FONT face=宋体>&nbsp;&nbsp;&nbsp; <FONT size=3>打印</FONT></FONT><FONT size=3>... </FONT></SPAN></SPAN></FONT><FONT size=3><SPAN style="DISPLAY: none; COLOR: windowtext; TEXT-DECORATION: none; text-underline: none; mso-hide: screen">5</SPAN></FONT></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p>&nbsp;</o:p></SPAN></P>
<H1 style="MARGIN: 17pt 0cm 16.5pt; TEXT-INDENT: 0cm"><A name=_Toc112766607><SPAN lang=EN-US style="mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore">第一章</SPAN></SPAN><SPAN lang=EN-US> </SPAN></A><SPAN style="mso-bookmark: _Toc112766607"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">总体说明</SPAN></SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></H1>
<H2 style="MARGIN: 13pt 0cm; TEXT-INDENT: 0cm"><A name=_Toc112766608><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">前言</SPAN></A></H2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 31.5pt; mso-char-indent-count: 3.0"><SPAN lang=EN-US>MS</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">设计的</SPAN><SPAN lang=EN-US>office</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">套装每一个都有其专注，每一方面都为用户着想，不能不赞，人家赚钱是为用户想到最好！！</SPAN><SPAN lang=EN-US> </SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 31.5pt; mso-char-indent-count: 3.0"><SPAN lang=EN-US>Excel</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">这是一个用于建立与使用电子报表</SPAN><SPAN lang=EN-US>(</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">表格</SPAN><SPAN lang=EN-US>)</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的实用程序，以表格的形式来储存数据，支持一整套函数操作，方便统计以及打印。<BR>&nbsp;&nbsp;&nbsp;&nbsp; 无论是财务部门制作工资表还是教师职工制作学生成绩表，无需很强的电脑操作能力，都能快速制表.<BR><IMG height=287 alt=pay.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/pay.gif" width=402 border=0><BR><BR><IMG height=193 alt=mark.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/mark.gif" width=461 border=0><BR></SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></P>
<H2 style="MARGIN: 13pt 0cm; TEXT-INDENT: 0cm"><BR></H2>
<H2 style="MARGIN: 13pt 0cm; TEXT-INDENT: 0cm"><A name=_Toc112907005><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">操作界面</SPAN></A><FONT face=Arial> </FONT></H2>
<H2 style="MARGIN: 13pt 0cm; TEXT-INDENT: 0cm"><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">先了解一些概念：</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><U>工作簿</U></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">: Excel</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">中定义一个</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">EXCEL</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">文件就是一个工作簿，工作簿中可以放</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">N</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">张有相关的工作表。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><U>工作表</U></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">: </SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">若干个工作表组成一个工作簿（</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">EXCEL</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">文件），工作表之间可以<SPAN class=article>使用特定的方法相互引用数据</SPAN></SPAN><SPAN class=article><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如下图：最下面的Sheet1 Sheet2等就是一个一个工作表，可能通过双击将其改名，以及右键新增加工作表．</SPAN></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><BR></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><U>表格</U></SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">:&nbsp; </SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">通常一个工作表中至少包含一个表格，表格可由表头，列(Excel中以A、B、C等字母表示)，行(Excel中以1、2、3数字表示)组成</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">.<BR><U>单元</U>：单元是最小的单位，单元选定的行与列组成．<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 例如A列的第一行就是A1单元,B列的第六行就是B6单元</SPAN></H2>
<H2 style="MARGIN: 13pt 0cm; TEXT-INDENT: 0cm"><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><U>函数</U>: excel中提供一整套函数公式方便用户进行数据统计与运算. 如AVERAGE(D3:D8)　意指统计D3-D8的平均分.<BR><BR></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">如下图可以直观地了对其有个大概的了解</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">:<BR><IMG height=464 alt=exceltable.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/exceltable.gif" width=725 border=0><BR></SPAN><BR><A name=_Toc112766610><SPAN lang=EN-US style="mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore">第二章</SPAN></SPAN><SPAN lang=EN-US> </SPAN></A><SPAN style="mso-bookmark: _Toc112766610"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">实例操作</SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></H2><SPAN style="mso-bookmark: _Toc112766610"></SPAN>
<H2 style="MARGIN: 13pt 0cm; TEXT-INDENT: 0cm"><A name=_Toc112908930><SPAN style="FONT-FAMILY: 黑体; mso-ascii-font-family: Arial">成绩单实例</SPAN></A></H2>
<H2 style="MARGIN: 13pt 0cm; TEXT-INDENT: 0cm"><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">1、制作表头</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"> <SPAN lang=EN-US><BR></SPAN></SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">选择范围</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">,</SPAN><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">设置单元格属性</SPAN></H2><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"></SPAN>
<H2 style="MARGIN: 13pt 0cm; TEXT-INDENT: 0cm"><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><IMG height=303 alt=newexcel.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/newexcel.gif" width=516 border=0><BR><BR>对齐全并单元格<BR><SPAN lang=EN-US><SPAN class=MsoHyperlink><SPAN style="mso-no-proof: yes"><FONT size=5><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><IMG height=364 alt=unitecell.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/unitecell.gif" width=407 border=0><BR><BR><FONT size=3>在 [对齐]标签中[合并单元格]操作，并在字体中设置加粗，输入＂学生成绩表＂　效果如下:<BR><BR><IMG height=90 alt=btitle.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/btitle.gif" width=408 border=0><BR><BR>2、输入行头,以及相关的基础数据<BR>点击单元（cell）分别录入相关的数据，太简单，这里跳过：）<BR><BR><IMG height=194 alt=tableDemo.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/tableDemo.gif" width=413 border=0><BR><BR>3、函数使用<BR><BR>这里主要学习的是函数的使用，以其中AVERAEG为例说明<BR><BR>A.点选要录入的单元</FONT></SPAN></FONT></SPAN></SPAN></SPAN></SPAN></H2>
<H2 style="MARGIN: 13pt 0cm; TEXT-INDENT: 0cm"><SPAN style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><SPAN lang=EN-US><SPAN class=MsoHyperlink><SPAN style="mso-no-proof: yes"><FONT size=5><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT size=3>B.插入函数<BR><IMG height=362 alt=function.jpg src="http://www.blogjava.net/images/blogjava_net/davidxu/function.jpg" width=636 border=0><BR><BR>C.选择要进行平均分的单元<BR><IMG height=352 alt=function[2].gif src="http://www.blogjava.net/images/blogjava_net/davidxu/function[2].gif" width=714 border=0><BR><BR>OK,这样就完成了统计语文平均成绩的工作．<BR>观察一下上面的函数公司为 =AVERAGE(C3,C4,C5,C6,C7,C8)　<BR>其实如果我们熟悉相关的函数，可以在输入框中直接输入 =AVERAGE(C3:C8) 也达到同样的效果.<BR></FONT></SPAN></FONT></SPAN></SPAN></SPAN></SPAN><SPAN lang=EN-US style="mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore"><BR>第三章</SPAN></SPAN><SPAN lang=EN-US> 其它补充<BR>1.格式化<BR>文字竖着来<BR><FONT size=3>有时候我们要将一些文字格式化成竖起来的效果，excel操作也挺简单</FONT><BR><IMG height=363 alt=exceltext.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/exceltext.gif" width=406 border=0><BR><BR><BR></SPAN>2.<A name=_Toc112766615><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">打印</SPAN></A><BR><FONT size=3>设置打印顶端标题行<BR>有时候表格太长，打印出来后会分页，然而我们行头是不变，希望它能在每一页的页头都能打出来．<BR>第一页：</FONT><BR><BR><IMG height=99 alt=page1.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/page1.gif" width=450 border=0><BR><BR><FONT size=3>第二页:</FONT><BR><IMG height=114 alt=page2.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/page2.gif" width=459 border=0><BR><BR><FONT size=3>这种情况我们就要设置顶端标题行:<BR></FONT><BR><FONT size=3>具体操作:<BR></FONT><FONT size=2>文件- 页面属性 - 工作表 －顶端标题行－　然后点击选择每二行（在这里第二行是顶端标题行）</FONT></H2>
<H2 style="MARGIN: 13pt 0cm; TEXT-INDENT: 0cm"><IMG height=394 alt=excelthead.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/excelthead.gif" width=655 border=0><BR><BR><BR></H2><img src ="http://www.blogjava.net/davidxu/aggbug/11291.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2005-08-27 11:30 <a href="http://www.blogjava.net/davidxu/archive/2005/08/27/11291.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[other] office "办公三剑客"</title><link>http://www.blogjava.net/davidxu/archive/2005/08/27/11177.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Sat, 27 Aug 2005 02:47:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/archive/2005/08/27/11177.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/11177.html</wfw:comment><comments>http://www.blogjava.net/davidxu/archive/2005/08/27/11177.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/11177.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/11177.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 信息化时代，技术的不断发展，计算机已不象当年那样是富人们的专有。<BR>本人帮亲戚朋友装机不下十台，<BR>使用者从大的三四十岁到小的十来岁都有,基本上目的都很明确————学习,工作需要。<BR>我估计随着社会发展，电脑普及率会更高，到时装机可能会象现在菜市场一样：）<BR>&nbsp;&nbsp; 关于信息化的话题可能说上N天也说不完，今天就不扯得太远,主要介绍一下office "办公三剑客"，<BR>注意这边说的不是网页制作有三剑客（DW,FW,FLASH）,而是微软公司的office软件中的word,excel,powerpoint。<BR>因为家里有弟弟妹妹们还在读初中、高中，了解到他们的课程中早有计算机<BR>这门课，听说还是学网页制作等的，哈，听来有点搞笑，不懂得为什么这样设计课程！<BR>&nbsp;&nbsp;&nbsp; 个人认为，现在中小学生最需要学习的计算机技能其实应该与实际社会需求相吻合，就是办公软件的应用，原因很简单，<BR>这些东西不管对于个人还是以后工作都是必修课。<BR>&nbsp;&nbsp;&nbsp; 有幸出生在信息化的时代，感受过信息化给予我以及我的工作带来的好处，体验过身边朋友的需要,<BR>&nbsp;&nbsp;&nbsp; 在这里以我个人经验，总结一下，主打三个:<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 文档编写--word<BR>&nbsp;&nbsp;&nbsp; 表格制作--excel<BR>&nbsp;&nbsp;&nbsp; 演示，课件制作--powerpoint<BR>&nbsp;&nbsp;&nbsp; <BR>注:文章部分是前时间为家里一些朋友写的,现在拿出来与大家分享一下。<BR>&nbsp;&nbsp; 本文介绍的是一些基础，也是实用的东西，适合对这方面了解甚少的朋友:)<BR>&nbsp;&nbsp; <BR>&nbsp; <BR>&nbsp;&nbsp; <A href="http://www.blogjava.net/davidxu/archive/2005/08/26/11180.html">Windows 文本操作软件使用说明</A><BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; <A href="http://www.blogjava.net/davidxu/archive/2005/08/27/11291.html">excel简明操作</A><BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; powerpoint 实操指南<BR>&nbsp;&nbsp; <BR>&nbsp;&nbsp; <BR><img src ="http://www.blogjava.net/davidxu/aggbug/11177.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2005-08-27 10:47 <a href="http://www.blogjava.net/davidxu/archive/2005/08/27/11177.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Window 文本操作软件使用说明</title><link>http://www.blogjava.net/davidxu/archive/2005/08/26/11180.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Fri, 26 Aug 2005 02:53:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/archive/2005/08/26/11180.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/11180.html</wfw:comment><comments>http://www.blogjava.net/davidxu/archive/2005/08/26/11180.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/11180.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/11180.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 第一章 文本处理软件说明... 21、前言... 22、三大常用软件... 2第二章 操作快捷键说明... 3前言... 3新建文档（Ctrl + N）... 3保存（Ctrl + S）... 3复制（Ctrl + C）... 3剪切（Ctrl + X）... 3撤消（Ctrl + Z）... 4恢复（Ctrl + Y）... 4全选（Ctrl + A）...&nbsp;&nbsp;<a href='http://www.blogjava.net/davidxu/archive/2005/08/26/11180.html'>阅读全文</a><img src ="http://www.blogjava.net/davidxu/aggbug/11180.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2005-08-26 10:53 <a href="http://www.blogjava.net/davidxu/archive/2005/08/26/11180.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[BI] 部分商业智能及报表工具一览</title><link>http://www.blogjava.net/davidxu/archive/2005/08/20/BIReportTools.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Sat, 20 Aug 2005 04:44:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/archive/2005/08/20/BIReportTools.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/10580.html</wfw:comment><comments>http://www.blogjava.net/davidxu/archive/2005/08/20/BIReportTools.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/10580.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/10580.html</trackback:ping><description><![CDATA[<FONT color=#000000><FONT size=4><STRONG><FONT size=5>一、 Microsoft Office Web Components</FONT><BR><BR><IMG height=116 alt=officeComponents.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/officeComponents.gif" width=357 border=0><BR><BR></STRONG>Spreadsheets<BR><STRONG><IMG height=138 alt=excel.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/excel.gif" width=295 border=0></STRONG>&nbsp; </FONT></FONT><BR><STRONG>Charts</STRONG><BR><IMG height=401 alt=chart.gif src="http://www.blogjava.net/images/blogjava_net/davidxu/chart.gif" width=601 border=0><BR><BR><FONT size=4><STRONG><FONT size=5>二、Open Source</FONT><BR><BR>1 、pentaho<BR></STRONG>Project Home Page: </FONT><A href="http://www.pentaho.org/"><STRONG><FONT size=4>http://www.pentaho.org/</FONT></STRONG></A><BR><FONT size=4><IMG height=86 alt=de_logo.png src="http://www.blogjava.net/images/blogjava_net/davidxu/de_logo.png" width=219 border=0><BR><BR><STRONG>2、operni</STRONG></FONT><BR><A href="http://openi.sourceforge.net/"><BR><FONT color=#000000>Project Home Page:</FONT>&nbsp; http://openi.sourceforge.net/</A><FONT color=#800080><BR><U><IMG height=82 alt=openi-logo-with-tag[1].jpg src="http://www.blogjava.net/images/blogjava_net/davidxu/openi-logo-with-tag[1].jpg" width=200 border=0><BR><BR></U><FONT color=#000000>演示:</FONT>&nbsp;&nbsp; <A href="http://demo.openi.org/">http://demo.openi.org/</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#000000>用户：tomcat&nbsp; 密码：shallow</FONT><BR><FONT color=#000000>介绍:</FONT> <U>http://openi.sourceforge.net/open_source_BI-openi_story.PDF</U><BR><BR><BR><FONT color=#000000 size=4><STRONG>3、JasperReports</STRONG></FONT><BR><FONT color=#000000>Project Home Page:</FONT> <A href="http://jasperreports.sourceforge.net/">http://jasperreports.sourceforge.net/</A><BR></FONT><IMG height=25 alt=jasperreports[1].png src="http://www.blogjava.net/images/blogjava_net/davidxu/jasperreports[1].png" width=139 border=0><BR><BR><BR><SPAN class=indextop><STRONG><FONT size=4>4、Eclipse BIRT Project</FONT></STRONG></SPAN> <BR>Project Home Page: <A href="http://www.eclipse.org/birt">http://www.eclipse.org/birt</A><BR><BR><STRONG><FONT size=4>5、jfreechar</FONT></STRONG><BR>Project Home Page: <A href="http://www.jfree.org/jfreechart">http://www.jfree.org/jfreechart<BR></A><BR><BR>其它相关 ：生xsl ，pdf<BR>jakarta poi&nbsp;&nbsp;&nbsp; <A href="http://jakarta.apache.org/poi/">http://jakarta.apache.org/poi/</A><BR>itext&nbsp; <A href="http://www.lowagie.com/iText">http://www.lowagie.com/iText</A><BR>FOP&nbsp; <A href="http://xml.apache.org/fop/index.html">http://xml.apache.org/fop/index.html</A><BR><BR>后注：本站将不定期发布相关的应用文章:)<BR><BR><BR><BR><img src ="http://www.blogjava.net/davidxu/aggbug/10580.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2005-08-20 12:44 <a href="http://www.blogjava.net/davidxu/archive/2005/08/20/BIReportTools.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>三个小tips</title><link>http://www.blogjava.net/davidxu/archive/2005/08/18/10458.html</link><dc:creator>一凡@ITO</dc:creator><author>一凡@ITO</author><pubDate>Thu, 18 Aug 2005 11:21:00 GMT</pubDate><guid>http://www.blogjava.net/davidxu/archive/2005/08/18/10458.html</guid><wfw:comment>http://www.blogjava.net/davidxu/comments/10458.html</wfw:comment><comments>http://www.blogjava.net/davidxu/archive/2005/08/18/10458.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/davidxu/comments/commentRss/10458.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/davidxu/services/trackbacks/10458.html</trackback:ping><description><![CDATA[<BR>小小的tips记录一下:<BR><BR><STRONG>一、取回mysql ROOT管理员密码</STRONG><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1] 跳过MySQL的访问控制<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 进入CMD命令行&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;C:\mysql\bin &gt; <STRONG>mysqld-nt --skip-grant-tables&amp;</STRONG><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 这样任何人都可以在以管理员的身份进入MySQL,为修改ROOT密码提供前提条件.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [2]&nbsp;控制台进入mysql<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\mysql\bin&gt;<STRONG>mysql</STRONG><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql&gt; <STRONG>select * from mysql.user;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //查用户表</STRONG><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;mysql&gt; <STRONG>update mysql.user&nbsp;set password=password('david') where user='root';<BR></STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mysql&gt;<STRONG>commit;<BR></STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 重启mysql服务即可用刚才我们设置的'david'密码登录了:)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><STRONG>二、用jsp文件存放CSS</STRONG><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 通常我们有这样的需要，在ＣＳＳ中定义图片以及一些ＨＴＣ文件，<BR>然而在编写过程中，我们的代码总会象这样:<BR>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #800000">background:&nbsp;#66A1D5&nbsp;url(../images/headBg.gif)&nbsp;center&nbsp;left&nbsp;repeat;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><BR><IMG id=Codehighlighter1_91_142_Open_Image onclick="this.style.display='none'; Codehighlighter1_91_142_Open_Text.style.display='none'; Codehighlighter1_91_142_Closed_Image.style.display='inline'; Codehighlighter1_91_142_Closed_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_91_142_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_91_142_Closed_Text.style.display='none'; Codehighlighter1_91_142_Open_Image.style.display='inline'; Codehighlighter1_91_142_Open_Text.style.display='inline';" src="http://www.blogjava.net/images/OutliningIndicators/ContractedBlock.gif" align=top>form&nbsp;input.Rootcalendar&nbsp;</SPAN><SPAN id=Codehighlighter1_91_142_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">{<IMG src="http://www.blogjava.net/images/dot.gif">}</SPAN><SPAN id=Codehighlighter1_91_142_Open_Text><SPAN style="COLOR: #000000">{</SPAN><SPAN style="COLOR: #ff0000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;width</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #0000ff">&nbsp;65px</SPAN><SPAN style="COLOR: #000000">;</SPAN><SPAN style="COLOR: #ff0000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;behavior</SPAN><SPAN style="COLOR: #000000">:</SPAN><SPAN style="COLOR: #0000ff">&nbsp;url(../js/calendar.htc)<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/ExpandedBlockEnd.gif" align=top></SPAN><SPAN style="COLOR: #000000">}</SPAN></SPAN><SPAN style="COLOR: #800000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN></DIV></DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 使用相对路径的形式，这样做有一个限制，就是调用文件的路径一定是固定的．<BR>然而当比较深入的文件调用时，就会找不到相应的图片或相关的资源．<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;好在jstl &lt;c:url value=""/&gt;&nbsp;给我们提供了一种解决方案.然而要求css放到jsp中这样的需要就来了,应用挺简单<BR>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&lt;%</SPAN><SPAN style="COLOR: #000000">@&nbsp;taglib&nbsp;prefix</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">c</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;uri</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">http://java.sun.com/jsp/jstl/core</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;</SPAN><SPAN style="COLOR: #000000">%&gt;<BR>//原来的ＣＳＳ代码<BR>………………<BR>………………<BR>………………<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #800000">background:&nbsp;#66A1D5&nbsp;url(&lt;c:url value="/images/headBg.gif" /&gt;)&nbsp;center&nbsp;left&nbsp;repeat;<BR><BR><FONT color=#000000>………………<BR>………………<BR>………………<BR>………………<BR>………………</FONT></SPAN></SPAN></DIV></DIV><BR>其它页面中调用<BR>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&lt;</SPAN><SPAN style="COLOR: #000000">link&nbsp;rel</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">stylesheet</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;href</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&lt;c:url&nbsp;value=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">css</SPAN><SPAN style="COLOR: #000000">/</SPAN><SPAN style="COLOR: #000000">style.jsp</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">/&gt;</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&nbsp;type</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">text/css</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">&gt;</SPAN></DIV></DIV><BR>&nbsp; <BR><STRONG>三、日期时间函数</STRONG><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1、Oracel 版<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [1]取当月的日子数:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">select&nbsp;to_char(last_day(sysdate),</SPAN><SPAN style="COLOR: #000000">'</SPAN><SPAN style="COLOR: #000000">dd</SPAN><SPAN style="COLOR: #000000">'</SPAN><SPAN style="COLOR: #000000">)&nbsp;from&nbsp;dual<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">如本月(8月)&nbsp;-&nbsp;31日</SPAN></DIV></DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [2]EXTRACT的应用（取年月日）<BR><BR>
<DIV style="BORDER-RIGHT: windowtext 0.5pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 0.5pt solid; PADDING-LEFT: 5.4pt; BACKGROUND: #e6e6e6; PADDING-BOTTOM: 4px; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: windowtext 0.5pt solid">
<DIV><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">select&nbsp;EXTRACT(year&nbsp;FROM&nbsp;SYSDATE)&nbsp;from&nbsp;dual;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">本年&nbsp;2005</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">select&nbsp;EXTRACT(month&nbsp;FROM&nbsp;SYSDATE)&nbsp;from&nbsp;dual;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">本月&nbsp;8月份</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #000000">select&nbsp;EXTRACT(day&nbsp;FROM&nbsp;SYSDATE)&nbsp;from&nbsp;dual;&nbsp;<BR><IMG src="http://www.blogjava.net/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">本日&nbsp;18日</SPAN></DIV></DIV><BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2、&nbsp;Mysql 版<BR><BR>(本文未完!!)<BR><img src ="http://www.blogjava.net/davidxu/aggbug/10458.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/davidxu/" target="_blank">一凡@ITO</a> 2005-08-18 19:21 <a href="http://www.blogjava.net/davidxu/archive/2005/08/18/10458.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>