上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 46 下一页
摘要: 前言 本文实现的这个需求其实十分普遍,举例来说,我们存在一个用户来源表,用来标记用户从哪个渠道注册进来。表结构如下所示… 其中 origin 是用户来源,其中的值有 iPhone 、Android 、Web 三种,现在需要分别统计由这三种渠道注册的用户数量。 解决方案1 ? 1 2 3 4 5 6 阅读全文
posted @ 2017-12-03 18:33 chenxiangxiang 阅读(23872) 评论(1) 推荐(1)
摘要: 原文标题:Adding layout to your Docx4j-generated word documents, part 2 原文链接:http://blog.iprofs.nl/2012/11/19/adding-layout-to-your-docx4j-generated-word-d 阅读全文
posted @ 2017-11-26 16:17 chenxiangxiang 阅读(1371) 评论(0) 推荐(0)
摘要: 原文链接:Create complex Word (.docx) documents programatically with docx4j 原文作者:jos.dirksen 发表日期:2012年2月7日 两个月前,我需要用一些表格和段落创建动态的Word文档。过去我使用过POI做这些事情,但我发现 阅读全文
posted @ 2017-11-26 16:17 chenxiangxiang 阅读(2669) 评论(0) 推荐(1)
摘要: 原文标题:Adding images and layout to your Docx4j-generated word documents, part 1 原文链接:http://blog.iprofs.nl/2012/10/22/adding-images-and-layout-to-your-d 阅读全文
posted @ 2017-11-26 16:16 chenxiangxiang 阅读(2444) 评论(0) 推荐(1)
摘要: 原文标题:Creating Word documents with Docx4j 原文链接:http://blog.iprofs.nl/2012/09/06/creating-word-documents-with-docx4j/ 原文作者:lvdpal 发表时间:2012年9月6日 注:第一次翻译 阅读全文
posted @ 2017-11-23 18:05 chenxiangxiang 阅读(4469) 评论(0) 推荐(1)
摘要: 1 import java.io.File; 2 import java.io.FileInputStream; 3 import java.io.InputStream; 4 import java.io.StringWriter; 5 import java.math.BigInteger; 6 import java.util.ArrayList; ... 阅读全文
posted @ 2017-11-20 18:09 chenxiangxiang 阅读(6205) 评论(0) 推荐(0)
摘要: 最近需要用docx4j来对docx进行一些操作,用到的技术是docx4j,这个技术在国内其实用的不是很多,看了一些博主的文章,有些感悟,做了一些总结,如果有疑问或错误之处欢迎交流。 创建包: 保存包: 得到主段落,并且输出/带样式输出: 创建表格并添加内容: 先创建一个工厂,(需要导入的包是org. 阅读全文
posted @ 2017-11-14 18:20 chenxiangxiang 阅读(9472) 评论(0) 推荐(0)
摘要: 1 package com.chauvet.utils.json; 2 3 import java.io.BufferedReader; 4 import java.io.File; 5 import java.io.FileInputStream; 6 import java.io.FileWriter; 7 import java.io.InputStreamR... 阅读全文
posted @ 2017-11-10 22:16 chenxiangxiang 阅读(6349) 评论(0) 推荐(0)
摘要: 1 import java.io.FileOutputStream; 2 import java.io.IOException; 3 import java.io.InputStream; 4 import java.io.InputStreamReader; 5 import java.io.OutputStreamWriter; 6 import ... 阅读全文
posted @ 2017-11-10 22:08 chenxiangxiang 阅读(2152) 评论(0) 推荐(0)
摘要: 一、注解(annotations)列表 @SpringBootApplication:包含了@ComponentScan、@Configuration和@EnableAutoConfiguration注解。其中@ComponentScan让spring Boot扫描到Configuration类并把 阅读全文
posted @ 2017-10-25 20:16 chenxiangxiang 阅读(1127) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 46 下一页