Apache POI是Apache软件基金会的开放源码函式库,POI提供API给Java程序对Microsoft
Office格式档案读和写的功能。
项目中要生成这样格式excel
使用poi请先下载对应的jar包到项目,请自行搜索
首先把表单抽象成java bean
我的bean 如下:
package com.poi.entity;
import jav...
分类:
其他好文 时间:
2014-10-20 02:08:37
阅读次数:
300
Max Points on a LineGivennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.c++版本:/** * Definition for a poi....
分类:
其他好文 时间:
2014-10-19 22:42:21
阅读次数:
225
http://clang.llvm.org/docs/InternalsManual.html#the-qualtype-classthe QualType class is designed to be an efficient value class which contains a poi.....
分类:
其他好文 时间:
2014-10-19 15:33:36
阅读次数:
260
java 通过Apache poi导出excel代码demo实例 源代码下载地址:http://www.zuidaima.com/share/1550463470062592.htm...
分类:
编程语言 时间:
2014-10-18 14:06:30
阅读次数:
250
一:需求:将从数据库查处来的数据,生成word文档,并有固定的格式。(dom4j的jar包+poi的jar包)二:解决:(1)先建立固定格式的word文档(2007版本以上),另存成为xml文件,作为模板。(修改xml节点,添加属性,用于标示要填固定数据的节点) (2)dom4j解析模板xml文.....
分类:
数据库 时间:
2014-10-15 11:25:00
阅读次数:
408
DescriptionByteman, one of the most deserving employee of The Goldmine of Byteland, is about to retire by the end of the year. The Goldmine management...
分类:
其他好文 时间:
2014-10-14 17:24:48
阅读次数:
323
poi的jar下载地址:http://poi.apache.org/ ????????下载后会有很多jar,但是如果只是简单的excel报表的话,导入一个poi-版本号-日期.jar就可以了。 ????????导出代码: privat...
分类:
编程语言 时间:
2014-10-14 13:18:58
阅读次数:
237
1.GZipStream 类此类在 .NET Framework 2.0 版中是新增的。提供用于压缩和解压缩流的方法和属性2.压缩byte[]C#代码 //////压缩数据/////////publicbyte[]Compress(byte[]data){MemoryStreamms=newMemo...
分类:
Web程序 时间:
2014-10-14 11:27:58
阅读次数:
315