改变按钮外观显示风格
◆ 利用 tag 属性改变按钮风格
<report:html name="report1"
 srcType="file"
 funcBarLocation="top" //功能条的位置
 reportFileName="api/wangge.rpx"
 separator="|" //功能按钮的分隔符
 funcBarFontFace="黑体" //功能按钮的字体
 funcBarFontColor="red" //功能按钮上的文字颜色
funcBarFontSize="12" //功能按钮的字号
functionBarColor="white" //功能按钮的背景色
 />
◆ 传入按钮的 html 语法
<% //自定义图片按钮
 String appmap = request.getContextPath();
 String printImage = "<img src='" + appmap + "/images/print.gif' border=no >";  //打印
 String excelImage = "<img src='" + appmap + "/images/excel.gif' border=no >";  //导出Excel
 String pdfImage = "<img src='" + appmap + "/images/pdf.gif' border=no >"; //导出PDF
 String firstPageImage = "<img src='" + appmap + "/images/firstpage.gif' border=no >"; //最前页
 String lastPageImage = "<img src='" + appmap + "/images/lastpage.gif' border=no >"; //最后页
 String nextPageImage = "<img src='" + appmap + "/images/nextpage.gif' border=no >";  //下一页
 String prevPageImage = "<img src='" + appmap + "/images/prevpage.gif' border=no >";  //上一页
%>
<report:html name="report1"
 srcType="file"
 reportFileName="api/wangge.rpx"
 printLabel="<%= printImage %>"
excelLabel="<%= excelImage %>"
pdfLabel="<%= pdfImage %>"
firstPageLabel="<%=firstPageImag%>"
prevPageLabel="<%= prevPageImage %>"
nextPageLabel="<%= nextPageImage %>"
lastPageLabel="<%= lastPageImage %>"
 />
 
            
         
