1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-06-07 02:40:51 +00:00

Add eps format to proxy

This commit is contained in:
Jesse Tan 2017-06-28 12:59:27 +02:00
parent 77244844e4
commit 68b819844d
2 changed files with 12 additions and 0 deletions

View File

@ -110,6 +110,12 @@ public class OldProxyServlet extends HttpServlet {
if (format.equals("svg")) {
return FileFormat.SVG;
}
if (format.equals("eps")) {
return FileFormat.EPS;
}
if (format.equals("epstext")) {
return FileFormat.EPS_TEXT;
}
if (format.equals("txt")) {
return FileFormat.ATXT;
}

View File

@ -122,6 +122,12 @@ public class ProxyServlet extends HttpServlet {
if (format.equals("svg")) {
return FileFormat.SVG;
}
if (format.equals("eps")) {
return FileFormat.EPS;
}
if (format.equals("epstext")) {
return FileFormat.EPS_TEXT;
}
if (format.equals("txt")) {
return FileFormat.UTXT;
}