提交 8c2e787f authored 作者: 133's avatar 133

[模版修改] 代码提交

上级 a41f7181
...@@ -144,7 +144,7 @@ public class JavaToPdfHtmlFreeMarker { ...@@ -144,7 +144,7 @@ public class JavaToPdfHtmlFreeMarker {
/** /**
* freemarker渲染html * freemarker渲染html
*/ */
public static String[] freeMarkerRender1(Documents documents,String htmlPath) { public static String[] freeMarkerRender(Documents documents,String htmlPath) {
Writer out = new StringWriter(); Writer out = new StringWriter();
String [] strings=new String[100000]; String [] strings=new String[100000];
int index=0; int index=0;
...@@ -183,7 +183,7 @@ public class JavaToPdfHtmlFreeMarker { ...@@ -183,7 +183,7 @@ public class JavaToPdfHtmlFreeMarker {
} }
public static String[] freeMarkerRender(Documents documents,String htmlPath) { public static String[] freeMarkerRender1(Documents documents,String htmlPath) {
Writer out = new StringWriter(); Writer out = new StringWriter();
String [] strings=new String[100000]; String [] strings=new String[100000];
int index=0; int index=0;
...@@ -358,7 +358,7 @@ public class JavaToPdfHtmlFreeMarker { ...@@ -358,7 +358,7 @@ public class JavaToPdfHtmlFreeMarker {
template.setEncoding("UTF-8"); template.setEncoding("UTF-8");
List<DocumentDevice> list=documents.getDocumentDevices(); List<DocumentDevice> list=documents.getDocumentDevices();
List<List<DocumentDevice>> listList=toDocList(list); List<List<DocumentDevice>> listList=toList(list);
int count=listList.size(); int count=listList.size();
for (int i=1; i<=3; i++){ for (int i=1; i<=3; i++){
Integer page=1; Integer page=1;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论