赞
踩
选择thymeleaf+html的原因:个人觉得thymeleaf有这很好的官方文档做支撑,而且语法更好理解而是用ftl模板语法比较古老很少有人使用,因此本人选择thymeleaf作为模板渲染工具进行代码的开发。
本文主要解决:
- <!--生成pdf依赖 start-->
- <dependency>
- <groupId>org.xhtmlrenderer</groupId>
- <artifactId>flying-saucer-pdf-itext5</artifactId>
- <version>9.4.0</version>
- </dependency>
-
- <dependency>
- <groupId>org.xhtmlrenderer</groupId>
- <artifactId>flying-saucer-core</artifactId>
- <version>9.4.0</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>net.sf.jtidy</groupId>
- <artifactId>jtidy</artifactId>
- <version>r938</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>org.thymeleaf</groupId>
- <artifactId>thymeleaf</artifactId>
- <version>3.0.6.RELEASE</version>
- <scope>compile</scope>
- </dependency>
-
- <!--生成pdf依赖 end-->
(1)、静态文件位置参考
注大坑:关于中文汉字的一些表达形式类似于:仿宋、方正小标宋简体下载字体包后文字包的名称也是中文但是linux服务器对汉字是无法识别的所以本地测试好好的一旦上生产就拉闸了,该包名导致字体包无法使用因此要怎么该呢?按照css能够识别的样式来该,具体汉字和英文名称如何对应请参考:
字体包下载请参考:
在这里引入使用即可,但有些字体可能需要官方授权才能使用(方正小标宋简体),因此后端可能会有问题因此需要准备多款类似的字体作以备用。
(2)、模板准备:
header.html 页眉内容
- <div th:fragment="header">
- <table>
- <tr>
- <td><span class="barcode">*TEST BARCODE*</span></td>
- <td class="right"><img class="logo" src="logo.png" alt="logo"></td>
- </tr>
- </table>
- </div>
footer.html 页脚
- <div th:fragment="footer">
- <hr>
- <div class="page-count" style="font-family: 仿宋_GB2312">
- <span> 第 </span> <span id="pagenumber"></span><span> 页 共 </span><span id="pagecount"></span> <span>页</span>
- </div>
- </div>
style.css 样式文件
body { font-family: sans-serif; font-size: 12px; } @page { @bottom-left { content: element(footer); vertical-align: top; padding-top: 10px; } @top-right { content: element(header); vertical-align: bottom; padding-bottom: 10px; } margin-top: 3.3cm; margin-left: 2cm; margin-right: 2cm; margin-bottom: 3.3cm; size: A4 portrait; } div.header { position: running(header); } div.footer { display: block; margin-top: 0.5cm; position: running(footer); } #pagenumber:before { content: counter(page); } #pagecount:before { content: counter(pages); } .logo-container { text-align: right; } .page-count { font-family: 仿宋_GB2312, Serif; text-align: right; } .logo { width: 275px; } h1 { font-size: 18px; margin-bottom: 40px; margin-top: 40px; } p { font-family: SimSun, Serif; font-size: 12px; } .footer { text-align: center; } span{ font-family: SimSun, Serif; font-size: 12px; } @font-face { font-family: "Bar-Code 39"; src: url(Code39.ttf) format('truetype'); } @font-face { font-family: FangSong_GB2312; src: url(FangSong_GB2312.ttf) format("truetype"); } @font-face { font-family: FZXiaoBiaoSong-B05S; src: url(FZXiaoBiaoSong-B05S.TTF) format("truetype"); } .barcode { font-family: "Bar-Code 39"; font-size: 26px; } .right { text-align: right; } .left { text-align: left; } .bottom { vertical-align: bottom; } .address-block { height: 100px; } table { width: 100%; } hr { background-color: #000000; border: dashed #000000 0.5px; height: 1px; } .page-break { page-break-after: always; } .next-page { page-break-before: always }
template.html 主体部分模板
- <!DOCTYPE html>
- <html xmlns:th="http://www.thymeleaf.org">
-
- <head>
- <meta charset="UTF-8">
- <link rel="stylesheet" type="text/css" media="all" href="style.css"/>
- </head>
-
- <body>
- <div class='header' th:include="header::header"></div>
- <!-- 页脚一定要放在正文上面不然第一页页脚加载不上-->
- <div class='footer' th:include="footer::footer"></div>
- <p >良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <p>良渚实验室教授委员会主要职责包括:审定良渚实验室人才引进、人才待遇体系、绩效评估等;审定良渚实验室学术相关的事项;审定良渚实验室师德师风相关的事项等。</p>
- <!-- <div th:utext="${data.name}"></div>-->
-
- </body>
-
- </html>
注意:这里的内容暂时写死用于测试效果如果想直接从后端捞数据则请参考thymeleaf语法
请参考:thymeleaf基本语法
- package com.zjhc.lzlab.utils;
-
- import com.zjhc.lzlab.constants.CommonConstants;
- import org.springframework.stereotype.Component;
- import org.thymeleaf.TemplateEngine;
- import org.thymeleaf.templateresolver.ClassLoaderTemplateResolver;
- import org.w3c.tidy.Tidy;
- import org.xhtmlrenderer.pdf.ITextRenderer;
- import org.thymeleaf.context.Context;
-
- import javax.servlet.http.HttpServletResponse;
- import java.io.*;
- import java.nio.file.FileSystems;
- import java.nio.file.Files;
- import java.nio.file.Path;
- import java.util.HashMap;
- import java.util.Map;
-
- import static com.itextpdf.text.pdf.BaseFont.EMBEDDED;
- import static com.itextpdf.text.pdf.BaseFont.IDENTITY_H;
- import static org.thymeleaf.templatemode.TemplateMode.HTML;
-
- /**
- * @ClassName: Template2PdfUtils
- * @Description: html模板转为pdf
- * @Author: TXW
- * @Date: 2024-01-12
- */
- @Component
- public class Template2PdfUtils {
-
-
- /**
- * @Param tempName:模板名称,contentData 模板数据
- * */
- public File generatePdf(String fondPath,String tempName, Map<String, String> contentData) throws Exception {
- ClassLoaderTemplateResolver templateResolver = new ClassLoaderTemplateResolver();
- templateResolver.setPrefix("/templates/");
- templateResolver.setSuffix(".html");
- templateResolver.setTemplateMode(HTML);
- templateResolver.setCharacterEncoding(CommonConstants.UTF_8);
-
- TemplateEngine templateEngine = new TemplateEngine();
- templateEngine.setTemplateResolver(templateResolver);
-
- // Map<String, String> data = new HashMap<>();
- // data.put("name", "<ul> <li class=\"ql-indent-1\"><strong><u>三生三世 三生三世</u></strong><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAqUAAADHCAYAAAAgeypKAAAgAElEQVR4nO3dCZAU5f3G8ZdDYQFBEfBAwEh2vRJPymiMmqgEZRLjkSBGIpqopZDSJTEYi3iEqEmMCUsQKtEY77MSFP8ZiG4JibckXnjvekBERUUQlCAR2P887fbaLNMzPTPd/XbPfD9VUyzbszM9uzPdT7/H7+3SlmMAAAAAi7ra3gEAAACAUAoAAADrCKUAAACwjlAKAAAA6wilAAAAsI5QCgAAAOsIpQAAALCOUAoAAADrCKUAAACwjlAKAAAA6wilAAAAsI5QCgAAAOsIpQAAALCOUAoAAADrCKUAAACwjlAKAAAA6wilAAAAsI5QCgAAAOsIpQAAALCOUAoAAADrCKUAAACwjlAKAAAA6wilAAAAsI5QCgAAAOsIpQAAALCOUAoAAADrCKUAAACwjlAKAAAA6wilAAAAsI5QCgAAAOsIpQAAALCOUAoAAADrCKUAAACwjlAKAAAA6wilAAAAsI5QCgAAAOsIpQAAALCOUAoAAADrutveAcDP+oMOsr0LABBI90cftb0LQOrRUgoAAADrCKUAAACwjlAKAAAA6wilAAAAsI5QCgAAAOsIpQAAALCOklBIJcqvAIgbZeqAaNFSCgAAAOsIpQAAALCOUAoAAADrCKUAAACwjlAKAAAA6wilAAAAsI5QCgAAAOsIpQAAIJEefvhhM27cOOemr1HdKJ4PAAAS58wzzzTXXHNNx/9vueUWc9JJJ5lbb73V4l4hSrSUAgCARHnooYc2CaSu2267zQwdOpRW0ypFKAUAAIly2WWX+W574403zFe+8hVz/PHHx7hHiAOhFAAAJIqCZzF33XWXOeigg8wHH3wQwx4hDoRSAACQKH379g10v8cee8wMHjzY3HHHHRHvEeJAKAUAAInSs2fPwPf973//a8aOHetMjEK6MfseQFVSl969995r7rzzTrN27Vqz6667mq233rpj28svv+yc+M444wxz9NFHW95bAJXSxCh9zn/84x/b3hWUiVAKoCrMmzfPXHXVVWbp0qVm5cqVm41J0/Z8NC6td+/eZsyYMearX/2qOeaYYzrCK4B0Oe+888zAgQPNKaecYntXUAZCKYDUUtC89NJLzaJFi8xHH31U9uOsWbPGXHfddc5Ntt9+e7Pbbrs5j33wwQeHtbsAYjB+/HizfPly86Mf/cj2rqBEjCkFkCqqT3j44YebrbbayowePdo88sgjFQXSfJYtW2b+8Y9/OGVnDj30UGb3AjF74YUXfLcFmQSlLnxKRqUPoRRAamgig4LiggULQg+ifh588EGz8847m6lTp8byfECt++53v2veeecd3+0aYhMkcGpozhe+8AWzZMmSMHcPEerSlmN7J9JOb3iVpcg3oaIztbi4H5Bhw4YVHLvmnYyh+x577LEd2/Rze++9d7gvJGHWH3SQ77bujz4a454gCX72s58VLKgdh8997nOmqanJOSmi9nBMip5WcjrkkEMK3kcXiro4/d3vfhdoUtM222zjfG4ZZ5p8hNISqevw8ssvN2+//bbp0aOHWbhwodm4caPt3XJOlgqurl122cXZR9H4mgMPPHCT7WnACQCuzmtg21ZfX2+mT5/OrP0awzEpekOGDHEmK/pRo89LL73U8f8bb7zRnHrqqSZIlDnuuOPMn//8ZyYyJhihtAQnnHCCmT17tu3dqIhmF++zzz5OiFVLq25J/YByAoAEaTnxs9NOO5lBgwY5N01c6tevn/N99UI888wz5vXXX6+oa+/kk082N998c9k/j3ThmBStUlpJvYK2mMq2225rZs6caU488cSy9xPRIZQGoG75H/7wh+a9996zvSuRUNeGwqnC6r777uu0qB522GG2d4sTABxHHHGEmT9/fqD79urVy3zxi190Cmmr9STIBZcC6pw5c5yJTfqsqxB3KVRKitVkagPHpGh9+9vfNn/96199tw8YMMD3PFxqb4rqE1999dUl7yOiRSj1oW76yZMnm6effrrkk1S1cIcEqHXV27IaF04A0dH7+4YbbnDKpuiiRHU9xR3i4Y5lVmuC7aEfmmn74Ycf+m5XjVFNZjj99NOdW6UUTM8//3yzePHiwD/z/e9/3/z2t79NbK8DwsExK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6/OPf+6jRvN0yUG9FH9+pm/7b57BHuMKMUZSqMMojvuuKMZMmQIqynBCkIpnK59lQS54YYbTNhvB5UBcq+yS51UQiitHnGORd0nFxLVktmra1ezZN06My93ARbH0IKwLNhjD/OVEltiYV/UofTOO+90Jq+2tLSEXplCLaCqukK5JthGKEUHXX0rnOq2ePHiSJ5D5UF22mknZ3yrxqYWakkllFYPtSDOzp1IL1m61Lwd0iSloL5QV2eG9+xpluee95GPPjJJPuD9YNAg84dddrG9GyhDmKHUXdJTraAPPPCAs6pS2Kdq9WS5ZdIIokgKQiny0qz9yy+/vOKJUcVoTKpbRkRd//raHbdEKE0vtYw+uHq10yr6dO7rUruwozSgWzdn1vu6hB36Lhg82EwdMsT2bqBMlYRSNQgogKr0WtRLerrl0JgpjyQilKIgTYy67LLLTGtrq7MkZVzckKrufzeochBNJu8J1W3ZqWR5woEDBzqTK5577rnIivd79evXz6kLumHDBrOswIz4KJ1xxhnm6quvtvLciJ8+M2oJdUPo66+/Hsnz6Jjp1g0liCINCKUoiQKHyo2o6HccgcHLG1L1r250O0VPf2dv0XyVnHnxxRfNm2++6QzzWL16dSjPoxOmaupq9ReXntc9cesWx3tuxIgRTukbrf2tAvZRXoztsssu5sYbbzQHH3xwZM8B+/S+9YbQKFdR0ufIDaH6F0gTQinK5g0Mmgka1TjUYtQSoIC67777OiHV9vKoSaIWmc5/F33vqaeeMi+//LLz/x122GGTCgzaHlXLjR+dPDWJo9hFhvuec1eZiuM957bai55Pz1vOYVMXU3V1dc7Xap298MILCaNVat68eebKK680b7zxhnn33XfNqlWrIn0+t34oQRRpRyhFaBRmvK1atkKq7LHHHk4AGDRokLMaVZTdVgpKeu2iUBXFc+k5FCJ79uzpPIdOcp2Do40wWSlNeps5c6azlG05bLzndPLXEAN19auO42677dbxN9ffReOwe/To4axb39DQ4Fww0W1a/dQaqlZv3ZYvXx758w0YMMCcfPLJzqx56oeiWhBKERkdpN2wcN9995n/JmiyC+xT9YXbb7891MCmkKrhJe77zj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qUKWby5Mkl/cz9999vRowYEdEepZezvGpLY4Cu/k8L/Lc0+od4WkoBAABQFqfUVUiPRSgFAABAxD5ddaoQJjoBAADAOkIpAAAArCOUAgAAwDrGlAIAAATw73//2/YuVLXuKosAAAAAf0cccYTtXah6/w+3uAGmKxtApwAAAABJRU5ErkJggg==\"></img></li><li class=\"ql-indent-1\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkAAAAHACAYAAABKwtdzAAAgAElEQVR4nO3dsY7bSNqv8VcL34SgwJNIBHZ9EybmRKbC2dAp0dmAyhffzheLPlmDt7ATdjlb6C5mgWoBhk8g6DJ0WGxbttrqbrHN4n/W9fwAYdqSvCAeqRevqVJx8vrdy4O1Prx6ax9//s0wvslkYofDQX0YyaK/Fv216K9Ff50X6gPA3S/Afr9XH0ay6K9Ffy36a9FfYzqd2l/UBwEAADC24wDEx18AACAVnAECAADJOQ5AP/37H8rjAAAAGA1ngAAAQHIYgCL74/e/299/Vx9FurwrrXTqo0gX/bXor0V/raf68zX4CP74/Z/2z9//MPvP7xb+88u/1EeUFu9qq2+82daZa/9TNOojSgv9teivRX+tPv0ZgCL421//ar/88td2APpPOwD9oT6c5GTzhS2XC7PbbfsL4NWHkxz6a9Ffi/5affozAMXwt1/sl7/d/fjL//xdeywpygorsrsfi3WpPZYU0V+L/lr01+rRnzVAAAAgOWyECAAAksMZIAAAkBw2QgQAAMnhDBAAAEgOAxAAAEgOAxAAAEgOAxAAAEgOAxAAAEgOA1BEf/z+u4XroP7nP1wOQ8G7GwvXwdvesh29Av216K9Ff61L+k9ev3t5CD9sfv040mH9+P745yt79T9nhp5f/mWHf/3yzd1/+ctfbLfbjXBkafB1bvn6zJu+aGzXFN/cPZvN6D8g+mvRX4v+Wpf2n06nDEB/BgxAWvwfkBb9teivRX+NMACxESIAAEgOa4AAAEByGIAAAEByXnz9h8lk0t0wvvA5MHTor0V/Lfpr0X98h8PhdAAKd+z3e9XxJItFcFr016K/Fv216K9xsggaAAAg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IOaWxaGzvnC+AKkAv216K9Ffy36a/Xvz0aIMWxvmfKV6K9Ffy36a9Ffq0d/zgANKrM34XNH7237zWOfF2jxr4N46K9Ffy36a9Ffq39/BqCBZW+KNvC5xW53C7SK5TcfTmJA9Neivxb9teiv1bc/A1BP3t10X6Xb3j5wki1cf2SVmV/nVh43HvDd9twuW51ZnIU+6K9Ffy36a9Ffa+j+k9fvXh7CDx9eve2+Cbbf7+Md/X8xX+eWr89ELxrbNd++q8MVa69K9+mzyMyyon1hmuLs6c+wUVPYrwAPo78W/bXor0V/rRj9p9MpA9CfAb8AWvTXor8W/bXorxEGID4CAwAAyQjDT3A8A7T59aPyeJI2mUzscDioDyNZ9Neivxb9teivkf/fn779CCx4bE8gnsNzeA7P4Tk8h+fwnP/25/ARGAAASM7xDBAAAMCPLiz5CR+B/X+ChMBjEov/mgAAAABJRU5ErkJggg==\"></img></li><li class=\"ql-indent-1\">2222222测22222222222222222222222222222222222</li><li class=\"ql-indent-1\">22222222222222222222222222222222222222222222222222222222222222</li></ul>");
- //
- Context context = new Context();
- context.setVariable("data", contentData);
- // File tempFile = new File("test.pdf"); //本地生成查看结果用(项目中结构中会生成)
- File tempFile = File.createTempFile("redFile", ".pdf");
- String renderedHtmlContent = templateEngine.process(tempName, context);
- String xHtml = convertToXhtml(renderedHtmlContent);
-
- String baseUrl = FileSystems.getDefault().getPath("src", "main", "resources")
- .toUri().toURL().toString();
-
- ITextRenderer renderer = new ITextRenderer();
- // String path = "D:\\data\\font\\Code39.ttf";
- // String path1 = "D:\\data\\font\\ARIALUNI.TTF";
- // String path2 = "D:\\data\\font\\MSYH.ttc";
- // String path3 = "D:\\data\\font\\MSYHBD.ttc";
- // String path4 = "D:\\data\\font\\MSYHL.ttc";
- // String path5 = "D:\\data\\font\\SIMHEI.TTF";
- // String path6 = "D:\\data\\font\\simsun.ttc";
- // String path7 = "D:\\data\\font\\FangSong_GB2312.ttf";
- // String path8 = "D:\\data\\font\\FZXiaoBiaoSong-B05S.TTF";
-
- String path = fondPath + "/Code39.ttf";
- String path1 = fondPath+"/ARIALUNI.TTF";
- String path2 = fondPath+"/MSYH.ttc";
- String path3 = fondPath+"/MSYHBD.ttc";
- String path4 = fondPath+"/MSYHL.ttc";
- String path5 = fondPath+"/SIMHEI.TTF";
- String path6 = fondPath+"/simsun.ttc";
- String path7 = fondPath+"/FangSong_GB2312.ttf";
- String path8 = fondPath+"/FZXiaoBiaoSong-B05S.TTF";
-
- renderer.getFontResolver().addFont(path, IDENTITY_H, EMBEDDED);
- renderer.getFontResolver().addFont(path1, IDENTITY_H, EMBEDDED);
- renderer.getFontResolver().addFont(path2, IDENTITY_H, EMBEDDED);
- renderer.getFontResolver().addFont(path3, IDENTITY_H, EMBEDDED);
- renderer.getFontResolver().addFont(path4, IDENTITY_H, EMBEDDED);
- renderer.getFontResolver().addFont(path5, IDENTITY_H, EMBEDDED);
- renderer.getFontResolver().addFont(path6, IDENTITY_H, EMBEDDED);
- renderer.getFontResolver().addFont(path7, IDENTITY_H, EMBEDDED);
- renderer.getFontResolver().addFont(path8, IDENTITY_H, EMBEDDED);
- renderer.setDocumentFromString(xHtml, baseUrl);
- renderer.layout();
- OutputStream outputStream = new FileOutputStream(tempFile);
- renderer.createPDF(outputStream);
-
- return tempFile;
-
-
- /**
- *
- * // 1. 读取临时文件内容都到 response
- * try (FileInputStream fis = new FileInputStream(tempFile);
- * ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
- * byte[] buffer = new byte[1024];
- * int len;
- * while ((len = fis.read(buffer)) > 0) {
- * baos.write(buffer, 0, len);
- * }
- * baos.flush(); // ensure all data is written to the byte array
- * // 2. 将字节数组作为响应的主体返回给前端
- * byte[] fileBytes = baos.toByteArray();
- * response.setContentType("application/octet-stream"); // 设置响应内容类型为二进制流
- * response.setContentLength(fileBytes.length); // 设置响应内容长度
- * try (OutputStream os = response.getOutputStream()) {
- * os.write(fileBytes); // write bytes to output stream
- * os.flush(); // flush the stream to ensure all bytes are written out
- * } catch (IOException e) {
- * e.printStackTrace();
- * }
- * outputStream.close();
- * } catch (IOException e) {
- * e.printStackTrace();
- * }
- * */
- }
-
-
- private static String convertToXhtml(String html) throws UnsupportedEncodingException {
- Tidy tidy = new Tidy();
- tidy.setInputEncoding(CommonConstants.UTF_8);
- tidy.setOutputEncoding(CommonConstants.UTF_8);
- tidy.setXHTML(true);
- ByteArrayInputStream inputStream = new ByteArrayInputStream(html.getBytes(CommonConstants.UTF_8));
- ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
- tidy.parseDOM(inputStream, outputStream);
- return outputStream.toString(CommonConstants.UTF_8);
- }
- }
注意:在这里引入服务器 的字体和本地字体位置不一样在上车生产和测试的时候注意切换(我用的是nacos所以配置文件使用的是生产的所以可以在yml文件中注意切换)
tempFile:文件打开生成结果会在项目目录中可点开查看,在模板中使用的所有字体需要再这里引入否则文件中的字体还是无法显示。
如果是给前端传流的话可以将文件写入流中,否则将文件返回出去后使用文件上传的方法将文件上传到文件管理系统再将文件地址返回到前端可以仿照代码:
- /**这是一个impl方法*/
- public AjaxResult getRedFilePdfShow(HttpServletResponse response, CompositeManageRedFileVo redFileVo){
- Map<String,String> fileMsg = new HashMap<>();
- //设置pdf文件内容
- Map<String,String> data = new HashMap<>();
- data.put("title",redFileVo.getFileTitle());
- data.put("fileNo",redFileVo.getFileNo());
- data.put("signDept",redFileVo.getSignDept());
- try {
- data.put("content", URLDecoder.decode(redFileVo.getContent(),"UTF-8"));
- Template2PdfUtils template2PdfUtils = new Template2PdfUtils();
- File file = template2PdfUtils.generatePdf(fontPath, TemplatesFileEnum.RED_FILE.getTempName(), data);
- String filePath = FileUploadUtils.uploadFileByFile(basePath, file);
-
- fileMsg.put("fileName",file.getName());
- fileMsg.put("filePath",ip + filePath);
- } catch (Exception e) {
- e.printStackTrace();
- }
- return AjaxResult.success(fileMsg);
- }
你还可能会用到:File to MultipartFile
- public static String uploadFileByFile (String path,File file) throws IOException {
- DiskFileItem item = new DiskFileItem("file"
- , MediaType.MULTIPART_FORM_DATA_VALUE
- , true
- , file.getName()
- , (int)file.length()
- , file.getParentFile());
- try {
- OutputStream os = item.getOutputStream();
- os.write(FileUtils.readFileToByteArray(file));
- } catch (IOException e) {
- e.printStackTrace();
- }
- MultipartFile commonsMultipartFile = new CommonsMultipartFile(item);
- return upload(path, commonsMultipartFile);
- }
下列都是实例方法可以直接将方法复制到上面的Utils方法里面进行使用
1、添加文字水印方法
- /**
- * 添加文字水印
- * @param pdfPath 需要添加水印的pdf文件 例如:XXXX.pdf
- * @param outFilePath 最终生成含有水印的文件地址 例如:XXXX_waterMark.pdf
- * @param fontPath 文字的字体设置 例如:XXX/XXX/XXX.TTF
- * @param text 水印内容
- * */
- public void addTextWatermark(String pdfPath,String outFilePath, String fontPath,String text) throws IOException, DocumentException {
- // 打开现有的PDF
- PdfReader pdfReader = new PdfReader(pdfPath);
- // 创建一个新的PDF文件名用于输出带水印的PDF,初始化PdfStamper用于添加水印
- PdfStamper pdfStamper = new PdfStamper(pdfReader, new FileOutputStream(outFilePath));
- //获取pdf的总页数
- int n = pdfReader.getNumberOfPages();
- // 设置水印字体
- //BaseFont baseFont = BaseFont.createFont(BaseFont.HELVETICA, BaseFont.WINANSI, BaseFont.EMBEDDED);
- BaseFont baseFont = BaseFont.createFont(fontPath, BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
-
- // 在PDF中添加水印
- for (int i = 1; i <= n; i++) {
- PdfContentByte overContent = pdfStamper.getOverContent(i); // 获取每一页的内容
- // 设置水印透明度
- PdfGState gs = new PdfGState();
- gs.setFillOpacity(0.6f); // 设置透明度
- overContent.setGState(gs);
- // 计算水印位置和间隔
- float xInterval = 150;
- float yInterval = 100;
- float xStart = 40;
- float yStart = 50;
- float x, y;
- int rotation = 45; // 水印旋转角度
- // 在PDF中添加重复水印
- for (x = xStart; x < PageSize.A4.getWidth(); x += xInterval) {
- for (y = yStart; y < PageSize.A4.getHeight(); y += yInterval) {
- overContent.beginText();
- overContent.setFontAndSize(baseFont, 50);
- overContent.setColorFill(BaseColor.PINK);
- overContent.showTextAligned(Element.ALIGN_CENTER, text, x, y, rotation);
- overContent.endText();
- }
- }
- }
- // 关闭PdfStamper
- pdfStamper.close();
- pdfReader.close();
- }
效果展示:
2、添加图片水印的方法
- /**
- * 添加图片水印
- * @param pdfPath 需要添加水印的pdf文件 例如:XXXX.pdf
- * @param outFilePath 最终生成含有水印的文件地址 例如:XXXX_waterMark.pdf
- * @param imagePath 图片路径 XXX.png
- * */
- public void addImageWatermark(String pdfPath,String outFilePath, String imagePath) throws IOException, DocumentException {
- // 打开现有的PDF
- PdfReader pdfReader = new PdfReader(pdfPath);
- // 初始化PdfStamper用于添加水印
- PdfStamper pdfStamper = new PdfStamper(pdfReader, new FileOutputStream(outFilePath));
-
- int n = pdfReader.getNumberOfPages(); // 获取PDF的总页数
-
- // 加载水印图片
- Image image = Image.getInstance(imagePath); // 替换为您的图片路径
- image.setAbsolutePosition(200, 400); // 设置图片的位置
- image.scaleToFit(250, 250); // 设置图片的大小
- image.setRotationDegrees(-45); // 设置图片的旋转角度
-
- // 循环每一页,添加水印
- for (int i = 1; i <= n; i++) {
- PdfContentByte content = pdfStamper.getOverContent(i); // 获取每一页的内容
-
- // 设置水印透明度
- PdfGState gs = new PdfGState();
- gs.setFillOpacity(0.2f); // 设置透明度
- content.setGState(gs);
-
- // 计算水印位置和间隔
- float xInterval = 200; // 水印的水平间隔
- float yInterval = 100; // 水印的垂直间隔
- float x, y;
-
- // 在PDF中添加重复水印
- for (x = 0; x < PageSize.A4.getWidth(); x += xInterval) {
- for (y = 0; y < PageSize.A4.getHeight(); y += yInterval) {
- Image watermarkImage = Image.getInstance(image);
- watermarkImage.setAbsolutePosition(x, y);
- content.addImage(watermarkImage);
- }
- }
- }
-
- // 关闭PdfStamper
- pdfStamper.close();
- pdfReader.close();
- }
效果展示:
以上水印的方法中可能会存在文字或者透明度以及相关参数需要进行调整因此按照客户需求修改相关的值即可
模板代码:
- <!DOCTYPE html>
- <html xmlns:th="http://www.thymeleaf.org">
-
- <head>
- <meta charset="UTF-8">
- </head>
- <style>
- @page {
- @bottom-center {
- content: counter(page);
- font-family: SimSun;
- vertical-align: middle;
- font-size: 21px;
- padding-bottom: 10px;
- };
-
- /* @bottom-right {
- content: "第 " counter(page) " 页 共 " counter(pages) " 页 ";
- font-family: SimSun;
- font-size: 21px;
- color: red;
- //自定义页脚
- @bottom-left {
- content: element(footer);
- font-family: SimSun;
- vertical-align: middle;
- font-size: 21px;
- color: red;
- padding-bottom: 10px;
- };
- }*/
- margin-top: 2cm;
- margin-left: 2cm;
- margin-right: 2cm;
- margin-bottom: 3.3cm;
-
- size: A4 portrait;
- }
-
- @font-face {
- font-family: FangSong_GB2312;
- src: url(FangSong_GB2312.ttf) format("truetype");
- }
- @font-face {
- font-family: FZXiaoBiaoSong-B05S;
- src: url(FZXiaoBiaoSong-B05S.TTF) format("truetype");
- }
-
- #pagenumber:before {
- content: counter(page);
- }
-
- #pagecount:before {
- content: counter(pages);
- }
-
- .title {
- text-align: center;
- color: red;
- font-family: FZXiaoBiaoSong-B05S,serif;
- font-size: 41px;
- }
-
- .fileNo {
- font-family: FangSong_GB2312,serif;
- font-size: 21px;
- text-align: center;
- }
-
- span {
- font-family: 'Times New Roman', serif;
- }
-
- img {
- display: block;
- margin-left: auto;
- margin-right: auto;
- }
-
- div.footer {
- position: running(footer);
- }
- .footer {
- position: running(footer);
- }
-
- .bottom {
- vertical-align: bottom;
- }
-
- /*判断是否结束*/
- .page-break {
- page-break-after: always;
- }
-
- /*下一页*/
- .next-page {
- page-break-before: always
- }
-
- </style>
- <body>
-
- <!--标题-->
- <h1 class="title" style="font-family: FZXiaoBiaoSong-B05S, serif" th:text="${data.title}"></h1>
- <br/>
- <!--文号-->
- <p class="fileNo" style="font-family: FangSong_GB2312, serif" th:text="${data.fileNo}"></p>
- <hr style="background-color: red;border-style: none;height: 2px;"/>
- <!--页脚一定要放在正文的前面,先加载页脚在加载正文不然页脚无法显示(TMD大坑)-->
- <div class='footer' th:include="footer::footer"></div>
- <!--正文-->
- <div style="font-family: FangSong_GB2312, serif" th:utext="${data.content}"></div>
-
- <div style="position: relative;bottom: 0;" >
- <hr>
- <table style="width: 100%;">
- <tr>
- <td style="text-align: left;font-family: 'NSimSun', serif;" th:text="${data.signDept}"></td>
- <td style="text-align: right;font-family: 'NSimSun', serif;" th:text="${#dates.format(#dates.createNow(), 'yyyy年MM月dd日')} + '印发'"></td>
- </tr>
- </table>
- <hr>
- </div>
- <!-- <div th:utext="${data.name}"></div>-->
-
- </body>
-
- </html>
生成效果:
希望能对看到这篇文章的你有帮助!
------------------------------------------------------------------------------
后续问题请看评论区,本人有回复部分问题的解决方案!
后续问题二:
在加载css文件的时,测试和生产可能不互通,因此css文件可能无法加载成功导致接口超时!
解决方案:
<link rel="stylesheet" type="text/css" th:href="@{http://localhost/data/files/edit_css1.css}"/>
解决测试和生产环境的css文件加载切换的问题!
前提条件在测试和生产端必须有该文件,否则还是会加载失败
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。