随笔分类 -  java

操作excel
摘要:1.d格式: %d:按整型数据的实际长度输出。 %md:m为指定的输出字段的宽度。如果数据的位数小于m,则左端补以空格,若大于m,则按实际位数输出。 %ld:输出长整型数据。 2.o格式: 以无符号八进制形式输出整数。对长整型可以用"%lo"格式输出。同样也可以指定字段宽度用“%mo”格式输出。 3 阅读全文
posted @ 2022-08-18 09:19 Thn_nhT 阅读(3312) 评论(0) 推荐(0) 编辑
摘要:使用JxCell生成图表,用Aspose转PDF 导入jxcell.jar(下载地址:Edit/View Excel Spreadsheet with Jxcell in Java) 导入aspose-cells-8.5.2.jar 一.生成excel图表(竖柱状图,具体细节自己设置) View m 阅读全文
posted @ 2022-08-16 09:09 Thn_nhT 阅读(1691) 评论(0) 推荐(0) 编辑
摘要:一.引入依赖 <dependency> <groupId>net.sourceforge.jexcelapi</groupId> <artifactId>jxl</artifactId> <version>2.6.12</version> </dependency> 二.新建一个写(write)的方 阅读全文
posted @ 2022-06-20 22:53 Thn_nhT 阅读(936) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示