其他分享
首页 > 其他分享> > html转pdf

html转pdf

作者:互联网

maven依赖

<dependencies>
<!--PDF转化工具-->
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>5.4.2</version>
</dependency>
<dependency>
<groupId>com.itextpdf.tool</groupId>
<artifactId>xmlworker</artifactId>
<version>5.4.2</version>
</dependency>
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itext-asian</artifactId>
<version>5.2.0</version>
</dependency>
</dependencies>

package com.pdf.test;

import com.itextpdf.text.*;
import com.itextpdf.tool.xml.XMLWorkerHelper;

import com.itextpdf.text.pdf.BaseFont;
import com.itextpdf.text.pdf.PdfWriter;
import com.itextpdf.text.pdf.codec.Base64;
import org.springframework.core.io.ClassPathResource;

import java.io.ByteArrayInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.nio.charset.Charset;


/**
 * 实测有效
 * @author 
 *
 * @time 2019年2月11日
 */
public class Itext5HtmlToPDF {

	public static void main(String[] args) {
		new Itext5HtmlToPDF().createPdf();
	}
	
	public void createPdf() {
		try {
			//BaseFont bfChinese = BaseFont.createFont("STSongStd-Light", "UniGB-UCS2-H", false);

			//直接引用 下载好的字体文件
//			BaseFont bfChinese = BaseFont.createFont("E:\\workspace\\zhproject\\doc2html2pdf20201125\\src\\main\\resources\\fonts\\simsun.ttf", BaseFont.IDENTITY_H,BaseFont.NOT_EMBEDDED);
//
//			Font font = new Font(bfChinese, 12, Font.NORMAL);
			Document document = new Document(PageSize.A4, 10, 10, 10, 10);
			PdfWriter mPdfWriter = PdfWriter.getInstance(document, new FileOutputStream("C:/Users/v/Desktop/doc/htmltest.pdf"));
			document.open();
			
//			document.add(new Paragraph("创建pdf文件.支持中文......", font));
			
//			String s = getHtml();//html 标签内容

			String s ="<div><p style=\"text-align:center;\"><span style=\"font-size:22.0pt;font-weight:bold;\">入住确认单</span></p><p><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span></p><p>租      户:<span style=\"font-weight:bold;text-decoration:underline;\">深圳市招融投资控股有限公司</span><span style=\"font-weight:bold;text-decoration:underline;\">  </span><span style=\"color:#000000;text-decoration:underline;\"> </span><span style=\"color:#000000;\">         </span>联系人及电话:</p><p>房      屋:<span style=\"font-size:12.0pt;text-decoration:underline;\">万海大厦</span><span style=\"font-size:12.0pt;text-decoration:underline;\">B</span><span style=\"font-size:12.0pt;text-decoration:underline;\">座</span><span style=\"font-size:12.0pt;text-decoration:underline;\">501B</span><span style=\"font-size:12.0pt;text-decoration:underline;\">房</span><span style=\"text-decoration:underline;\">  </span><span style=\"font-size:12.0pt;\"> </span>      租    期:<span style=\"text-decoration:underline;\"> </span><span style=\"text-decoration:underline;\"> 2020 </span>年<span style=\"text-decoration:underline;\">9</span><span style=\"text-decoration:underline;\"> </span>月<span style=\"text-decoration:underline;\"> </span><span style=\"text-decoration:underline;\">1 </span>日至<span style=\"text-decoration:underline;\"> </span><span style=\"text-decoration:underline;\"> 2023</span><span style=\"text-decoration:underline;\"> </span>年8<span style=\"text-decoration:underline;\"> </span>月<span style=\"text-decoration:underline;\">31</span><span style=\"text-decoration:underline;\"> </span>日</p><p>面      积:<span style=\"text-decoration:underline;\">   </span><span style=\"text-decoration:underline;\"> </span><span style=\"text-decoration:underline;\">243.21</span><span style=\"text-decoration:underline;\">㎡</span></p><p>租户应完成下列程序<span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span></p><p>持本通<span id=\"_GoBack\"/>知前往我司委托的招商物业管理有限公司签订物业管理公约。<span>    </span><span>    </span><span>    </span><span>    </span></p><p style=\"text-indent:15.0pt;\">联 系 人:<span style=\"text-decoration:underline;\"> </span><span style=\"text-decoration:underline;\">周宗义、韩宇</span></p><p style=\"text-indent:15.0pt;\">联系电话:21621101、 13714986856 韩宇     物业经理:26896243、18033071177  周宗义   </p><p style=\"text-indent:15.0pt;\">工程主管:21626071、13554801912  钟钦宏   安全主管:21621103</p><p style=\"text-indent:15.0pt;\">地址:万融大厦B座G层         <span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span><span>    </span></p><p style=\"text-align:left;text-indent:15.0pt;\"><span style=\"text-align:left;text-indent:15.0pt;\">1、 </span>租户应于<span style=\"text-decoration:underline;\"> 2020 </span>年9月1<span style=\"text-decoration:underline;\"> </span>日前往<span style=\"text-decoration:underline;\">万海大厦</span><span style=\"font-size:12.0pt;text-decoration:underline;\">B</span><span style=\"font-size:12.0pt;text-decoration:underline;\">座</span><span style=\"font-size:12.0pt;text-decoration:underline;\">501B</span><span style=\"font-size:12.0pt;text-decoration:underline;\">房</span><span style=\"text-decoration:underline;\"> </span> <span style=\"font-size:12.0pt;\"> </span>接收房屋,<span style=\"text-decoration:underline;\"> </span>定为<span style=\"text-decoration:underline;\">2020 </span>年9月<span style=\"text-decoration:underline;\">1</span>日 为物业管理费起收时间点。</p><p style=\"text-align:left;text-indent:15.0pt;\"><span style=\"text-align:left;text-indent:15.0pt;\">2、 </span>请与入住前缴纳相当与二个月物业管理费/本体维修基金的违约保证金。</p><p style=\"text-align:left;text-indent:15.0pt;\">4、在出租房屋内放置较重设备的,应提前书面通知物业管理处,经物业确定放置方式及放置位置后方可放置(以免承重楼板受损)。在装修过程如遇改变房屋的结构,应得到业主的确认后方能施工,设计要求不得影响房屋的质量及安全。</p><p>5、网络申请:<span style=\"text-decoration:underline;background-color:#ffffff;\">深圳招商网络有限公司</span></p><p style=\"text-align:left;text-indent:15.0pt;text-indent:52.0pt;\">公司地址:深圳蛇口招商路招商大厦9楼 </p><p style=\"text-align:left;text-indent:15.0pt;text-indent:52.0pt;\">电    话:0755-26817876</p><p style=\"text-align:left;text-indent:15.0pt;text-indent:52.0pt;\"><span style=\"text-decoration:underline;background-color:#ffffff;\">深圳市蛇口通讯有限公司</span></p><p style=\"text-align:left;text-indent:68.0pt;\">公司地址:广东省深圳市蛇口工业区育才路9号(中国邮政隔壁)<br/>联系电话:0755-26800900  </p><p style=\"text-align:left;text-indent:15.0pt;\">6、消防申请人领取《建筑内部装修设计防火审核申报表》--申请人按照区属划分到消防局或消防大队递交申请材料--行政许可决定机关审批--申请人领取《建筑工程消防设计审核意见书》。一般工程10个工作日,重点工程20个工作日,需专家论证的消防设计工程可延长30个工作日。(后附:消防申报材料)</p><p style=\"text-align:left;text-indent:15.0pt;\">7、此入住确认单一式三份,业主、租户、物业管理方各持一份,三方签字盖章后视为交付完成。</p><p><br/></p><p style=\"text-align:left;\"><br/></p><p/><table style='width: 100%;margin: 0 auto;font-size:10.0px;'><tr style='font-size:14.0px;font-weight:bold;'><td style='width:33%;'><p>业主发起</p></td><td><p>→</p></td><td style='width:33%;'><p>租户审批</p></td><td><p>→</p></td><td style='width:33%;'><p>管理方确认</p></td></tr><tr><td style='width:33%;'><p>审批人:万三</p></td><td></td><td style='width:33%;'><p>审批人:张三</p></td><td></td><td style='width:33%;'><p>审批人:李四</p></td></tr><tr><td style='width:33%;'><p>审批意见:请确认</p></td><td></td><td style='width:33%;'><p>审批意见:确认</p></td><td></td><td style='width:33%;'><p>审批意见:确认</p></td></tr><tr><td style='width:33%;'><p>审批日期:2020.11.12</p></td><td></td><td style='width:33%;'><p>审批日期:1970.01.05</p></td><td></td><td style='width:33%;'><p>审批日期:2020.11.15</p></td></tr></table></div>\n" ;


			ByteArrayInputStream bin = new ByteArrayInputStream(s.getBytes());
			XMLWorkerHelper.getInstance().parseXHtml(mPdfWriter, document, bin,null, Charset.forName("UTF-8"),new ChinaFontProvide());
//			XMLWorkerHelper.getInstance().parseXHtml(mPdfWriter, document, bin, Charset.forName("UTF-8"), new ChinaFontProvide());

			//将图片合成pdf
//			Image image = Image.getInstance("C:/Users/v/Desktop/doc/测试.png");
			
//			image.scalePercent(10);// 控制图片大小
//			image.setAbsolutePosition(200, 500);
//			document.add(image);
			
			//base64 编码的图片类型
//			Image image2 = Image.getInstance(Base64.decode(TESTEVSCHOP));
//
//			image2.scalePercent(10);// 控制图片大小
//			image2.setAbsolutePosition(400, 500);
//			document.add(image2);
			
			
			//只有close才会写入内容
			document.close();
			mPdfWriter.close();
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (DocumentException e) {
			e.printStackTrace();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
 
	public static String getHtml() {
		
		StringBuffer html = new StringBuffer();
		html.append("<div style='color:green;font-size:20px;'>你好世界!hello world !</div>");
		html.append("<span style='color:red'>what are you 弄啥咧!</span>");
		html.append("<h1>标题</h1>");
		html.append("<table>");
		html.append("<tr>");
		html.append("<th>序号</th>");
		html.append("<th>用户名</th>");
		html.append("<th>性别</th>");
		html.append("</tr>");
		html.append("<tr>");
		html.append("<td>1</td>");
		html.append("<td>fengxing</td>");
		html.append("<td>男</td>");
		html.append("</tr>");
		html.append("<tr>");
		html.append("<td>2</td>");
		html.append("<td>admin</td>");
		html.append("<td>女</td>");
		html.append("</tr>");
		
		
		html.append("</table>");
		return html.toString();
	}
 
	/**
	 * 
	 * 提供中文
	 * 
	 */
	public static final class ChinaFontProvide implements FontProvider {


		public boolean isRegistered(String s) {
			return false;
		}

//				@Override
		public Font getFont(String arg0, String arg1, boolean arg2, float arg3,
				int arg4, BaseColor arg5) {
			BaseFont bfChinese = null;
			try {
				//bfChinese = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED);
				//直接引用 下载好的字体文件
				 bfChinese = BaseFont.createFont("E:\\workspace\\zhproject\\doc2html2pdf20201125\\src\\main\\resources\\fonts\\simsun.ttf", BaseFont.IDENTITY_H,BaseFont.NOT_EMBEDDED);
				
			} catch (Exception e) {
				e.printStackTrace();
			}
			Font FontChinese = new Font(bfChinese, 12, Font.NORMAL);
			return FontChinese;
		}

	}
	public static final String TESTEVSCHOP = "iVBORw0KGgoAAAANSUhEUgAAAQsAAACbCAYAAAB1RL6lAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKTWlDQ1BQaG90"
			+ "b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIE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6MSiJsSu5ZCXORSfVDTU43U5dl/8bt8QprQ0oUlfEop5HkbLysUcYHp5fZ1uxadYLDE/4eoYTKNR"
			+ "DYvP9zCvUPgZsXqkGWl1y9qYvYrSkkbxENN5KdNPfc5jTkXjsRCODuw3WUE4j45hn2VkX1olFItC0OUIRqJhPtDY+gpmJ7ctr7D8vmXkc1mmSyyqSb823K+2HIv6C0T9Vi3CUXLY5qcZ4"
			+ "U1WufoLijER8FUAk1FNTu4NMJ0R2+QAUjdyYOh80RbWk4vF7mGSnwkxfZ7Dx+Q27XPDb1yfUr2P2cTsEbIvkw4k19UXomT7HGuOybh+kiTpJ9z2jkJnMen8DUxuCkqFIkb2pdMuzE9Xns"
			+ "E8a/eyyr/MOzj70r+nGreV3tvQyRDJNEfhSzmOquRYXEW9IfIOI3F++lIZykr+IhUrOgqKReEd4hPRwGJp2bEhp9DRxMIxzNl+eT89BwcS5XAqfVzd8yGh6LBDTN8JksdFDcU2QiEYFZi"
			+ "Tv+dSHiWS/r0v/pXPR6XgttBzrHsAwGc//sO7++6HW/9OgI2f3ZuQdeTL1y9vfnzz9mvj98BNAPgYeM2cBSE7wNd4oU3OXrt27Q2dBSFkJ6GzIIRQLAghFAtCCMWCEEKxIIRQLAghFAtC"
			+ "CKFYEEIoFoQQigUhhGJBCKFYEEIoFoQQigUhu8nfn3/rsRam8BF1QjR88fz7m7/75fuvWRMUC0IIwxBCCMWCEEKxIKRo/vTN0z3WQnEwZ0EIobMoiqejmCMUobOgsyCE0FkQQigWhBCKB"
			+ "SGEYkEIoVgQQigWhBBCsSCEUCwIIRSLreD587/eYC2QTYF3cBJC6CwIIRQLQgjFghBCsSCEUCwIIRQLQgihWBBCKBaEEIoFIYRiQQhZS/4/AAIRgR3GjE4GAAAAAElFTkSuQmCC";
	
}

  

标签:BaseFont,import,html,new,pdf,com,append
来源: https://www.cnblogs.com/yibuyi-123/p/14097534.html