Adding PDF support #130

This commit is contained in:
Joel Pearson
2023-02-17 15:01:47 +11:00
committed by PlantUML
parent 8cb5ca0daf
commit 4a5e204e16
5 changed files with 67 additions and 0 deletions

View File

@@ -262,6 +262,7 @@ public class PlantUmlServlet extends HttpServlet {
request.setAttribute("hasImg", hasImg);
request.setAttribute("imgurl", hostpath + "/png/" + index + encoded);
request.setAttribute("svgurl", hostpath + "/svg/" + index + encoded);
request.setAttribute("pdfurl", hostpath + "/pdf/" + index + encoded);
request.setAttribute("txturl", hostpath + "/txt/" + index + encoded);
request.setAttribute("mapurl", hostpath + "/map/" + index + encoded);
// map for diagram source if necessary