{"id":105543,"date":"2026-09-15T15:56:26","date_gmt":"2026-09-15T07:56:26","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/105543.html"},"modified":"2026-09-15T15:56:26","modified_gmt":"2026-09-15T07:56:26","slug":"%e8%a7%a3%e5%86%b3-java-pdf-%e7%94%9f%e6%88%90%e7%b9%81%e7%90%90%e9%97%ae%e9%a2%98%ef%bc%9ajquick-pdf-%e5%bf%ab%e9%80%9f%e5%ae%89%e8%a3%85%e4%b8%8e%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae%ef%bc%88maven","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/105543.html","title":{"rendered":"\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898\uff1ajquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e\uff08Maven\uff09"},"content":{"rendered":"<h2>\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898&#xff1a;jquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e&#xff08;Maven&#xff09;<\/h2>\n<h3>\u5f15\u5165<\/h3>\n<p>\u5f88\u591a PDF \u9879\u76ee\u4e0d\u662f\u8d25\u5728\u4e1a\u52a1\u903b\u8f91&#xff0c;\u800c\u662f\u8d25\u5728\u4f9d\u8d56\u4e0e\u8fd0\u884c\u73af\u5883&#xff1a;\u7f16\u8bd1\u671f\u80fd\u627e\u5230\u7c7b&#xff0c;\u90e8\u7f72\u540e\u5374\u7f3a\u5b57\u4f53&#xff1b;\u672c\u5730 JDK \u4e0e CI \u7684 JDK \u4e0d\u4e00\u81f4&#xff1b;\u591a\u4e2a\u6a21\u5757\u4f20\u9012\u51fa\u4e0d\u540c\u7248\u672c&#xff0c;\u6700\u7ec8\u8868\u73b0\u4e3a\u65b9\u6cd5\u7f3a\u5931\u6216\u6e32\u67d3\u5dee\u5f02\u3002\u5b89\u88c5 jquick-pdf \u7684\u6b63\u786e\u987a\u5e8f\u4e0d\u662f\u590d\u5236\u4e00\u5806\u4f9d\u8d56&#xff0c;\u800c\u662f\u5148\u9501\u5b9a\u7248\u672c\u57fa\u7ebf&#xff0c;\u518d\u7528\u4e00\u4e2a\u6700\u5c0f\u7a0b\u5e8f\u9a8c\u8bc1\u89e3\u6790\u3001\u5e03\u5c40\u4e0e\u8f93\u51fa\u662f\u5426\u8fde\u901a\u3002\u672c\u6587\u53ea\u56f4\u7ed5 Maven \u63a5\u5165\u4e0e\u73af\u5883\u6392\u67e5\u5c55\u5f00&#xff0c;\u4e0d\u91cd\u590d\u57fa\u7840\u8bed\u6cd5\u6559\u7a0b\u7684\u5185\u5bb9\u3002<\/p>\n<h3>\u6838\u5fc3\u8bb2\u89e3<\/h3>\n<h4>\u6784\u4ef6\u4e0e\u57fa\u7ebf<\/h4>\n<p>\u76ee\u6807\u6784\u4ef6\u662f io.github.paohaijiao:jquick-pdfx&#xff0c;\u5165\u53e3\u7c7b\u4e3a com.github.paohaijiao.executor.JQuickPdfFactory&#xff0c;\u5b83\u8d1f\u8d23\u6a21\u677f\u89e3\u6790\u4e0e PDF \u751f\u6210&#xff0c;\u6267\u884c\u65b9\u6cd5\u8fd4\u56de byte[]\u3002\u6a21\u677f\u5e38\u7528 &lt;pdf&gt;&lt;body&gt; \u7ed3\u6784&#xff0c;\u56fa\u5b9a\u6587\u5b57\u4f7f\u7528\u5355\u5f15\u53f7&#xff0c;\u53d8\u91cf\u4f7f\u7528 ${name}\u3002\u57fa\u7ebf\u4e0e\u73af\u5883\u8981\u6c42\u4ee5\u4ed3\u5e93 README \u4e3a\u51c6&#xff08;\u5f53\u524d\u4e3a 4.0.0\u3001JDK 8&#043;&#xff09;\u3002jquick-pdf-svg&#xff08;30&#043; \u79cd\u56fe\u8868&#xff0c;\u77e2\u91cf SVG \u6e32\u67d3&#xff09;\u3001jquick-pdf-data&#xff08;\u56fe\u8868\u914d\u7f6e\u6a21\u578b&#xff09;\u3001jquick-pdf-font&#xff08;\u5185\u7f6e CJK \u5b57\u4f53&#xff09;\u3001jquick-pdf-css&#xff08;\u6837\u5f0f\u6a21\u578b&#xff09;\u90fd\u662f\u53ef\u9009\u6a21\u5757&#xff0c;\u5728\u8fd8\u6ca1\u6709\u56fe\u8868\u9700\u6c42\u65f6\u4e0d\u5fc5\u5168\u90e8\u5f15\u5165\u3002<\/p>\n<h4>\u4f9d\u8d56\u5728\u94fe\u8def\u4e2d\u7684\u4f4d\u7f6e<\/h4>\n<p>Maven \u8d1f\u8d23\u89e3\u6790\u6784\u4ef6\u4e0e\u4f20\u9012\u4f9d\u8d56&#xff08;PDFBox 3.0.x\u3001ANTLR4 runtime\u3001SLF4J&#xff09;&#xff0c;\u5e94\u7528\u4ee3\u7801\u53ea\u8c03\u7528\u5de5\u5382\u3002\u4e00\u6b21\u6267\u884c\u4e2d&#xff1a;\u6a21\u677f\u5b57\u7b26\u4e32\u6216\u8d44\u6e90\u88ab\u8bfb\u5165\u5e76\u4ea4\u7ed9\u89e3\u6790\u5668&#xff0c;\u5143\u7d20\u88ab\u8f6c\u6362\u4e3a\u5185\u90e8\u6a21\u578b&#xff0c;\u5e03\u5c40\u5f15\u64ce\u8ba1\u7b97\u5c3a\u5bf8\u3001\u5206\u9875\u4e0e\u6587\u672c\u4f4d\u7f6e&#xff0c;\u5e95\u5c42\u6e32\u67d3\u5668\u628a\u5185\u5bb9\u5199\u5165\u5185\u5b58\u8f93\u51fa\u6d41&#xff0c;\u6700\u540e\u4ee5 byte[] \u8fd4\u56de\u3002\u4f9d\u8d56\u7248\u672c\u9519\u4f4d\u4f1a\u6253\u65ad\u8fd9\u6761\u94fe\u8def\u7684\u524d\u534a\u6bb5&#xff0c;\u5b57\u4f53\u4e0e JDK \u5dee\u5f02\u5219\u5f71\u54cd\u540e\u534a\u6bb5\u3002<\/p>\n<h4>\u4e09\u5c42\u6392\u67e5\u6a21\u578b<\/h4>\n<table>\n<tr>\u5c42\u6b21\u89c2\u5bdf\u5bf9\u8c61\u5178\u578b\u5931\u8d25\u8868\u73b0<\/tr>\n<tbody>\n<tr>\n<td>\u4f9d\u8d56\u5c42<\/td>\n<td>\u7c7b\u662f\u5426\u5b58\u5728\u3001\u7248\u672c\u662f\u5426\u552f\u4e00<\/td>\n<td>ClassNotFoundException\u3001NoSuchMethodError\u3001\u4f9d\u8d56\u6811\u51fa\u73b0\u53cc\u7248\u672c<\/td>\n<\/tr>\n<tr>\n<td>JVM \u5c42<\/td>\n<td>JDK \u7248\u672c\u3001\u5b57\u4f53\u3001\u65f6\u533a<\/td>\n<td>\u4e2d\u6587\u53d8\u65b9\u6846\u3001\u65e5\u671f\u504f\u79fb\u3001\u672c\u5730\u6b63\u5e38\u800c\u5bb9\u5668\u5931\u8d25<\/td>\n<\/tr>\n<tr>\n<td>\u6a21\u677f\u5c42<\/td>\n<td>\u5143\u7d20\u4e0e\u6837\u5f0f\u8bed\u6cd5<\/td>\n<td>\u89e3\u6790\u5931\u8d25\u3001\u6587\u672c\u4e0d\u663e\u793a\u3001\u6837\u5f0f\u672a\u751f\u6548<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5206\u5c42\u9a8c\u8bc1\u6bd4\u76f4\u63a5\u8fd0\u884c\u5b8c\u6574\u4e1a\u52a1\u62a5\u8868\u9ad8\u6548&#xff1a;\u5148\u786e\u8ba4\u7c7b\u80fd\u52a0\u8f7d&#xff0c;\u518d\u786e\u8ba4\u9759\u6001\u6a21\u677f\u80fd\u6e32\u67d3&#xff0c;\u6700\u540e\u63a5\u5165\u771f\u5b9e\u4e1a\u52a1\u6570\u636e\u3002\u6bcf\u4e00\u5c42\u7684\u5177\u4f53\u52a8\u4f5c\u662f&#xff1a;\u4f9d\u8d56\u5c42\u7528 mvn dependency:tree -Dincludes&#061;io.github.paohaijiao:jquick-pdfx \u786e\u8ba4\u53ea\u89e3\u6790\u51fa\u4e00\u4e2a\u7248\u672c&#xff0c;\u5e76\u7559\u610f\u662f\u5426\u5b58\u5728\u65e7\u4f20\u9012\u4f9d\u8d56\u6b8b\u7559&#xff1b;JVM \u5c42\u6838\u5bf9 java -version \u4e0e IDE \u7684 Project SDK \u662f\u5426\u4e00\u81f4&#xff0c;\u5e76\u5728\u5bb9\u5668\u5185\u68c0\u67e5 CJK \u5b57\u4f53\u6e05\u5355\u3001\u786e\u8ba4\u65f6\u533a\u4e0e\u4e1a\u52a1\u65e5\u671f\u53e3\u5f84\u76f8\u540c&#xff1b;\u6a21\u677f\u5c42\u5148\u7528\u4ed3\u5e93 sample \u4e2d\u7684\u9759\u6001\u6a21\u677f\u9a8c\u8bc1&#xff0c;\u518d\u66ff\u6362\u4e3a\u81ea\u5df1\u7684\u6a21\u677f&#xff0c;\u8bed\u6cd5\u95ee\u9898\u901a\u5e38\u5728\u8fd9\u4e00\u6b65\u96c6\u4e2d\u66b4\u9732\u3002<\/p>\n<h3>\u5173\u952e\u7ec6\u8282<\/h3>\n<h4>\u7248\u672c\u7edf\u4e00<\/h4>\n<p>\u591a\u6a21\u5757\u9879\u76ee\u5e94\u628a\u7248\u672c\u653e\u8fdb\u7236 POM \u7684\u5c5e\u6027\u6216 BOM&#xff0c;\u4e1a\u52a1\u5b50\u6a21\u5757\u53ea\u5f15\u7528\u7edf\u4e00\u7248\u672c\u3002\u5404\u6a21\u5757\u81ea\u884c\u5199 version \u662f\u6700\u5e38\u89c1\u7684\u6f02\u79fb\u6765\u6e90&#xff1a;\u56fe\u8868\u6a21\u5757\u4e0e\u6587\u6863\u6838\u5fc3\u7248\u672c\u4e0d\u4e00\u81f4\u65f6&#xff0c;\u8fd0\u884c\u65f6\u53ef\u80fd\u62a5\u65b9\u6cd5\u7f3a\u5931&#xff0c;\u800c\u7f16\u8bd1\u671f\u672a\u5fc5\u66b4\u9732\u3002<\/p>\n<h4>\u6a21\u677f\u8d44\u6e90\u76ee\u5f55\u89c4\u8303<\/h4>\n<p>\u73af\u5883\u7a33\u5b9a\u540e&#xff0c;\u628a\u6a21\u677f\u4ece Java \u5b57\u7b26\u4e32\u8fc1\u79fb\u5230 src\/main\/resources&#xff0c;\u7528 executeResource(&#034;templates\/order\/v1.txt&#034;) \u6267\u884c\u3002\u8d44\u6e90\u6309\u4e1a\u52a1\u540d\u79f0\u4e0e\u7248\u672c\u5206\u76ee\u5f55&#xff0c;\u4f8b\u5982 templates\/order\/v1.txt&#xff0c;\u5e76\u8ba9\u6a21\u677f\u968f\u670d\u52a1\u4ee3\u7801\u4e00\u8d77\u8fdb\u5165\u5236\u54c1&#xff1a;\u65e2\u80fd\u56de\u6eda&#xff0c;\u4e5f\u80fd\u5728\u51fa\u95ee\u9898\u65f6\u786e\u8ba4\u5230\u5e95\u4f7f\u7528\u4e86\u54ea\u4e00\u4efd\u7248\u5f0f&#xff0c;\u800c\u4e0d\u662f\u5728\u670d\u52a1\u5668\u4e0a\u4e34\u65f6\u4fee\u6539\u6587\u4ef6\u3002\u6a21\u677f\u8fdb\u5165\u7248\u672c\u5e93\u540e\u53ef\u4ee5\u50cf\u4ee3\u7801\u4e00\u6837\u8bc4\u5ba1\u6587\u6848\u53d8\u5316&#xff1b;\u670d\u52a1\u5c42\u8d1f\u8d23\u67e5\u8be2\u3001\u91d1\u989d\u683c\u5f0f\u5316\u4e0e\u7a7a\u503c\u7b56\u7565&#xff0c;\u518d\u901a\u8fc7 bindAll \u4f20\u5165\u3002<\/p>\n<h4>\u5bb9\u5668\u4e0e CI<\/h4>\n<p>\u5bb9\u5668\u955c\u50cf\u5fc5\u987b\u663e\u5f0f\u9a8c\u8bc1\u4e2d\u6587\u5b57\u4f53\u4e0e\u7cfb\u7edf\u65f6\u533a&#xff1a;\u672c\u673a\u6b63\u5e38\u7684\u4e2d\u6587\u4e0e\u65e5\u671f&#xff0c;\u5728\u7cbe\u7b80\u955c\u50cf\u91cc\u53ef\u80fd\u53d8\u6210\u65b9\u6846\u6216\u504f\u79fb\u3002CI \u53ef\u4ee5\u6267\u884c\u6838\u5fc3\u6a21\u5757\u6d4b\u8bd5&#xff0c;\u955c\u50cf\u6784\u5efa\u5b8c\u6210\u540e\u518d\u6b21\u8fd0\u884c\u4e2d\u6587\u4e0e\u5206\u9875\u6837\u4f8b&#xff0c;\u628a\u201c\u7f16\u8bd1\u901a\u8fc7\u201d\u548c\u201c\u6e32\u67d3\u6b63\u786e\u201d\u5206\u5f00\u9a8c\u8bc1\u3002<\/p>\n<h4>\u5e38\u89c1\u4f9d\u8d56\u51b2\u7a81\u4e0e\u5347\u7ea7\u56de\u5f52<\/h4>\n<p>\u6700\u5e38\u89c1\u7684\u4f9d\u8d56\u95ee\u9898\u662f\u7236\u9879\u76ee\u9501\u5b9a\u65e7\u7248\u672c&#xff0c;\u5bfc\u81f4\u5f53\u524d\u4ee3\u7801\u4e0e\u8fd0\u884c\u65f6\u4e0d\u4e00\u81f4&#xff1b;\u5176\u6b21\u662f Maven \u4f7f\u7528\u7684 JDK \u4e0e IDE \u4e0d\u540c\u3002\u591a\u4e2a SLF4J \u7ed1\u5b9a\u540c\u65f6\u8fdb\u5165\u7c7b\u8def\u5f84\u4e5f\u4f1a\u4ea7\u751f\u542f\u52a8\u544a\u8b66&#xff0c;\u9700\u8981\u5728\u4f9d\u8d56\u4e2d\u663e\u5f0f\u6392\u9664\u591a\u4f59\u5b9e\u73b0\u3002\u5347\u7ea7\u4f9d\u8d56\u524d\u8981\u9501\u5b9a\u6d4b\u8bd5\u6570\u636e&#xff0c;\u56de\u5f52\u4e2d\u6587\u3001\u8868\u683c\u3001\u5206\u9875\u548c\u56fe\u7247\u56db\u7c7b\u6837\u4f8b&#xff1b;\u53ea\u8dd1\u4e00\u6b21\u6210\u529f\u751f\u6210\u4e0d\u8db3\u4ee5\u8bf4\u660e\u5347\u7ea7\u5b89\u5168\u3002<\/p>\n<h3>\u5b9e\u6218\u8bf4\u660e<\/h3>\n<h4>\u4f9d\u8d56\u58f0\u660e\u4e0e\u68c0\u67e5\u547d\u4ee4<\/h4>\n<p>\u5148\u786e\u8ba4 JDK \u4e0e Maven \u7248\u672c&#xff0c;\u518d\u5728 pom.xml \u4e2d\u52a0\u5165\u6838\u5fc3\u4f9d\u8d56&#xff1a;<\/p>\n<p><span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>dependency<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>groupId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>io.github.paohaijiao<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>groupId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>artifactId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>jquick-pdfx<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>artifactId<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n    <span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;<\/span>version<\/span><span class=\"token punctuation\">&gt;<\/span><\/span>4.0.0<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>version<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><br \/>\n<span class=\"token tag\"><span class=\"token tag\"><span class=\"token punctuation\">&lt;\/<\/span>dependency<\/span><span class=\"token punctuation\">&gt;<\/span><\/span><\/p>\n<p>\u63a8\u8350\u4f9d\u6b21\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff0c;\u786e\u8ba4\u5de5\u5177\u94fe\u4e0e\u4f9d\u8d56\u90fd\u7b26\u5408\u9884\u671f&#xff1a;<\/p>\n<p><span class=\"token function\">java<\/span> <span class=\"token parameter variable\">-version<\/span><br \/>\nmvn <span class=\"token parameter variable\">-version<\/span><br \/>\nmvn dependency:tree <span class=\"token parameter variable\">-Dincludes<\/span><span class=\"token operator\">&#061;<\/span>io.github.paohaijiao:jquick-pdfx<\/p>\n<p>IDE \u4e2d\u5237\u65b0 Maven \u540e&#xff0c;\u786e\u8ba4\u7f16\u8bd1\u4f7f\u7528\u7684 JDK \u4e0e\u547d\u4ee4\u884c\u663e\u793a\u4e00\u81f4&#xff1b;Docker \u90e8\u7f72\u8fd8\u8981\u9a8c\u8bc1\u5b57\u4f53\u548c\u65f6\u533a\u7b49\u8fd0\u884c\u6761\u4ef6\u3002<\/p>\n<h4>MavenVerify \u9a8c\u8bc1\u7a0b\u5e8f<\/h4>\n<p><span class=\"token keyword\">import<\/span> <span class=\"token import\"><span class=\"token namespace\">com<span class=\"token punctuation\">.<\/span>github<span class=\"token punctuation\">.<\/span>paohaijiao<span class=\"token punctuation\">.<\/span>executor<span class=\"token punctuation\">.<\/span><\/span><span class=\"token class-name\">JQuickPdfFactory<\/span><\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">import<\/span> <span class=\"token import\"><span class=\"token namespace\">java<span class=\"token punctuation\">.<\/span>nio<span class=\"token punctuation\">.<\/span>file<span class=\"token punctuation\">.<\/span><\/span><span class=\"token class-name\">Files<\/span><\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">import<\/span> <span class=\"token import\"><span class=\"token namespace\">java<span class=\"token punctuation\">.<\/span>nio<span class=\"token punctuation\">.<\/span>file<span class=\"token punctuation\">.<\/span><\/span><span class=\"token class-name\">Paths<\/span><\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token keyword\">public<\/span> <span class=\"token keyword\">class<\/span> <span class=\"token class-name\">MavenVerify<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">public<\/span> <span class=\"token keyword\">static<\/span> <span class=\"token keyword\">void<\/span> <span class=\"token function\">main<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">String<\/span><span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span> args<span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">throws<\/span> <span class=\"token class-name\">Exception<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n        <span class=\"token class-name\">String<\/span> template <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;&lt;pdf&gt;&lt;body&gt;&#034;<\/span><br \/>\n                <span class=\"token operator\">&#043;<\/span> <span class=\"token string\">&#034;&lt;h1 style&#061;\\\\&#034;fontSize:22;textAlignment:center\\\\&#034;&gt;&#039;Maven \u73af\u5883\u9a8c\u8bc1&#039;&lt;\/h1&gt;&#034;<\/span><br \/>\n                <span class=\"token operator\">&#043;<\/span> <span class=\"token string\">&#034;&lt;p&gt;&#039;\u5f53\u524d\u7528\u6237&#xff1a;&#039;${user}&lt;\/p&gt;&#034;<\/span><br \/>\n                <span class=\"token operator\">&#043;<\/span> <span class=\"token string\">&#034;&lt;p&gt;&#039;\u73af\u5883\u72b6\u6001&#xff1a;&#039;${status}&lt;\/p&gt;&#034;<\/span><br \/>\n                <span class=\"token operator\">&#043;<\/span> <span class=\"token string\">&#034;&lt;\/body&gt;&lt;\/pdf&gt;&#034;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>        <span class=\"token comment\">\/\/ \u7ed1\u5b9a\u53d8\u91cf\u5e76\u6267\u884c\u5185\u5b58\u4e2d\u7684\u6a21\u677f<\/span><br \/>\n        <span class=\"token keyword\">byte<\/span><span class=\"token punctuation\">[<\/span><span class=\"token punctuation\">]<\/span> pdf <span class=\"token operator\">&#061;<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">JQuickPdfFactory<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n                <span class=\"token punctuation\">.<\/span><span class=\"token function\">bind<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;user&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;demo&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n                <span class=\"token punctuation\">.<\/span><span class=\"token function\">bind<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;status&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;\u4f9d\u8d56\u3001\u89e3\u6790\u548c\u8f93\u51fa\u6b63\u5e38&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n                <span class=\"token punctuation\">.<\/span><span class=\"token function\">executeContent<\/span><span class=\"token punctuation\">(<\/span>template<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token class-name\">Files<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">write<\/span><span class=\"token punctuation\">(<\/span><span class=\"token class-name\">Paths<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">get<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;maven-check.pdf&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> pdf<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u7a0b\u5e8f\u6210\u529f\u751f\u6210 maven-check.pdf&#xff0c;\u8bf4\u660e\u6838\u5fc3\u7c7b\u53ef\u52a0\u8f7d\u3001\u6a21\u677f\u53ef\u89e3\u6790\u3001\u4e2d\u6587\u53ef\u8fdb\u5165\u8f93\u51fa\u94fe\u8def\u3002\u6b64\u65f6\u73af\u5883\u57fa\u7ebf\u6210\u7acb&#xff0c;\u4e4b\u540e\u518d\u63a5\u5165\u8d44\u6e90\u6a21\u677f\u4e0e\u4e1a\u52a1\u6570\u636e\u3002<\/p>\n<h4>API \u4e0e\u6a21\u677f\u901f\u89c8<\/h4>\n<p>new JQuickPdfFactory() \u521b\u5efa\u9ed8\u8ba4\u5de5\u5382&#xff0c;JQuickPdfFactory.create() \u662f\u7b49\u4ef7\u7684\u9759\u6001\u5165\u53e3&#xff1b;bind \u7ed1\u5b9a\u5355\u53d8\u91cf&#xff0c;bindAll \u6279\u91cf\u7ed1\u5b9a&#xff1b;executeContent \u6267\u884c\u5b57\u7b26\u4e32&#xff0c;executeResource \u8bfb\u53d6 classpath \u6587\u4ef6&#xff0c;executeFile \u8bfb\u53d6\u78c1\u76d8\u6587\u4ef6&#xff1b;\u7ed3\u679c\u90fd\u662f byte[]&#xff0c;\u9002\u5408\u6d4b\u8bd5\u65ad\u8a00\u3001\u5bf9\u8c61\u5b58\u50a8\u6216 HTTP \u4e0b\u8f7d\u3002\u9875\u9762\u5c3a\u5bf8\u4e0e\u9875\u8fb9\u8ddd\u901a\u8fc7 JPdfConfig \u914d\u7f6e&#xff0c;\u4e5f\u53ef\u4ee5\u94fe\u5f0f\u8c03\u7528 pageSize(&#8230;)\u3001margins(&#8230;)\u3002\u6837\u5f0f\u5199\u5728 style \u4e2d\u5e76\u4ee5\u5206\u53f7\u5206\u9694&#xff0c;\u5e38\u7528 width\u3001height\u3001fontSize\u3001fontColor\u3001bold\u3001italic\u3001textAlignment\u3001backgroundColor\u3001border\u3001borderRadius\u3001opacity&#xff1b;\u5c3a\u5bf8\u652f\u6301 px\u3001pt\u3001mm\u3001cm\u3001in&#xff0c;\u8fb9\u6846\u5199\u6cd5\u4e3a border:solid 1px #333\u3002\u9a7c\u5cf0\u4e0e\u8fde\u5b57\u7b26\u5c5e\u6027\u540d\u4e92\u4e3a\u522b\u540d&#xff0c;\u4f46\u503c\u683c\u5f0f\u4ecd\u8981\u9075\u5faa\u4ed3\u5e93\u793a\u4f8b&#xff0c;\u4e0d\u8981\u5e26\u5165 CSS \u9009\u62e9\u5668\u548c\u4f2a\u7c7b\u3002<\/p>\n<h4>\u5de5\u7a0b\u4e0e\u8d44\u6e90\u8fb9\u754c<\/h4>\n<p>\u4e0d\u8981\u5728\u5e76\u53d1\u8bf7\u6c42\u95f4\u5171\u4eab\u5e26\u53d8\u91cf\u7684\u5de5\u5382&#xff0c;\u907f\u514d\u4e0a\u4e0b\u6587\u6c61\u67d3&#xff1b;\u4e5f\u4e0d\u8981\u65e0\u4e0a\u9650\u5730\u63a5\u53d7\u5927\u6a21\u677f\u4e0e\u5927\u56fe\u7247\u3002\u5bfc\u51fa\u63a5\u53e3\u53ef\u8bbe\u7f6e\u8d85\u65f6\u3001\u884c\u6570\u4e0e\u5b57\u8282\u5927\u5c0f\u9650\u5236&#xff0c;\u8d85\u5927\u6587\u4ef6\u6539\u7528\u5f02\u6b65\u4efb\u52a1\u52a0\u5bf9\u8c61\u5b58\u50a8\u3002\u5f00\u542f Maven \u6784\u5efa\u7f13\u5b58\u5e76\u7edf\u4e00\u7248\u672c\u53ef\u51cf\u5c11\u91cd\u590d\u89e3\u6790&#xff0c;\u670d\u52a1\u542f\u52a8\u9636\u6bb5\u53ef\u5b8c\u6210\u5fc5\u8981\u7684\u8d44\u6e90\u68c0\u67e5\u3002\u56fa\u5b9a\u6a21\u677f\u7f13\u5b58\u5176\u6587\u672c\u5373\u53ef&#xff0c;\u6700\u7ec8 PDF \u662f\u5426\u7f13\u5b58\u53d6\u51b3\u4e8e\u4e1a\u52a1\u6570\u636e\u662f\u5426\u7a33\u5b9a\u3002\u6587\u4ef6\u7cfb\u7edf\u6a21\u677f\u8981\u6821\u9a8c\u8def\u5f84&#xff0c;\u4e0d\u80fd\u8ba9\u8bf7\u6c42\u53c2\u6570\u76f4\u63a5\u51b3\u5b9a\u6587\u4ef6\u4f4d\u7f6e&#xff1b;\u751f\u6210\u5f02\u5e38\u7684\u5806\u6808\u4e0d\u5e94\u8fd4\u56de\u7ed9\u5ba2\u6237\u7aef&#xff0c;\u5e94\u8bb0\u5f55\u8bf7\u6c42\u7f16\u53f7\u4e0e\u6a21\u677f\u7248\u672c\u3002<\/p>\n<h4>\u65b0\u9879\u76ee\u4e0e\u8001\u9879\u76ee\u5b9e\u8df5<\/h4>\n<p>\u65b0\u9879\u76ee\u521d\u59cb\u5316\u65f6&#xff0c;\u7528\u672c\u6587 Demo \u4f5c\u4e3a smoke test&#xff1b;\u8001\u9879\u76ee\u8fc1\u79fb\u65f6&#xff0c;\u5148\u8ba9\u65e7\u63a5\u53e3\u4e0e\u65b0\u6a21\u677f\u5e76\u884c\u8f93\u51fa&#xff0c;\u518d\u6bd4\u8f83\u6587\u672c\u3001\u9875\u6570\u4e0e\u5173\u952e\u622a\u56fe&#xff0c;\u786e\u8ba4\u5dee\u5f02\u540e\u518d\u5207\u6362\u3002\u8fd9\u6837 Maven \u914d\u7f6e\u3001\u5e94\u7528\u4ee3\u7801\u4e0e\u6a21\u677f\u8bed\u6cd5\u5404\u6709\u8d23\u4efb\u8fb9\u754c&#xff0c;\u6545\u969c\u5b9a\u4f4d\u4e0d\u4f1a\u6df7\u5728\u4e00\u8d77\u3002<\/p>\n<h3>\u603b\u7ed3<\/h3>\n<ul>\n<li>\u5b89\u88c5\u9636\u6bb5\u53ea\u505a\u4e00\u4ef6\u4e8b&#xff1a;\u7528\u6700\u5c0f\u6a21\u677f\u8bc1\u660e\u4f9d\u8d56\u3001JDK\u3001\u5b57\u4f53\u4e0e\u8f93\u51fa\u5168\u90e8\u6b63\u5e38\u3002<\/li>\n<li>\u6392\u67e5\u6309\u4f9d\u8d56\u5c42\u3001JVM \u5c42\u3001\u6a21\u677f\u5c42\u63a8\u8fdb&#xff0c;\u5148\u5b9a\u4f4d\u5c42\u6b21&#xff0c;\u518d\u52a8\u4ee3\u7801\u3002<\/li>\n<li>\u7248\u672c\u96c6\u4e2d\u5728\u7236 POM \u6216 BOM&#xff1b;\u6a21\u677f\u653e src\/main\/resources \u5e76\u6309\u4e1a\u52a1\u4e0e\u7248\u672c\u5206\u76ee\u5f55\u3002<\/li>\n<li>\u5bb9\u5668\u955c\u50cf\u8981\u9a8c\u8bc1\u4e2d\u6587\u5b57\u4f53\u4e0e\u65f6\u533a&#xff1b;\u5347\u7ea7\u4f9d\u8d56\u524d\u9501\u5b9a\u6d4b\u8bd5\u6570\u636e\u5e76\u56de\u5f52\u56db\u7c7b\u6837\u4f8b\u3002<\/li>\n<li>\u5e38\u89c1\u8bef\u533a\u662f\u628a compile \u901a\u8fc7\u5f53\u4f5c\u6e32\u67d3\u6b63\u786e&#xff0c;\u6216\u628a\u672c\u673a\u73af\u5883\u5f53\u4f5c\u5bb9\u5668\u73af\u5883\u3002<\/li>\n<\/ul>\n<p>\u7248\u672c\u57fa\u7ebf&#xff1a;jquick-pdfx 4.0.0\u3001JDK 8&#043;&#xff0c;\u5347\u7ea7\u524d\u8bf7\u6838\u5bf9 README_zh.md \u7684\u7248\u672c\u5bf9\u7167\u8868&#xff1b;\u66f4\u591a\u793a\u4f8b\u89c1 GitHub \u4ed3\u5e93\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898&#xff1a;jquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e&#xff08;Maven&#xff09;<br \/>\n\u5f15\u5165<br \/>\n\u5f88\u591a PDF \u9879\u76ee\u4e0d\u662f\u8d25\u5728\u4e1a\u52a1\u903b\u8f91&#xff0c;\u800c\u662f\u8d25\u5728\u4f9d\u8d56\u4e0e\u8fd0\u884c\u73af\u5883&#xff1a;\u7f16\u8bd1\u671f\u80fd\u627e\u5230\u7c7b&#xff0c;\u90e8\u7f72\u540e\u5374\u7f3a\u5b57\u4f53&#xff1b;\u672c\u5730 JDK \u4e0e CI \u7684 JDK \u4e0d\u4e00\u81f4&#xff1b;\u591a\u4e2a\u6a21\u5757\u4f20\u9012\u51fa\u4e0d\u540c\u7248\u672c&#xff0c;\u6700\u7ec8\u8868\u73b0\u4e3a\u65b9\u6cd5\u7f3a\u5931\u6216\u6e32\u67d3\u5dee\u5f02\u3002\u5b89\u88c5 jquick-pdf \u7684\u6b63\u786e\u987a\u5e8f\u4e0d\u662f\u590d\u5236\u4e00\u5806\u4f9d\u8d56&amp;#x<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11815,99,190],"topic":[],"class_list":["post-105543","post","type-post","status-publish","format-standard","hentry","category-server","tag-11815","tag-java","tag-190"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898\uff1ajquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e\uff08Maven\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/105543.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898\uff1ajquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e\uff08Maven\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898&#xff1a;jquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e&#xff08;Maven&#xff09; \u5f15\u5165 \u5f88\u591a PDF \u9879\u76ee\u4e0d\u662f\u8d25\u5728\u4e1a\u52a1\u903b\u8f91&#xff0c;\u800c\u662f\u8d25\u5728\u4f9d\u8d56\u4e0e\u8fd0\u884c\u73af\u5883&#xff1a;\u7f16\u8bd1\u671f\u80fd\u627e\u5230\u7c7b&#xff0c;\u90e8\u7f72\u540e\u5374\u7f3a\u5b57\u4f53&#xff1b;\u672c\u5730 JDK \u4e0e CI \u7684 JDK \u4e0d\u4e00\u81f4&#xff1b;\u591a\u4e2a\u6a21\u5757\u4f20\u9012\u51fa\u4e0d\u540c\u7248\u672c&#xff0c;\u6700\u7ec8\u8868\u73b0\u4e3a\u65b9\u6cd5\u7f3a\u5931\u6216\u6e32\u67d3\u5dee\u5f02\u3002\u5b89\u88c5 jquick-pdf \u7684\u6b63\u786e\u987a\u5e8f\u4e0d\u662f\u590d\u5236\u4e00\u5806\u4f9d\u8d56&amp;#x\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/105543.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-15T07:56:26+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/105543.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/105543.html\",\"name\":\"\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898\uff1ajquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e\uff08Maven\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-15T07:56:26+00:00\",\"dateModified\":\"2026-09-15T07:56:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/105543.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/105543.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/105543.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898\uff1ajquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e\uff08Maven\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898\uff1ajquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e\uff08Maven\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/105543.html","og_locale":"zh_CN","og_type":"article","og_title":"\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898\uff1ajquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e\uff08Maven\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898&#xff1a;jquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e&#xff08;Maven&#xff09; \u5f15\u5165 \u5f88\u591a PDF \u9879\u76ee\u4e0d\u662f\u8d25\u5728\u4e1a\u52a1\u903b\u8f91&#xff0c;\u800c\u662f\u8d25\u5728\u4f9d\u8d56\u4e0e\u8fd0\u884c\u73af\u5883&#xff1a;\u7f16\u8bd1\u671f\u80fd\u627e\u5230\u7c7b&#xff0c;\u90e8\u7f72\u540e\u5374\u7f3a\u5b57\u4f53&#xff1b;\u672c\u5730 JDK \u4e0e CI \u7684 JDK \u4e0d\u4e00\u81f4&#xff1b;\u591a\u4e2a\u6a21\u5757\u4f20\u9012\u51fa\u4e0d\u540c\u7248\u672c&#xff0c;\u6700\u7ec8\u8868\u73b0\u4e3a\u65b9\u6cd5\u7f3a\u5931\u6216\u6e32\u67d3\u5dee\u5f02\u3002\u5b89\u88c5 jquick-pdf \u7684\u6b63\u786e\u987a\u5e8f\u4e0d\u662f\u590d\u5236\u4e00\u5806\u4f9d\u8d56&amp;#x","og_url":"https:\/\/www.wsisp.com\/helps\/105543.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-15T07:56:26+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/105543.html","url":"https:\/\/www.wsisp.com\/helps\/105543.html","name":"\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898\uff1ajquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e\uff08Maven\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-15T07:56:26+00:00","dateModified":"2026-09-15T07:56:26+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/105543.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/105543.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/105543.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u89e3\u51b3 Java PDF \u751f\u6210\u7e41\u7410\u95ee\u9898\uff1ajquick-pdf \u5feb\u901f\u5b89\u88c5\u4e0e\u73af\u5883\u914d\u7f6e\uff08Maven\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/105543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=105543"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/105543\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=105543"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=105543"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=105543"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=105543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}